Driver reading a mesh from the GMF file. The mesh to read is selected by an index (counted form 0) set via SetMeshId() More...
#include <DriverGMF_Read.hxx>
Public Member Functions | |
DriverGMF_Read () | |
virtual Status Perform () | |
Read a GMF file. More... | |
void SetMakeRequiredGroups (bool theMakeRequiredGroups) | |
~DriverGMF_Read () | |
![]() | |
Driver_SMESHDS_Mesh () | |
void SetMesh (SMESHDS_Mesh *theMesh) | |
![]() | |
Driver_Mesh () | |
virtual SMESH_ComputeErrorPtr GetError () | |
Return a structure containing description of errors. More... | |
virtual std::string GetMeshName () const | |
virtual void SetFile (const std::string &theFileName) | |
void SetMeshId (int theMeshId) | |
virtual void SetMeshName (const std::string &theMeshName) | |
virtual void SetOption (const std::string &optionName, const std::string &optionValue) | |
virtual ~Driver_Mesh () | |
Additional Inherited Members | |
![]() | |
enum Status { DRS_OK, DRS_EMPTY, DRS_WARN_RENUMBER, DRS_WARN_SKIP_ELEM, DRS_WARN_DESCENDING, DRS_FAIL } | |
![]() | |
Status addMessage (const std::string &msg, const bool isFatal=false) | |
Stores an error message. More... | |
![]() | |
SMESHDS_Mesh * myMesh | |
![]() | |
std::vector< std::string > myErrorMessages | |
std::string myFile | |
int myMeshId | |
std::string myMeshName | |
Status myStatus | |
Detailed Description
Driver reading a mesh from the GMF file. The mesh to read is selected by an index (counted form 0) set via SetMeshId()
Constructor & Destructor Documentation
◆ DriverGMF_Read()
DriverGMF_Read::DriverGMF_Read | ( | ) |
◆ ~DriverGMF_Read()
DriverGMF_Read::~DriverGMF_Read | ( | ) |
Member Function Documentation
◆ Perform()
|
virtual |
Read a GMF file.
Implements Driver_Mesh.
References SMESHDS_Mesh::AddEdgeWithID(), SMESHDS_Mesh::AddFaceWithID(), SMESHDS_Mesh::AddGroup(), Driver_Mesh::addMessage(), SMESHDS_Mesh::AddNodeWithID(), SMESHDS_Mesh::AddVolumeWithID(), Driver_Mesh::DRS_OK, SMESHUtils::FreeVector(), SMESHDS_Mesh::GetGroups(), SMDS_Mesh::GetMeshInfo(), DriverGMF::isExtensionCorrect(), Driver_Mesh::myFile, Driver_SMESHDS_Mesh::myMesh, SMDS_MeshInfo::NbElements(), and SMDS_MeshInfo::NbNodes().
Referenced by SMESH_Mesh::GMFToMesh().
◆ SetMakeRequiredGroups()
void DriverGMF_Read::SetMakeRequiredGroups | ( | bool | theMakeRequiredGroups | ) |
Referenced by SMESH_Mesh::GMFToMesh().
The documentation for this class was generated from the following files:
- src/3rdParty/salomesmesh/inc/DriverGMF_Read.hxx
- src/3rdParty/salomesmesh/src/SMESH/DriverGMF_Read.cpp