iMSTK
Interactive Medical Simulation Toolkit
Static Public Member Functions | List of all members
imstk::MshMeshIO Class Reference

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< PointSetread (const std::string &filePath)
 Read and generate a volumetric mesh given a external msh file.
 

Detailed Description

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.


The documentation for this class was generated from the following files: