iMSTK
Interactive Medical Simulation Toolkit
|
Can read/return LineMesh, SurfaceMesh, TetrahedralMesh, or HexahedralMesh from given .msh file. Can only read homogenous elements. More...
#include <imstkMshMeshIO.h>
Static Public Member Functions | |
static std::shared_ptr< PointSet > | read (const std::string &filePath) |
Read and generate a volumetric mesh given a external msh file. | |
Can read/return LineMesh, SurfaceMesh, TetrahedralMesh, or HexahedralMesh from given .msh file. Can only read homogenous elements.
If given a file with mixed elements it will always choose the elements with the most vertices. Ex: Given both tetrahedral and triangle data, only the tetrahedral will be read.
Only supports vertex data that is doubles (8 byte sized floating point).
Definition at line 27 of file imstkMshMeshIO.h.