SMESH_Gen_i Class Reference

#include <SMESH_Gen_i.hxx>

Inheritance diagram for SMESH_Gen_i:

Inheritance graph

Public Member Functions

GEOM::GEOM_Object_ptr ShapeToGeomObject (const TopoDS_Shape &theShape)
TopoDS_Shape GeomObjectToShape (GEOM::GEOM_Object_ptr theGeomObject)
 SMESH_Gen_i ()
 SMESH_Gen_i (CORBA::ORB_ptr orb, PortableServer::POA_ptr poa, PortableServer::ObjectId *contId, const char *instanceName, const char *interfaceName)
virtual ~SMESH_Gen_i ()
void SetEmbeddedMode (CORBA::Boolean theMode)
CORBA::Boolean IsEmbeddedMode ()
void SetCurrentStudy (SALOMEDS::Study_ptr theStudy)
SALOMEDS::Study_ptr GetCurrentStudy ()
SMESH::SMESH_Hypothesis_ptr CreateHypothesis (const char *theHypType, const char *theLibName) throw ( SALOME::SALOME_Exception )
SMESH::SMESH_Hypothesis_ptr GetHypothesisParameterValues (const char *theHypType, const char *theLibName, SMESH::SMESH_Mesh_ptr theMesh, GEOM::GEOM_Object_ptr theGeom) throw ( SALOME::SALOME_Exception )
 Return hypothesis of given type holding parameter values of the existing mesh.
SMESH::SMESH_Mesh_ptr CreateMesh (GEOM::GEOM_Object_ptr theShapeObject) throw ( SALOME::SALOME_Exception )
SMESH::SMESH_Mesh_ptr CreateEmptyMesh () throw ( SALOME::SALOME_Exception )
SMESH::SMESH_Mesh_ptr CreateMeshesFromUNV (const char *theFileName) throw ( SALOME::SALOME_Exception )
SMESH::mesh_arrayCreateMeshesFromMED (const char *theFileName, SMESH::DriverMED_ReadStatus &theStatus) throw ( SALOME::SALOME_Exception )
SMESH::SMESH_Mesh_ptr CreateMeshesFromSTL (const char *theFileName) throw ( SALOME::SALOME_Exception )
CORBA::Boolean Compute (SMESH::SMESH_Mesh_ptr theMesh, GEOM::GEOM_Object_ptr theShapeObject) throw ( SALOME::SALOME_Exception )
CORBA::Boolean IsReadyToCompute (SMESH::SMESH_Mesh_ptr theMesh, GEOM::GEOM_Object_ptr theShapeObject) throw ( SALOME::SALOME_Exception )
SMESH::algo_error_arrayGetAlgoState (SMESH::SMESH_Mesh_ptr theMesh, GEOM::GEOM_Object_ptr theSubObject) throw ( SALOME::SALOME_Exception )
 Returns errors of hypotheses definintion.
SMESH::long_arrayGetSubShapesId (GEOM::GEOM_Object_ptr theMainShapeObject, const SMESH::object_array &theListOfSubShape) throw ( SALOME::SALOME_Exception )
GEOM::GEOM_Object_ptr GetGeometryByMeshElement (SMESH::SMESH_Mesh_ptr theMesh, CORBA::Long theElementID, const char *theGeomName) throw ( SALOME::SALOME_Exception )
 Return geometrical object the given element is built on.
