9 #include "imstkMeshIO.h" 29 static std::shared_ptr<PointSet>
read(
30 const std::string& filePath,
39 static std::shared_ptr<PointSet>
readMeshData(
const std::string& filePath);
static std::shared_ptr< PointSet > read(const std::string &filePath, MeshFileType type)
Ensures file can be read and reads it if possible.
MeshFileType
Enumeration the mesh file type.
Assimp reader for surface meshes.
static unsigned int getDefaultPostProcessSteps()
Helper function for getting default post processing flags.
static std::shared_ptr< PointSet > convertAssimpMesh(aiMesh *importedMesh)
Convert from Assimp mesh to iMSTK SurfaceMesh. May convert to LineMesh if no triangles & only lines a...
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...