Version: 8.3.0
SMESH_Swig Class Reference

#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
 

Constructor & Destructor Documentation

SMESH_Swig::SMESH_Swig ( )

References anORB.

SMESH_Swig::~SMESH_Swig ( )

Member Function Documentation

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)
const char * SMESH_Swig::AddSubMesh ( const char *  theMeshEntry,
const char *  theSubMeshIOR,
int  theShapeType 
)
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)
void SMESH_Swig::select ( const char *  id,
std::vector< int ids,
bool  append = false 
)

Select the elements on the mesh, sub-mesh or group.

Parameters
idobject entry
idslist of the element ids
modeselection mode
void SMESH_Swig::select ( const char *  id,
int  id1,
bool  append = false 
)

Select the elements on the mesh, sub-mesh or group.

Parameters
idobject entry
idid of the element
modeselection 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.

Parameters
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 
)
void SMESH_Swig::UnSetHypothesis ( const char *  theDomainEntry)

References myStudy, and myStudyBuilder.

Field Documentation

SALOMEDS::SComponent_var SMESH_Swig::mySComponentMesh
private
SALOMEDS::Study_var SMESH_Swig::myStudy
private
SALOMEDS::StudyBuilder_var SMESH_Swig::myStudyBuilder
private