SALOMEDS::TMPFile * Save (SALOMEDS::SComponent_ptr theComponent, const char *theURL, bool isMultiFile)
bool Load (SALOMEDS::SComponent_ptr theComponent, const SALOMEDS::TMPFile &theStream, const char *theURL, bool isMultiFile)
SALOMEDS::TMPFile * SaveASCII (SALOMEDS::SComponent_ptr theComponent, const char *theURL, bool isMultiFile)
bool LoadASCII (SALOMEDS::SComponent_ptr theComponent, const SALOMEDS::TMPFile &theStream, const char *theURL, bool isMultiFile)
SMESH::FilterManager_ptr CreateFilterManager ()
SMESH::SMESH_Pattern_ptr GetPattern ()
void Close (SALOMEDS::SComponent_ptr theComponent)
char * ComponentDataType ()
char * IORToLocalPersistentID (SALOMEDS::SObject_ptr theSObject, const char *IORString, CORBA::Boolean isMultiFile, CORBA::Boolean isASCII)
char * LocalPersistentIDToIOR (SALOMEDS::SObject_ptr theSObject, const char *aLocalPersistentID, CORBA::Boolean isMultiFile, CORBA::Boolean isASCII)
bool CanPublishInStudy (CORBA::Object_ptr theIOR)
SALOMEDS::SObject_ptr PublishInStudy (SALOMEDS::Study_ptr theStudy, SALOMEDS::SObject_ptr theSObject, CORBA::Object_ptr theObject, const char *theName) throw ( SALOME::SALOME_Exception )
CORBA::Boolean CanCopy (SALOMEDS::SObject_ptr theObject)
SALOMEDS::TMPFile * CopyFrom (SALOMEDS::SObject_ptr theObject, CORBA::Long &theObjectID)
CORBA::Boolean CanPaste (const char *theComponentName, CORBA::Long theObjectID)
SALOMEDS::SObject_ptr PasteInto (const SALOMEDS::TMPFile &theStream, CORBA::Long theObjectID, SALOMEDS::SObject_ptr theObject)
virtual Engines::TMPFile * DumpPython (CORBA::Object_ptr theStudy, CORBA::Boolean isPublished, CORBA::Boolean &isValidScript)
void AddToPythonScript (int theStudyID, const TCollection_AsciiString &theString)
void RemoveLastFromPythonScript (int theStudyID)
void SavePython (SALOMEDS::Study_ptr theStudy)
TCollection_AsciiString DumpPython_impl (int theStudyID, Resource_DataMapOfAsciiStringAsciiString &theObjectNames, Resource_DataMapOfAsciiStringAsciiString &theNames, bool isPublished, bool &aValidScript, const TCollection_AsciiString &theSavedTrace)
TCollection_AsciiString GetNewPythonLines (int theStudyID)
void CleanPythonTrace (int theStudyID)
GEOM_Client * GetShapeReader ()
SALOMEDS::SComponent_ptr PublishComponent (SALOMEDS::Study_ptr theStudy)
SALOMEDS::SObject_ptr PublishMesh (SALOMEDS::Study_ptr theStudy, SMESH::SMESH_Mesh_ptr theMesh, const char *theName=0)
SALOMEDS::SObject_ptr PublishHypothesis (SALOMEDS::Study_ptr theStudy, SMESH::SMESH_Hypothesis_ptr theHyp, const char *theName=0)
SALOMEDS::SObject_ptr PublishSubMesh (SALOMEDS::Study_ptr theStudy, SMESH::SMESH_Mesh_ptr theMesh, SMESH::SMESH_subMesh_ptr theSubMesh, GEOM::GEOM_Object_ptr theShapeObject, const char *theName=0)
SALOMEDS::SObject_ptr PublishGroup (SALOMEDS::Study_ptr theStudy, SMESH::SMESH_Mesh_ptr theMesh, SMESH::SMESH_GroupBase_ptr theGroup, GEOM::GEOM_Object_ptr theShapeObject, const char *theName=0)
bool AddHypothesisToShape (SALOMEDS::Study_ptr theStudy, SMESH::SMESH_Mesh_ptr theMesh, GEOM::GEOM_Object_ptr theShapeObject, SMESH::SMESH_Hypothesis_ptr theHyp)
bool RemoveHypothesisFromShape (SALOMEDS::Study_ptr theStudy, SMESH::SMESH_Mesh_ptr theMesh, GEOM::GEOM_Object_ptr theShapeObject, SMESH::SMESH_Hypothesis_ptr theHyp)
SALOMEDS::SObject_ptr GetMeshOrSubmeshByShape (SALOMEDS::Study_ptr theStudy, SMESH::SMESH_Mesh_ptr theMesh, GEOM::GEOM_Object_ptr theShape)
StudyContextGetCurrentStudyContext ()
int RegisterObject (CORBA::Object_ptr theObject)
int GetCurrentStudyID ()

Static Public Member Functions

