SMESH_Gen Class Reference

#include <SMESH_Gen.hxx>


Public Types

enum  TAlgoStateErrorName { NONE = 0, MISSING_ALGO, MISSING_HYPO, NOT_CONFORM_MESH }

Public Member Functions

 SMESH_Gen ()
 ~SMESH_Gen ()
SMESH_MeshCreateMesh (int theStudyId, bool theIsEmbeddedMode) throw (SALOME_Exception)
bool Compute (::SMESH_Mesh &aMesh, const TopoDS_Shape &aShape)
bool CheckAlgoState (SMESH_Mesh &aMesh, const TopoDS_Shape &aShape)
bool GetAlgoState (SMESH_Mesh &aMesh, const TopoDS_Shape &aShape, std::list< SMESH_Gen::TAlgoStateError > &theErrors)
StudyContextStructGetStudyContext (int studyId)
SMESH_AlgoGetAlgo (SMESH_Mesh &aMesh, const TopoDS_Shape &aShape)
void Save (int studyId, const char *aUrlOfFile)
void Load (int studyId, const char *aUrlOfFile)
void Close (int studyId)
const char * ComponentDataType ()
const char * IORToLocalPersistentID (const char *IORString, bool &IsAFile)
const char * LocalPersistentIDToIOR (const char *aLocalPersistentID)
int GetANewId ()

Static Public Member Functions

static int GetShapeDim (const TopAbs_ShapeEnum &aShapeType)
static int GetShapeDim (const TopoDS_Shape &aShape)
static bool IsGlobalHypothesis (const SMESH_Hypothesis *theHyp, SMESH_Mesh &aMesh)

Data Fields

std::map< int, SMESH_Algo * > _mapAlgo
std::map< int, SMESH_1D_Algo * > _map1D_Algo
std::map< int, SMESH_2D_Algo * > _map2D_Algo
std::map< int, SMESH_3D_Algo * > _map3D_Algo

Private Attributes

int _localId
std::map< int, StudyContextStruct * > _mapStudyContext
int _hypId

Data Structures

struct  TAlgoStateError


Member Enumeration Documentation

enum SMESH_Gen::TAlgoStateErrorName
 

Enumerator:
NONE 
MISSING_ALGO 
MISSING_HYPO 
NOT_CONFORM_MESH 


Constructor & Destructor Documentation

SMESH_Gen.SMESH_Gen  ) 
 

SMESH_Gen.~SMESH_Gen  ) 
 


Member Function Documentation

SMESH_Mesh* SMESH_Gen.CreateMesh int  theStudyId,
bool  theIsEmbeddedMode
throw (SALOME_Exception)
 

bool SMESH_Gen.Compute ::SMESH_Mesh aMesh,
const TopoDS_Shape aShape
 

bool SMESH_Gen.CheckAlgoState SMESH_Mesh aMesh,
const TopoDS_Shape aShape
 

bool SMESH_Gen.GetAlgoState SMESH_Mesh aMesh,
const TopoDS_Shape aShape,
std::list< SMESH_Gen::TAlgoStateError > &  theErrors
 

StudyContextStruct* SMESH_Gen.GetStudyContext int  studyId  ) 
 

static int SMESH_Gen.GetShapeDim const TopAbs_ShapeEnum &  aShapeType  )  [static]
 

static int SMESH_Gen.GetShapeDim const TopoDS_Shape aShape  )  [static]
 

SMESH_Algo* SMESH_Gen.GetAlgo SMESH_Mesh aMesh,
const TopoDS_Shape aShape
 

static bool SMESH_Gen.IsGlobalHypothesis const SMESH_Hypothesis theHyp,
SMESH_Mesh aMesh
[static]
 

void SMESH_Gen.Save int  studyId,
const char *  aUrlOfFile
 

void SMESH_Gen.Load int  studyId,
const char *  aUrlOfFile
 

void SMESH_Gen.Close int  studyId  ) 
 

const char* SMESH_Gen.ComponentDataType  ) 
 

const char* SMESH_Gen.IORToLocalPersistentID const char *  IORString,
bool IsAFile
 

const char* SMESH_Gen.LocalPersistentIDToIOR const char *  aLocalPersistentID  ) 
 

int SMESH_Gen.GetANewId  ) 
 


Field Documentation

std::map< int, SMESH_Algo * > SMESH_Gen._mapAlgo
 

std::map< int, SMESH_1D_Algo * > SMESH_Gen._map1D_Algo
 

std::map< int, SMESH_2D_Algo * > SMESH_Gen._map2D_Algo
 

std::map< int, SMESH_3D_Algo * > SMESH_Gen._map3D_Algo
 

int SMESH_Gen._localId [private]
 

std::map< int, StudyContextStruct * > SMESH_Gen._mapStudyContext [private]
 

int SMESH_Gen._hypId [private]