30 #ifndef __vtkvmtkSimplifyVoronoiDiagram_h 31 #define __vtkvmtkSimplifyVoronoiDiagram_h 33 #include "vtkPolyDataAlgorithm.h" 34 #include "vtkIdList.h" 36 #include "vtkvmtkWin32Header.h" 38 #define VTK_VMTK_REMOVE_BOUNDARY_POINTS 0 39 #define VTK_VMTK_REMOVE_BOUNDARY_CELLS 1 49 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
54 vtkSetObjectMacro(UnremovablePointIds,vtkIdList);
55 vtkGetObjectMacro(UnremovablePointIds,vtkIdList);
58 vtkSetObjectMacro(UnremovableCellIds,vtkIdList);
59 vtkGetObjectMacro(UnremovableCellIds,vtkIdList);
63 vtkSetMacro(Simplification,
int);
64 vtkGetMacro(Simplification,
int);
71 vtkSetMacro(IncludeUnremovable,
int);
72 vtkGetMacro(IncludeUnremovable,
int);
73 vtkBooleanMacro(IncludeUnremovable,
int);
75 vtkSetMacro(OnePassOnly,
int);
76 vtkGetMacro(OnePassOnly,
int);
77 vtkBooleanMacro(OnePassOnly,
int);
83 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE;
84 vtkIdType IsBoundaryEdge(vtkCellLinks* links, vtkIdType* edge);
void SetSimplificationToRemoveBoundaryCells()
#define VTK_VMTK_REMOVE_BOUNDARY_CELLS
vtkIdList * UnremovablePointIds
void SetSimplificationToRemoveBoundaryPoints()
Remove non essential Voronoi polygon points (little spikes).
vtkIdList * UnremovableCellIds
#define VTK_VMTK_REMOVE_BOUNDARY_POINTS