DriverSTL_W_SMDS_Mesh Class Reference
Writer of a mesh in STL (STereoLithography) file format. More...
#include <DriverSTL_W_SMDS_Mesh.h>
Public Member Functions | |
DriverSTL_W_SMDS_Mesh () | |
virtual Status Perform () | |
void SetIsAscii (const bool theIsAscii=false) | |
~DriverSTL_W_SMDS_Mesh () | |
Destructor deletes temporary faces. More... | |
![]() | |
Driver_SMDS_Mesh () | |
void SetMesh (SMDS_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... | |
![]() | |
SMDS_Mesh * myMesh | |
![]() | |
std::vector< std::string > myErrorMessages | |
std::string myFile | |
int myMeshId | |
std::string myMeshName | |
Status myStatus | |
Detailed Description
Writer of a mesh in STL (STereoLithography) file format.
Constructor & Destructor Documentation
◆ DriverSTL_W_SMDS_Mesh()
DriverSTL_W_SMDS_Mesh::DriverSTL_W_SMDS_Mesh | ( | ) |
◆ ~DriverSTL_W_SMDS_Mesh()
DriverSTL_W_SMDS_Mesh::~DriverSTL_W_SMDS_Mesh | ( | ) |
Destructor deletes temporary faces.
Member Function Documentation
◆ Perform()
|
virtual |
Implements Driver_Mesh.
References Driver_Mesh::DRS_FAIL, Driver_Mesh::DRS_OK, and Driver_SMDS_Mesh::myMesh.
Referenced by SMESH_Mesh::ExportSTL().
◆ SetIsAscii()
void DriverSTL_W_SMDS_Mesh::SetIsAscii | ( | const bool | theIsAscii = false | ) |
Referenced by SMESH_Mesh::ExportSTL().
The documentation for this class was generated from the following files:
- src/3rdParty/salomesmesh/inc/DriverSTL_W_SMDS_Mesh.h
- src/3rdParty/salomesmesh/src/DriverSTL/DriverSTL_W_SMDS_Mesh.cpp