15 #ifndef niftkMeditMeshParser_h
16 #define niftkMeditMeshParser_h
20 #include <vtkMultiBlockDataSet.h>
21 #include <vtkPoints.h>
22 #include <vtkSmartPointer.h>
52 double m_Translation[3];
55 vtkSmartPointer<vtkPoints> _ReadVertices(std::ifstream &r_fin)
const throw (
niftk::IOException);
56 template <
class t_vtkCellType>
57 vtkSmartPointer<vtkMultiBlockDataSet> _ReadAsVTKMesh(
void)
const throw (
IOException);
58 template <class t_vtkCellType>
59 std::vector<
int> _ReadCellLabelsAsVector(
void) const throw (IOException);
69 vtkSmartPointer<vtkMultiBlockDataSet> ReadAsVTKSurfaceMeshes(
void) const throw (IOException);
78 vtkSmartPointer<vtkMultiBlockDataSet> ReadAsVTKVolumeMeshes(
void) const throw (IOException);
83 void SetTranslation(const
double tVec[]);
void SetInputFileName(const std::string &filename)
Setter for input mesh file.
Definition: niftkMeditMeshParser.h:44
Definition: niftkMeshSmoother.cxx:19
Parses a Medit mesh (.mesh) file.
Definition: niftkMeditMeshParser.h:32
Definition: niftkExceptionObject.h:21
GLsizei const GLcharARB ** string
Definition: glew.h:5194
Exceptions for Filesystem, Network, ... I/O.
Definition: niftkIOException.h:26