static SMESH_Gen_iGetSMESHGen ()
static CORBA::ORB_var GetORB ()
static PortableServer::POA_var GetPOA ()
static SALOME_NamingService * GetNS ()
static SALOME_LifeCycleCORBA * GetLCC ()
static GEOM::GEOM_Gen_ptr GetGeomEngine ()
static PortableServer::ServantBase_var GetServant (CORBA::Object_ptr theObject)
static CORBA::Object_var SObjectToObject (SALOMEDS::SObject_ptr theSObject)
static SALOMEDS::SObject_ptr ObjectToSObject (SALOMEDS::Study_ptr theStudy, CORBA::Object_ptr theObject)
static long GetHypothesisRootTag ()
static long GetAlgorithmsRootTag ()
static long GetRefOnShapeTag ()
static long GetRefOnAppliedHypothesisTag ()
static long GetRefOnAppliedAlgorithmsTag ()
static long GetSubMeshOnVertexTag ()
static long GetSubMeshOnEdgeTag ()
static long GetSubMeshOnFaceTag ()
static long GetSubMeshOnSolidTag ()
static long GetSubMeshOnCompoundTag ()
static long GetSubMeshOnWireTag ()
static long GetSubMeshOnShellTag ()
static long GetNodeGroupsTag ()
static long GetEdgeGroupsTag ()
static long GetFaceGroupsTag ()
static long GetVolumeGroupsTag ()
static void SetName (SALOMEDS::SObject_ptr theSObject, const char *theName, const char *theDefaultName=0)

Private Member Functions

SMESH::SMESH_Hypothesis_ptr createHypothesis (const char *theHypName, const char *theLibName) throw ( SALOME::SALOME_Exception )
SMESH::SMESH_Mesh_ptr createMesh () throw ( SALOME::SALOME_Exception )

Static Private Member Functions

static void loadGeomData (SALOMEDS::SComponent_ptr theCompRoot)

Private Attributes

::SMESH_Gen myGen
map< string, GenericHypothesisCreator_i * > myHypCreatorMap
map< int, StudyContext * > myStudyContextMap
GEOM_Client * myShapeReader
SALOMEDS::Study_var myCurrentStudy
CORBA::Boolean myIsEmbeddedMode
std::map< int, Handle(TColStd_HSequenceOfAsciiString) > myPythonScripts

Static Private Attributes

static CORBA::ORB_var myOrb
static PortableServer::POA_var myPoa
static SALOME_NamingService * myNS = NULL
static SALOME_LifeCycleCORBA * myLCC = NULL
static SMESH_Gen_imySMESHGen = NULL

Constructor & Destructor Documentation

SMESH_Gen_i::SMESH_Gen_i  ) 
 

SMESH_Gen_i.SMESH_Gen_i

Default constructor: not for use

SMESH_Gen_i::SMESH_Gen_i CORBA::ORB_ptr  orb,
PortableServer::POA_ptr  poa,
PortableServer::ObjectId *  contId,
const char *  instanceName,
const char *  interfaceName
 

SMESH_Gen_i.SMESH_Gen_i

Standard constructor, used with Container

SMESH_Gen_i::~SMESH_Gen_i  )  [virtual]
 

SMESH_Gen_i.~SMESH_Gen_i

Destructor


Member Function Documentation

static SMESH_Gen_i* SMESH_Gen_i.GetSMESHGen  )  [static]
 

static CORBA::ORB_var SMESH_Gen_i.GetORB  )  [static]
 

static PortableServer::POA_var SMESH_Gen_i.GetPOA  )  [static]
 

SALOME_NamingService * SMESH_Gen_i::GetNS  )  [static]
 

GetNS [ static ]

Get SALOME_NamingService object

SALOME_LifeCycleCORBA * SMESH_Gen_i::GetLCC  )  [static]
 

GetLCC [ static ]

Get SALOME_LifeCycleCORBA object

GEOM::GEOM_Gen_ptr SMESH_Gen_i::GetGeomEngine  )  [static]
 

GetGeomEngine [ static ]

Get GEOM.GEOM_Gen reference

PortableServer::ServantBase_var SMESH_Gen_i::GetServant CORBA::Object_ptr  theObject  )  [static]
 

GetServant [ static ]

Get servant of the CORBA object

CORBA::Object_var SMESH_Gen_i::SObjectToObject SALOMEDS::SObject_ptr  theSObject  )  [static]
 

SObjectToObject [ static ]

Get CORBA object corresponding to the SALOMEDS.SObject

SALOMEDS::SObject_ptr SMESH_Gen_i::ObjectToSObject SALOMEDS::Study_ptr  theStudy,
CORBA::Object_ptr  theObject
[static]
 

GEOM::GEOM_Object_ptr SMESH_Gen_i::ShapeToGeomObject const TopoDS_Shape theShape  ) 
 

TopoDS_Shape SMESH_Gen_i::GeomObjectToShape GEOM::GEOM_Object_ptr  theGeomObject  ) 
 

void SMESH_Gen_i::SetEmbeddedMode CORBA::Boolean  theMode  ) 
 

SMESH_Gen_i.SetEmbeddedMode

