iMSTK
Interactive Medical Simulation Toolkit
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Static Public Member Functions | List of all members
imstk::MeshIO Class Reference

Mesh data IO. More...

#include <imstkMeshIO.h>

Static Public Member Functions

static std::shared_ptr< PointSetread (const std::string &filePath)
 Read external file.
 
template<typename T >
static std::shared_ptr< T > read (const std::string &filePath)
 
static bool write (const std::shared_ptr< imstk::PointSet > imstkMesh, const std::string &filePath)
 Write external file.
 
static bool fileExists (const std::string &file, bool &isDirectory)
 Returns true if the file exists, else false. Also sets isDirectory to true if the path is a directory, else false.
 
static const MeshFileType getFileType (const std::string &filePath)
 Returns the type of the file.
 

Detailed Description

Mesh data IO.

Definition at line 47 of file imstkMeshIO.h.


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