34 class vtkUnstructuredGrid;
36 class vtkStructuredGrid;
72 static vtkSmartPointer<vtkPointSet> buildVtkPointSet(std::string vtkFileName, VtkPointSetType whatIsIt = UNKNOWN);
79 static bool saveGeometryToFile(
camitk::Geometry* g, std::string vtkFileName);
86 static bool savePointSetToFile(vtkSmartPointer<vtkPointSet> ps, std::string fname, std::string oname =
"");
93 static void saveUnstructuredGridToFile(vtkSmartPointer<vtkUnstructuredGrid> uGrid, std::string fname, std::string oname =
"");
100 static void saveStructuredGridToFile(vtkSmartPointer<vtkStructuredGrid> sGrid, std::string fname, std::string oname =
"");
107 static void savePolyDataToFile(vtkSmartPointer<vtkPolyData> pData, std::string fname, std::string oname =
"");
114 static std::string getVtkPointSetHeaderString(std::string vtkFileName, VtkPointSetType whatIsIt = UNKNOWN);
121 static VtkPointSetType typeOf(std::string vtkFileName);
138 static vtkSmartPointer<vtkPolyData> vtkPointSetToVtkPolyData(vtkSmartPointer<vtkPointSet> aPointSet);
#define VTK_COMPONENT_API
Definition: VtkMeshComponentAPI.h:54
This class helps to transform, export and import vtk point sets.
Definition: VtkMeshUtil.h:46
VtkPointSetType
constant for the vtk point set type
Definition: VtkMeshUtil.h:51
@ UNKNOWN
Definition: VtkMeshUtil.h:52
@ STRUCTURED_GRID
Definition: VtkMeshUtil.h:54
@ UNSTRUCTURED_GRID
Definition: VtkMeshUtil.h:53
A 3D representation of a vtkPointSet to be displayed in a InteractiveViewer, this class implements th...
Definition: Geometry.h:126