Set current mode

CORBA::Boolean SMESH_Gen_i::IsEmbeddedMode  ) 
 

SMESH_Gen_i.IsEmbeddedMode

Get current mode

void SMESH_Gen_i::SetCurrentStudy SALOMEDS::Study_ptr  theStudy  ) 
 

SMESH_Gen_i.SetCurrentStudy

Set current study

SALOMEDS::Study_ptr SMESH_Gen_i::GetCurrentStudy  ) 
 

SMESH_Gen_i.GetCurrentStudy

Get current study

SMESH::SMESH_Hypothesis_ptr SMESH_Gen_i::CreateHypothesis const char *  theHypName,
const char *  theLibName
throw ( SALOME::SALOME_Exception )
 

SMESH_Gen_i.CreateHypothesis

Create hypothesis/algorothm of given type and publish it in the study

SMESH::SMESH_Hypothesis_ptr SMESH_Gen_i::GetHypothesisParameterValues const char *  theHypType,
const char *  theLibName,
SMESH::SMESH_Mesh_ptr  theMesh,
GEOM::GEOM_Object_ptr  theGeom
throw ( SALOME::SALOME_Exception )
 

Parameters:
theHypType - hypothesis type name
theLibName - plugin library name
theMesh - The mesh of interest
theGeom - The shape to get parameter values from
Return values:
SMESH.SMESH_Hypothesis_ptr - The returned hypothesis may be the one existing in a study and used to compute the mesh, or a temporary one created just to pass parameter values

SMESH::SMESH_Mesh_ptr SMESH_Gen_i::CreateMesh GEOM::GEOM_Object_ptr  theShapeObject  )  throw ( SALOME::SALOME_Exception )
 

SMESH_Gen_i.CreateMesh

Create empty mesh on a shape and publish it in the study

SMESH::SMESH_Mesh_ptr SMESH_Gen_i::CreateEmptyMesh  )  throw ( SALOME::SALOME_Exception )
 

SMESH_Gen_i.CreateEmptyMesh

Create empty mesh

SMESH::SMESH_Mesh_ptr SMESH_Gen_i::CreateMeshesFromUNV const char *  theFileName  )  throw ( SALOME::SALOME_Exception )
 

SMESH_Gen_i.CreateMeshFromUNV

Create mesh and import data from UNV file

SMESH::mesh_array * SMESH_Gen_i::CreateMeshesFromMED const char *  theFileName,
SMESH::DriverMED_ReadStatus theStatus
throw ( SALOME::SALOME_Exception )
 

SMESH_Gen_i.CreateMeshFromMED

Create mesh and import data from MED file

SMESH::SMESH_Mesh_ptr SMESH_Gen_i::CreateMeshesFromSTL const char *  theFileName  )  throw ( SALOME::SALOME_Exception )
 

SMESH_Gen_i.CreateMeshFromSTL

Create mesh and import data from STL file

CORBA::Boolean SMESH_Gen_i::Compute SMESH::SMESH_Mesh_ptr  theMesh,
GEOM::GEOM_Object_ptr  theShapeObject
throw ( SALOME::SALOME_Exception )
 

SMESH_Gen_i.Compute

Compute mesh on a shape

CORBA::Boolean SMESH_Gen_i::IsReadyToCompute SMESH::SMESH_Mesh_ptr  theMesh,
GEOM::GEOM_Object_ptr  theShapeObject
throw ( SALOME::SALOME_Exception )
 

SMESH_Gen_i.IsReadyToCompute

Returns true if mesh contains enough data to be computed

SMESH::algo_error_array * SMESH_Gen_i::GetAlgoState SMESH::SMESH_Mesh_ptr  theMesh,
GEOM::GEOM_Object_ptr  theSubObject
throw ( SALOME::SALOME_Exception )
 

Parameters:
theMesh - the mesh
theSubObject - the main or sub- shape
Return values:
SMESH.algo_error_array* - sequence of errors

SMESH::long_array * SMESH_Gen_i::GetSubShapesId GEOM::GEOM_Object_ptr  theMainShapeObject,
const SMESH::object_array theListOfSubShapeObject
throw ( SALOME::SALOME_Exception )
 

SMESH_Gen_i.GetSubShapesId

Get sub-shapes unique ID's list

GEOM::GEOM_Object_ptr SMESH_Gen_i::GetGeometryByMeshElement SMESH::SMESH_Mesh_ptr  theMesh,
CORBA::Long  theElementID,
const char *  theGeomName
throw ( SALOME::SALOME_Exception )
 

Parameters:
theMesh - the mesh the element is in
theElementID - the element ID
theGeomName - the name of the result geom object if it is not yet published
Return values:
GEOM.GEOM_Object_ptr - the found or just published geom object

SALOMEDS::TMPFile * SMESH_Gen_i::Save SALOMEDS::SComponent_ptr  theComponent,
const char *  theURL,
bool  isMultiFile
 

SMESH_Gen_i.Save

Save SMESH module's data

bool SMESH_Gen_i::Load SALOMEDS::SComponent_ptr  theComponent,
const SALOMEDS::TMPFile &  theStream,
const char *  theURL,
bool  isMultiFile
 

SMESH_Gen_i.Load

Load SMESH module's data

SALOMEDS::TMPFile * SMESH_Gen_i::SaveASCII SALOMEDS::SComponent_ptr  theComponent,
const char *  theURL,
bool  isMultiFile
 

SMESH_Gen_i.SaveASCII

Save SMESH module's data in ASCII format (not implemented yet)

bool SMESH_Gen_i::LoadASCII SALOMEDS::SComponent_ptr  theComponent,
const SALOMEDS::TMPFile &  theStream,
const char *  theURL,
bool  isMultiFile
 

SMESH_Gen_i.LoadASCII

Load SMESH module's data in ASCII format (not implemented yet)

SMESH::FilterManager_ptr SMESH_Gen_i::CreateFilterManager  ) 
 

SMESH_Gen_i.CreateFilterManager

Create filter manager

SMESH::SMESH_Pattern_ptr SMESH_Gen_i::GetPattern  ) 
 

SMESH_Gen_i.GetPattern

Create pattern mapper

void SMESH_Gen_i::Close SALOMEDS::SComponent_ptr  theComponent  ) 
 

SMESH_Gen_i.Close

Clears study-connected data when it is closed

char * SMESH_Gen_i::ComponentDataType  ) 
 

SMESH_Gen_i.ComponentDataType

Get component data type

char * SMESH_Gen_i::IORToLocalPersistentID SALOMEDS::SObject_ptr  theSObject,
const char *  IORString,
CORBA::Boolean  isMultiFile,
CORBA::Boolean  isASCII
 

SMESH_Gen_i.IORToLocalPersistentID

Transform data from transient form to persistent

char * SMESH_Gen_i::LocalPersistentIDToIOR SALOMEDS::SObject_ptr  theSObject,
const char *  aLocalPersistentID,
CORBA::Boolean  isMultiFile,
CORBA::Boolean  isASCII
 

SMESH_Gen_i.LocalPersistentIDToIOR

Transform data from persistent form to transient

bool SMESH_Gen_i::CanPublishInStudy CORBA::Object_ptr  theIOR  ) 
 

SMESH_Gen_i.CanPublishInStudy

Returns true if object can be published in the study

SALOMEDS::SObject_ptr SMESH_Gen_i::PublishInStudy SALOMEDS::Study_ptr  theStudy,
SALOMEDS::SObject_ptr  theSObject,
CORBA::Object_ptr  theIOR,
const char *  theName
throw ( SALOME::SALOME_Exception )
 

SMESH_Gen_i.PublishInStudy

Publish object in the study

CORBA::Boolean SMESH_Gen_i.CanCopy SALOMEDS::SObject_ptr  theObject  ) 
 

SALOMEDS::TMPFile* SMESH_Gen_i.CopyFrom SALOMEDS::SObject_ptr  theObject,
CORBA::Long &  theObjectID
 

CORBA::Boolean SMESH_Gen_i.CanPaste const char *  theComponentName,
CORBA::Long  theObjectID
 

SALOMEDS::SObject_ptr SMESH_Gen_i.PasteInto const SALOMEDS::TMPFile &  theStream,
CORBA::Long  theObjectID,
SALOMEDS::SObject_ptr  theObject
 

Engines::TMPFile * SMESH_Gen_i::DumpPython CORBA::Object_ptr  theStudy,
CORBA::Boolean  isPublished,
CORBA::Boolean &  isValidScript
[virtual]
 

void SMESH_Gen_i::AddToPythonScript int  theStudyID,
const TCollection_AsciiString &  theString
 

AddToPythonScript

void SMESH_Gen_i::RemoveLastFromPythonScript int  theStudyID  ) 
 

RemoveLastFromPythonScript

void SMESH_Gen_i::SavePython SALOMEDS::Study_ptr  theStudy  ) 
 

