iMSTK
Interactive Medical Simulation Toolkit
imstkMshMeshIO.h
1 /*
2 ** This file is part of the Interactive Medical Simulation Toolkit (iMSTK)
3 ** iMSTK is distributed under the Apache License, Version 2.0.
4 ** See accompanying NOTICE for details.
5 */
6 
7 #pragma once
8 
9 #include "imstkMeshIO.h"
10 
11 namespace imstk
12 {
13 class SurfaceMesh;
14 
27 class MshMeshIO
28 {
29 public:
30  MshMeshIO() = default;
31  virtual ~MshMeshIO() = default;
32 
36  static std::shared_ptr<PointSet> read(const std::string& filePath);
37 };
38 } // namespace imstk
static std::shared_ptr< PointSet > read(const std::string &filePath)
Read and generate a volumetric mesh given a external msh file.
Compound Geometry.
Can read/return LineMesh, SurfaceMesh, TetrahedralMesh, or HexahedralMesh from given ...