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

Contains utility classes that convert vega volume mesh to volume mesh and vice-versa. More...

#include <imstkVegaMeshIO.h>

Static Public Member Functions

static std::shared_ptr< PointSetread (const std::string &filePath, MeshFileType meshType)
 Read and generate volumetric mesh given a external vega mesh file.
 
static std::shared_ptr< vega::VolumetricMesh > readVegaMesh (const std::string &filePath)
 Read vega volume mesh from a file.
 
static bool write (const std::shared_ptr< imstk::PointSet > imstkMesh, const std::string &filePath, const MeshFileType meshType)
 Write a volumetric mesh in vega file format.
 
static std::shared_ptr< PointSetconvertVegaMeshToVolumetricMesh (std::shared_ptr< vega::VolumetricMesh > vegaVolumeMesh)
 Generate volumetric mesh given a vega volume mesh.
 
static std::shared_ptr< vega::VolumetricMesh > convertVolumetricMeshToVegaMesh (const std::shared_ptr< PointSet > volumeMesh)
 Generate a vega volume mesh given volumetric mesh.
 

Static Protected Member Functions

static void copyVertices (std::shared_ptr< vega::VolumetricMesh > vegaMesh, VecDataArray< double, 3 > &vertices)
 
template<size_t dim>
static void copyCells (std::shared_ptr< vega::VolumetricMesh > vegaMesh, VecDataArray< int, dim > &cells)
 

Detailed Description

Contains utility classes that convert vega volume mesh to volume mesh and vice-versa.

Definition at line 28 of file imstkVegaMeshIO.h.


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