TCollection_AsciiString SMESH_Gen_i::DumpPython_impl int  theStudyID,
Resource_DataMapOfAsciiStringAsciiString &  theObjectNames,
Resource_DataMapOfAsciiStringAsciiString &  theNames,
bool  isPublished,
bool aValidScript,
const TCollection_AsciiString &  theSavedTrace
 

DumpPython

TCollection_AsciiString SMESH_Gen_i::GetNewPythonLines int  theStudyID  ) 
 

GetNewPythonLines

void SMESH_Gen_i::CleanPythonTrace int  theStudyID  ) 
 

CleanPythonTrace

GEOM_Client * SMESH_Gen_i::GetShapeReader  ) 
 

SMESH_Gen_i.GetShapeReader

Get shape reader

long SMESH_Gen_i::GetHypothesisRootTag  )  [static]
 

Get...Tag [ static ]

Methods which determine SMESH data model structure

long SMESH_Gen_i::GetAlgorithmsRootTag  )  [static]
 

long SMESH_Gen_i::GetRefOnShapeTag  )  [static]
 

long SMESH_Gen_i::GetRefOnAppliedHypothesisTag  )  [static]
 

long SMESH_Gen_i::GetRefOnAppliedAlgorithmsTag  )  [static]
 

long SMESH_Gen_i::GetSubMeshOnVertexTag  )  [static]
 

long SMESH_Gen_i::GetSubMeshOnEdgeTag  )  [static]
 

long SMESH_Gen_i::GetSubMeshOnFaceTag  )  [static]
 

long SMESH_Gen_i::GetSubMeshOnSolidTag  )  [static]
 

long SMESH_Gen_i::GetSubMeshOnCompoundTag  )  [static]
 

long SMESH_Gen_i::GetSubMeshOnWireTag  )  [static]
 

long SMESH_Gen_i::GetSubMeshOnShellTag  )  [static]
 

long SMESH_Gen_i::GetNodeGroupsTag  )  [static]
 

long SMESH_Gen_i::GetEdgeGroupsTag  )  [static]
 

long SMESH_Gen_i::GetFaceGroupsTag  )  [static]
 

long SMESH_Gen_i::GetVolumeGroupsTag  )  [static]
 

SALOMEDS::SComponent_ptr SMESH_Gen_i::PublishComponent SALOMEDS::Study_ptr  theStudy  ) 
 

SALOMEDS::SObject_ptr SMESH_Gen_i::PublishMesh SALOMEDS::Study_ptr  theStudy,
SMESH::SMESH_Mesh_ptr  theMesh,
const char *  theName = 0
 

SALOMEDS::SObject_ptr SMESH_Gen_i::PublishHypothesis SALOMEDS::Study_ptr  theStudy,
SMESH::SMESH_Hypothesis_ptr  theHyp,
const char *  theName = 0
 

SALOMEDS::SObject_ptr SMESH_Gen_i::PublishSubMesh SALOMEDS::Study_ptr  theStudy,
SMESH::SMESH_Mesh_ptr  theMesh,
SMESH::SMESH_subMesh_ptr  theSubMesh,
GEOM::GEOM_Object_ptr  theShapeObject,
const char *  theName = 0
 

SALOMEDS::SObject_ptr SMESH_Gen_i::PublishGroup SALOMEDS::Study_ptr  theStudy,
SMESH::SMESH_Mesh_ptr  theMesh,
SMESH::SMESH_GroupBase_ptr  theGroup,
GEOM::GEOM_Object_ptr  theShapeObject,
const char *  theName = 0
 

bool SMESH_Gen_i::AddHypothesisToShape SALOMEDS::Study_ptr  theStudy,
SMESH::SMESH_Mesh_ptr  theMesh,
GEOM::GEOM_Object_ptr  theShapeObject,
SMESH::SMESH_Hypothesis_ptr  theHyp
 

bool SMESH_Gen_i::RemoveHypothesisFromShape SALOMEDS::Study_ptr  theStudy,
SMESH::SMESH_Mesh_ptr  theMesh,
GEOM::GEOM_Object_ptr  theShapeObject,
SMESH::SMESH_Hypothesis_ptr  theHyp
 

SALOMEDS::SObject_ptr SMESH_Gen_i::GetMeshOrSubmeshByShape SALOMEDS::Study_ptr  theStudy,
SMESH::SMESH_Mesh_ptr  theMesh,
GEOM::GEOM_Object_ptr  theShape