iMSTK
Interactive Medical Simulation Toolkit
|
Assimp reader for surface meshes. More...
#include <imstkAssimpMeshIO.h>
Static Public Member Functions | |
static std::shared_ptr< PointSet > | read (const std::string &filePath, MeshFileType type) |
Ensures file can be read and reads it if possible. More... | |
static std::shared_ptr< PointSet > | readMeshData (const std::string &filePath) |
Reads mesh data and returns mesh. May read a LineMesh if no triangles & only lines are present. More... | |
static std::shared_ptr< PointSet > | convertAssimpMesh (aiMesh *importedMesh) |
Convert from Assimp mesh to iMSTK SurfaceMesh. May convert to LineMesh if no triangles & only lines are present. More... | |
static unsigned int | getDefaultPostProcessSteps () |
Helper function for getting default post processing flags. More... | |
Assimp reader for surface meshes.
Definition at line 20 of file imstkAssimpMeshIO.h.
|
static |
Convert from Assimp mesh to iMSTK SurfaceMesh. May convert to LineMesh if no triangles & only lines are present.
importedMesh | Assimp mesh to convert |
Definition at line 68 of file imstkAssimpMeshIO.cpp.
|
static |
Helper function for getting default post processing flags.
Definition at line 218 of file imstkAssimpMeshIO.cpp.
|
static |
Ensures file can be read and reads it if possible.
filePath | path to file |
type | mesh file type |
Definition at line 22 of file imstkAssimpMeshIO.cpp.
|
static |
Reads mesh data and returns mesh. May read a LineMesh if no triangles & only lines are present.
filePath |
Definition at line 42 of file imstkAssimpMeshIO.cpp.