Version: 9.12.0
SMESHGUI_Utils.h File Reference
#include "SMESH_SMESHGUI.hxx"
#include <omniORB4/CORBA.h>
#include <SALOMEDSClient_definitions.hxx>
#include <SALOME_GenericObj_wrap.hxx>
#include <SALOME_InteractiveObject.hxx>
#include <LightApp_DataOwner.h>
#include <gp_XYZ.hxx>
#include <SALOMEconfig.h>
#include <CORBA_CLIENT_HEADER(SMESH_Mesh)>
Include dependency graph for SMESHGUI_Utils.h:

Go to the source code of this file.

Data Structures

class  SMESH::toStrT< _STRING >
 Class useful to convert a string returned from a CORBA call to other string types w/o memory leak. More...
 
struct  SMESH::toQStr
 
struct  SMESH::toStdStr
 
struct  SMESH::toUtf8
 

Namespaces

 SMESH
 

Typedefs

typedef SALOME::GenericObj_wrap< SMESH_IDSource > SMESH::IDSource_wrap
 

Functions

SUIT_Desktop * SMESH::GetDesktop (const CAM_Module *theModule)
 
LightApp_SelectionMgr * SMESH::GetSelectionMgr (const SalomeApp_Module *theModule)
 
SalomeApp_Study * SMESH::GetAppStudy (const CAM_Module *)
 
SUIT_ResourceMgr * SMESH::GetResourceMgr (const SalomeApp_Module *)
 
CORBA::Object_var SMESH::DataOwnerToObject (const LightApp_DataOwnerPtr &theOwner)
 
template<class TInterface >
TInterface::_var_type SMESH::DataOwnerToInterface (const LightApp_DataOwnerPtr &theDataOwner)
 
SUIT_Study * SMESH::GetActiveStudy ()
 
SUIT_ViewWindow * SMESH::GetActiveWindow ()
 
 SMESH::_PTR (Study) getStudy()
 
void SMESH::SetName (_PTR(SObject) theSObject, const QString &theName)
 
void SMESH::SetValue (_PTR(SObject) theSObject, const QString &theValue)
 
void SMESH::setFileType (_PTR(SObject) theSObject, const QString &theValue)
 
void SMESH::setFileName (_PTR(SObject) theSObject, const QString &theValue)
 
CORBA::Object_var SMESH::SObjectToObject (_PTR(SObject) theSObject)
 
template<class TInterface >
TInterface::_var_type SMESH::SObjectToInterface (_PTR(SObject) theSObject)
 
CORBA::Object_var SMESH::IObjectToObject (const Handle(SALOME_InteractiveObject)&theIO)
 
template<class TInterface >
TInterface::_var_type SMESH::IObjectToInterface (const Handle(SALOME_InteractiveObject)&theIO)
 
CORBA::Object_var SMESH::IORToObject (const QString &theIOR)
 
template<class TInterface >
TInterface::_var_type SMESH::IORToInterface (const QString &theIOR)
 
CORBA::Object_var SMESH::EntryToObject (const QString &theEntry)
 
template<class TInterface >
TInterface::_var_type SMESH::EntryToInterface (const QString &theEntry)
 
int SMESH::GetNameOfSelectedIObjects (LightApp_SelectionMgr *theMgr, QString &theName)
 
QString SMESH::GetName (const Handle(SALOME_InteractiveObject)&theIO)
 
 SMESH::_PTR (SObject) getSubShapeSO(int subShapeID
 Return SO of a sub-shape. More...
 
void SMESH::ShowHelpFile (const QString &theHelpFileName)
 
gp_XYZ SMESH::getNormale (const SMDS_MeshFace *theFace)
 Return normale to a given face. More...
 
QString SMESH::fromUtf8 (const char *txt)
 
QString SMESH::fromUtf8 (const std::string &txt)