Skip to content
Snippets Groups Projects
Commit 98387bdd authored by Sreekanth Arikatla's avatar Sreekanth Arikatla
Browse files

ENH: Add api to extract vega form volume mesh

Add interface to extract vega mesh form volume mesh. Implementation is pending.
parent 99523ae7
No related branches found
No related tags found
No related merge requests found
......@@ -27,12 +27,18 @@
#include "imstkMeshReader.h"
#include "imstkVolumetricMesh.h"
namespace imstk {
// Vega
#include "volumetricMeshLoader.h"
#include "volumetricMesh.h"
namespace imstk
{
///
/// \class VegaMeshReader
///
/// \brief
/// \brief Contains utility classes that convert vega volume mesh to volume mesh and
/// vice-versa
///
class VegaMeshReader
{
......@@ -42,10 +48,21 @@ public:
~VegaMeshReader() = default;
///
/// \brief
/// \brief Generate volumetric mesh given a external vega mesh file
///
static std::shared_ptr<VolumetricMesh> getVolumeMeshFromVegaVolumeMesh(const std::string& filePath, MeshFileType meshType);
///
/// \brief Generate volumetric mesh given a vega mesh object
///
static std::shared_ptr<VolumetricMesh> read(const std::string& filePath, MeshFileType meshType);
static std::shared_ptr<VolumetricMesh> getVolumeMeshFromVegaVolumeMesh(std::shared_ptr<vega::VolumetricMesh> vegaVolumeMesh);
///
/// \brief Generate a vega volume mesh given volumetric mesh
///
static std::shared_ptr<vega::VolumetricMesh> getVegaVolumeMeshFromVolumeMesh(std::shared_ptr<VolumetricMesh> volumeMesh);
};
}
} // imstk
#endif // ifndef imstkVegaMeshReader_h
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment