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);
138 static vtkSmartPointer<vtkPolyData> vtkPointSetToVtkPolyData(vtkSmartPointer<vtkPointSet> aPointSet);
This class helps to transform, export and import vtk point sets.
Definition: VtkMeshUtil.h:46
#define VTK_COMPONENT_API
Definition: VtkMeshComponentAPI.h:54
VtkPointSetType
constant for the vtk point set type
Definition: VtkMeshUtil.h:51
Definition: VtkMeshUtil.h:53
Definition: VtkMeshUtil.h:52
A 3D representation of a vtkPointSet to be displayed in a InteractiveViewer, this class implements th...
Definition: Geometry.h:126
Definition: VtkMeshUtil.h:54