36 #include "Exception.hpp" 37 #include <boost/filesystem.hpp> 38 #define _BACKWARD_BACKWARD_WARNING_H 1 //Cut out the vtk deprecated warning 39 #include <vtkXMLUnstructuredGridReader.h> 40 #include "MeshReader.hpp" 43 : mpVtkMesh(vtkSmartPointer<vtkUnstructuredGrid>::New()),
69 EXCEPTION(
"No mesh has been set.");
83 EXCEPTION(
"Input file not specified for image reader");
86 vtkSmartPointer<vtkXMLUnstructuredGridReader> p_reader = vtkSmartPointer<vtkXMLUnstructuredGridReader>::New();
94 EXCEPTION(
"Mesh reading failed.");
vtkSmartPointer< vtkUnstructuredGrid > GetMesh()
static boost::shared_ptr< MeshReader > Create()
void SetFilename(const std::string &rFilename)
vtkSmartPointer< vtkUnstructuredGrid > mpVtkMesh