#include <DriverMED_R_SMESHDS_Mesh.h>
|
static std::string | fixUTF8 (const std::string &s) |
| Assure a string is UTF-8 valid by replacing invalid chars. More...
|
|
◆ Status
Enumerator |
---|
DRS_OK | |
DRS_EMPTY | |
DRS_WARN_RENUMBER | |
DRS_WARN_SKIP_ELEM | |
DRS_WARN_DESCENDING | |
DRS_FAIL | |
DRS_TOO_LARGE_MESH | |
◆ addMessage()
Driver_Mesh::Status Driver_Mesh::addMessage |
( |
const std::string & |
msg, |
|
|
const bool |
isFatal = false |
|
) |
| |
|
protectedinherited |
◆ CreateAllSubMeshes()
void DriverMED_R_SMESHDS_Mesh::CreateAllSubMeshes |
( |
| ) |
|
◆ fixUTF8()
std::string Driver_Mesh::fixUTF8 |
( |
const std::string & |
s | ) |
|
|
staticprotectedinherited |
Assure a string is UTF-8 valid by replacing invalid chars.
◆ GetError()
◆ GetGroup()
void DriverMED_R_SMESHDS_Mesh::GetGroup |
( |
SMESHDS_Group * |
theGroup | ) |
|
◆ GetGroupNamesAndTypes()
list< TNameAndType > DriverMED_R_SMESHDS_Mesh::GetGroupNamesAndTypes |
( |
| ) |
|
◆ GetMeshName()
std::string Driver_Mesh::GetMeshName |
( |
| ) |
const |
|
virtualinherited |
◆ GetMeshNames()
list< string > DriverMED_R_SMESHDS_Mesh::GetMeshNames |
( |
Status & |
theStatus | ) |
|
◆ GetSubMesh()
void DriverMED_R_SMESHDS_Mesh::GetSubMesh |
( |
SMESHDS_SubMesh * |
theSubMesh, |
|
|
const int |
theId |
|
) |
| |
◆ IsMeshTooLarge()
template<typename IDTYPE >
static bool Driver_Mesh::IsMeshTooLarge |
( |
const SMDS_Mesh * |
mesh, |
|
|
bool |
checkIDs |
|
) |
| |
|
staticinherited |
◆ Perform()
Reads a med file.
Implements Driver_Mesh.
References SMESHDS_Mesh::AddPolygonalFace(), SMESHDS_Mesh::AddPolygonalFaceWithID(), SMESHDS_Mesh::AddQuadPolygonalFace(), SMESHDS_Mesh::AddQuadPolygonalFaceWithID(), DriverMED::buildMeshGrille(), DriverMED::checkFamilyID(), MED::CrWrapperR(), SMESH::DRS_EMPTY, SMESH::DRS_FAIL, SMESH::DRS_OK, SMESH::DRS_WARN_DESCENDING, SMESH::DRS_WARN_RENUMBER, SMESH::DRS_WARN_SKIP_ELEM, MED::eDESC, MED::eFAUX, MED::eHEXA20, MED::eHEXA27, MED::eHEXA8, MED::eNOD, MED::eNOEUD, MED::eOCTA12, MED::ePENTA15, MED::ePENTA18, MED::ePENTA6, MED::ePOINT1, MED::ePOLYEDRE, MED::ePOLYGON2, MED::ePOLYGONE, MED::ePYRA13, MED::ePYRA5, MED::eQUAD4, MED::eQUAD8, MED::eQUAD9, MED::eSEG2, MED::eSEG3, MED::eSTRUCT_ELEMENT, MED::eSTRUCTURE, MED::eTETRA10, MED::eTETRA4, MED::eTRIA3, MED::eTRIA6, MED::eTRIA7, MED::eVRAI, DriverMED::FindNode(), MED::GetCoordHelper(), SMDS_MeshElement::GetType(), MESSAGE, NIG_GROUP_PREFIX, MED::TCSlice< TValueType >::size(), SMDSAbs_Ball, and SMDSAbs_Node.
Referenced by SMESH_PreMeshInfo::FullLoadFromFile(), and SMESH_Mesh::MEDToMesh().
◆ SetFile()
void Driver_Mesh::SetFile |
( |
const std::string & |
theFileName | ) |
|
|
virtualinherited |
References Driver_Mesh::myFile.
Referenced by SMESH_Mesh::CGNSToMesh(), SMESH_Gen_i::CreateMeshesFromCGNS(), SMESH_Gen_i::CreateMeshesFromMED(), SMESH_Mesh::ExportCGNS(), SMESH_Mesh::ExportDAT(), MEDFileSpeCls::exportField(), SMESH_Mesh::ExportGMF(), SMESH_Mesh::ExportSTL(), SMESH_Mesh::ExportUNV(), SMESH_PreMeshInfo::FullLoadFromFile(), MG_ADAPT::MgAdapt::getCommandToRun(), GetMGLicenseKeyImpl(), SMESH_Mesh::GMFToMesh(), SMESH_Mesh::MEDToMesh(), DriverMED_W_SMESHDS_Mesh::SetFile(), SMESH_Mesh::STLToMesh(), and SMESH_Mesh::UNVToMesh().
◆ SetMesh()
◆ SetMeshId()
void Driver_Mesh::SetMeshId |
( |
int |
theMeshId | ) |
|
|
inherited |
References Driver_Mesh::myMeshId.
Referenced by SMESH_Mesh::CGNSToMesh(), SMESH_Gen_i::CreateMeshesFromMED(), SMESH_Mesh::ExportDAT(), SMESH_Mesh::exportMEDCommmon(), SMESH_Mesh::ExportSTL(), SMESH_Mesh::ExportUNV(), SMESH_PreMeshInfo::FullLoadFromFile(), SMESH_Mesh::MEDToMesh(), SMESH_Gen_i::Save(), SMESH_Mesh::STLToMesh(), and SMESH_Mesh::UNVToMesh().
◆ SetMeshName() [1/2]
void Driver_Mesh::SetMeshName |
( |
const std::string & |
theMeshName | ) |
|
|
virtualinherited |
◆ SetMeshName() [2/2]
void DriverMED_R_SMESHDS_Mesh::SetMeshName |
( |
std::string |
theMeshName | ) |
|
◆ SetOption()
virtual void Driver_Mesh::SetOption |
( |
const std::string & |
, |
|
|
const std::string & |
|
|
) |
| |
|
virtualinherited |
◆ myErrorMessages
std::vector< std::string > Driver_Mesh::myErrorMessages |
|
protectedinherited |
◆ myFamilies
◆ myFile
std::string Driver_Mesh::myFile |
|
protectedinherited |
Referenced by DriverGMF_Read::GetMeshInfo(), DriverGMF_Read::Perform(), DriverGMF_Write::Perform(), DriverSTL_R_SMDS_Mesh::Perform(), DriverMED_W_Field::Perform(), DriverMED_W_Field_Mem::Perform(), DriverMED_W_SMESHDS_Mesh::Perform(), DriverMED_W_SMESHDS_Mesh_Mem::Perform(), DriverSTL_R_SMDS_Mesh::readAscii(), Driver_Mesh::SetFile(), DriverSTL_W_SMDS_Mesh::writeAscii(), and DriverSTL_W_SMDS_Mesh::writeBinary().
◆ myGroups2FamiliesMap
◆ myMesh
◆ myMeshId
int Driver_Mesh::myMeshId |
|
protectedinherited |
◆ myMeshName
std::string DriverMED_R_SMESHDS_Mesh::myMeshName |
|
private |
◆ myStatus