Functions | |
int | GetMedGeoType (SMDSAbs_EntityType smdsType) |
Returns MED element geom type (MED::EGeometrieElement) by SMDS type. More... | |
SMDSAbs_EntityType | GetSMDSType (int medType) |
Returns SMDS element geom type by MED type (MED::EGeometrieElement) More... | |
bool | buildMeshGrille (const MED::PWrapper &theWrapper, const MED::PMeshInfo &theMeshInfo, SMESHDS_Mesh *theMesh, const TID2FamilyMap &myFamilies) |
Reading the structured mesh and convert to non structured (by filling of smesh structure for non structured mesh) More... | |
bool | checkFamilyID (DriverMED_FamilyPtr &aFamily, int anID, const TID2FamilyMap &myFamilies) |
Ensure aFamily has a required ID. More... | |
const SMDS_MeshNode * | FindNode (const SMDS_Mesh *theMesh, TInt theId) |
const std::vector < MED::EGeometrieElement > & | getMedTypesVec () |
Returns a vector containing MED::EGeometrieElement for each SMDSAbs_EntityType. More... | |
bool DriverMED::buildMeshGrille | ( | const MED::PWrapper & | theWrapper, |
const MED::PMeshInfo & | theMeshInfo, | ||
SMESHDS_Mesh * | myMesh, | ||
const TID2FamilyMap & | myFamilies | ||
) |
Reading the structured mesh and convert to non structured (by filling of smesh structure for non structured mesh)
theWrapper | - PWrapper const pointer |
theMeshInfo | - PMeshInfo const pointer |
myFamilies | - a map of the family ID to the Family |
References SMESHDS_Mesh::AddEdgeWithID(), SMESHDS_Mesh::AddFaceWithID(), SMESHDS_Mesh::AddNodeWithID(), SMESHDS_Mesh::AddVolumeWithID(), checkFamilyID(), MED::eHEXA8, MED::eQUAD4, MED::eSEG2, EXCEPTION, SMDS_MeshElement::GetType(), and SMDSAbs_Node.
Referenced by DriverMED_R_SMESHDS_Mesh::Perform().
bool DriverMED::checkFamilyID | ( | DriverMED_FamilyPtr & | aFamily, |
int | anID, | ||
const TID2FamilyMap & | myFamilies | ||
) |
Ensure aFamily has a required ID.
Ensure aFamily to have required ID.
aFamily | - a family to check |
anID | - an ID aFamily should have |
myFamilies | - a map of the family ID to the Family |
bool | - true if successful |
aFamily | - a family to check and update |
anID | - an ID aFamily should have |
bool | - true if successful |
Referenced by buildMeshGrille(), and DriverMED_R_SMESHDS_Mesh::Perform().
const SMDS_MeshNode* DriverMED::FindNode | ( | const SMDS_Mesh * | theMesh, |
TInt | theId | ||
) |
References EXCEPTION, and SMDS_Mesh::FindNode().
Referenced by SMESH_MeshEditor_i::AddEdge(), SMESH_MeshEditor_i::AddPolygonalFace(), DriverMED_R_SMESHDS_Mesh::Perform(), and SMESH_Client::Update().
int DriverMED::GetMedGeoType | ( | SMDSAbs_EntityType | smdsType | ) |
Returns MED element geom type (MED::EGeometrieElement) by SMDS type.
References getMedTypesVec().
Referenced by DriverMED_W_Field::Perform().
const std::vector< MED::EGeometrieElement >& DriverMED::getMedTypesVec | ( | ) |
Returns a vector containing MED::EGeometrieElement for each SMDSAbs_EntityType.
References MED::eAllGeoType, MED::eBALL, MED::eHEXA20, MED::eHEXA27, MED::eHEXA8, MED::eNONE, MED::eOCTA12, MED::ePENTA15, MED::ePENTA6, MED::ePOINT1, MED::ePOLYEDRE, MED::ePOLYGONE, MED::ePYRA13, MED::ePYRA5, MED::eQUAD4, MED::eQUAD8, MED::eQUAD9, MED::eSEG2, MED::eSEG3, MED::eTETRA10, MED::eTETRA4, MED::eTRIA3, MED::eTRIA6, MED::eTRIA7, SMDSEntity_0D, SMDSEntity_Ball, SMDSEntity_BiQuad_Quadrangle, SMDSEntity_BiQuad_Triangle, SMDSEntity_Edge, SMDSEntity_Hexa, SMDSEntity_Hexagonal_Prism, SMDSEntity_Last, SMDSEntity_Node, SMDSEntity_Penta, SMDSEntity_Polygon, SMDSEntity_Polyhedra, SMDSEntity_Pyramid, SMDSEntity_Quad_Edge, SMDSEntity_Quad_Hexa, SMDSEntity_Quad_Penta, SMDSEntity_Quad_Pyramid, SMDSEntity_Quad_Quadrangle, SMDSEntity_Quad_Tetra, SMDSEntity_Quad_Triangle, SMDSEntity_Quadrangle, SMDSEntity_Tetra, SMDSEntity_Triangle, and SMDSEntity_TriQuad_Hexa.
Referenced by GetMedGeoType(), and GetSMDSType().
SMDSAbs_EntityType DriverMED::GetSMDSType | ( | int | medType | ) |
Returns SMDS element geom type by MED type (MED::EGeometrieElement)
References getMedTypesVec().