#include <libSMESH_Swig.h>
Public Member Functions | |
SMESH_Swig () | |
~SMESH_Swig () | |
void | Init (int) |
const char * | AddNewMesh (const char *) |
const char * | AddNewHypothesis (const char *) |
const char * | AddNewAlgorithms (const char *) |
void | SetShape (const char *, const char *) |
void | SetHypothesis (const char *, const char *) |
void | SetAlgorithms (const char *, const char *) |
void | UnSetHypothesis (const char *) |
const char * | AddSubMesh (const char *, const char *, int) |
const char * | AddSubMeshOnShape (const char *, const char *, const char *, int) |
void | CreateAndDisplayActor (const char *) |
void | SetName (const char *, const char *) |
void | EraseActor (const char *, const bool allViewers=false) |
void | SetMeshIcon (const char *, const bool, const bool) |
Set mesh icon according to compute status. More... | |
actorAspect | GetActorAspect (const char *Mesh_Entry, int viewId=0) |
void | SetActorAspect (const actorAspect &actorPres, const char *Mesh_Entry, int viewId=0) |
int | getSelectionMode () |
Get selection mode of the active VTK View window. More... | |
void | select (const char *id, std::vector< int > ids, bool append=false) |
Select the elements on the mesh, sub-mesh or group. More... | |
void | select (const char *id, int id1, bool append=false) |
Select the elements on the mesh, sub-mesh or group. More... | |
Private Attributes | |
SALOMEDS::Study_var | myStudy |
SALOMEDS::StudyBuilder_var | myStudyBuilder |
SALOMEDS::SComponent_var | mySComponentMesh |
SMESH_Swig::SMESH_Swig | ( | ) |
References anORB.
SMESH_Swig::~SMESH_Swig | ( | ) |
const char * SMESH_Swig::AddNewAlgorithms | ( | const char * | theIOR | ) |
References mySComponentMesh, and myStudyBuilder.
const char * SMESH_Swig::AddNewHypothesis | ( | const char * | theIOR | ) |
References mySComponentMesh, and myStudyBuilder.
const char * SMESH_Swig::AddNewMesh | ( | const char * | theIOR | ) |
References mySComponentMesh, myStudy, and myStudyBuilder.
const char * SMESH_Swig::AddSubMesh | ( | const char * | theMeshEntry, |
const char * | theSubMeshIOR, | ||
int | theShapeType | ||
) |
References myStudy, myStudyBuilder, SMESH::Tag_SubMeshOnCompound, SMESH::Tag_SubMeshOnEdge, SMESH::Tag_SubMeshOnFace, SMESH::Tag_SubMeshOnSolid, and SMESH::Tag_SubMeshOnVertex.
Referenced by AddSubMeshOnShape().
const char * SMESH_Swig::AddSubMeshOnShape | ( | const char * | theMeshEntry, |
const char * | theGeomShapeEntry, | ||
const char * | theSubMeshIOR, | ||
int | ShapeType | ||
) |
References AddSubMesh(), myStudy, and SetShape().
void SMESH_Swig::CreateAndDisplayActor | ( | const char * | Mesh_Entry | ) |
void SMESH_Swig::EraseActor | ( | const char * | Mesh_Entry, |
const bool | allViewers = false |
||
) |
actorAspect SMESH_Swig::GetActorAspect | ( | const char * | Mesh_Entry, |
int | viewId = 0 |
||
) |
int SMESH_Swig::getSelectionMode | ( | ) |
Get selection mode of the active VTK View window.
void SMESH_Swig::Init | ( | int | theStudyID | ) |
References SMESHGUI::GetSMESHGen(), SMESHGUI::GetSMESHGUI(), mySComponentMesh, myStudy, and myStudyBuilder.
Select the elements on the mesh, sub-mesh or group.
id | object entry |
ids | list of the element ids |
mode | selection mode |
Select the elements on the mesh, sub-mesh or group.
id | object entry |
id | id of the element |
mode | selection mode |
void SMESH_Swig::SetActorAspect | ( | const actorAspect & | actorPres, |
const char * | Mesh_Entry, | ||
int | viewId = 0 |
||
) |
void SMESH_Swig::SetAlgorithms | ( | const char * | theMeshOrSubMeshEntry, |
const char * | theDomainEntry | ||
) |
References myStudy, and myStudyBuilder.
void SMESH_Swig::SetHypothesis | ( | const char * | theMeshOrSubMeshEntry, |
const char * | theDomainEntry | ||
) |
References myStudy, and myStudyBuilder.
void SMESH_Swig::SetMeshIcon | ( | const char * | theMeshEntry, |
const bool | theIsComputed, | ||
const bool | isEmpty | ||
) |
Set mesh icon according to compute status.
Mesh_Entry | - entry of a mesh |
isComputed | - is mesh computed or not |
References _PTR(), SMESH::ModifiedMesh(), myStudy, and SObject().
void SMESH_Swig::SetName | ( | const char * | theEntry, |
const char * | theName | ||
) |
References myStudy, and myStudyBuilder.
void SMESH_Swig::SetShape | ( | const char * | theShapeEntry, |
const char * | theMeshEntry | ||
) |
References myStudy, myStudyBuilder, and SMESH::Tag_RefOnShape.
Referenced by AddSubMeshOnShape().
void SMESH_Swig::UnSetHypothesis | ( | const char * | theDomainEntry | ) |
References myStudy, and myStudyBuilder.
|
private |
Referenced by AddNewAlgorithms(), AddNewHypothesis(), AddNewMesh(), and Init().
|
private |
Referenced by AddNewMesh(), AddSubMesh(), AddSubMeshOnShape(), Init(), SetAlgorithms(), SetHypothesis(), SetMeshIcon(), SetName(), SetShape(), and UnSetHypothesis().
|
private |
Referenced by AddNewAlgorithms(), AddNewHypothesis(), AddNewMesh(), AddSubMesh(), Init(), SetAlgorithms(), SetHypothesis(), SetName(), SetShape(), and UnSetHypothesis().