49 #ifndef vtkClipClosedSurface_h
50 #define vtkClipClosedSurface_h
52 #include "vtkFiltersGeneralModule.h"
64 class vtkCCSEdgeLocator;
93 vtkSetMacro(Tolerance,
double);
94 vtkGetMacro(Tolerance,
double);
137 vtkSetClampMacro(ScalarMode,
int,
145 vtkGetMacro(ScalarMode,
int);
146 const char *GetScalarModeAsString();
156 vtkSetVector3Macro(BaseColor,
double);
157 vtkGetVector3Macro(BaseColor,
double);
166 vtkSetVector3Macro(ClipColor,
double);
167 vtkGetVector3Macro(ClipColor,
double);
176 vtkSetMacro(ActivePlaneId,
int);
177 vtkGetMacro(ActivePlaneId,
int);
186 vtkSetVector3Macro(ActivePlaneColor,
double);
187 vtkGetVector3Macro(ActivePlaneColor,
double);
197 vtkSetMacro(TriangulationErrorDisplay,
vtkTypeBool);
198 vtkBooleanMacro(TriangulationErrorDisplay,
vtkTypeBool);
199 vtkGetMacro(TriangulationErrorDisplay,
vtkTypeBool);
217 double ActivePlaneColor[3];
237 vtkPointData *pointData, vtkCCSEdgeLocator *edgeLocator,
247 void ClipAndContourPolys(
249 vtkCCSEdgeLocator *edgeLocator,
int triangulate,
260 static int InterpolateEdge(
262 vtkCCSEdgeLocator *edgeLocator,
double tol,
270 int TriangulatePolygon(
282 void TriangulateContours(
292 static void BreakPolylines(
302 static void CopyPolygons(
311 static void BreakTriangleStrips(
321 static void SqueezeOutputPoints(
323 int outputPointDataType);
328 static void CreateColorValues(
329 const double color1[3],
const double color2[3],
const double color3[3],
330 unsigned char colors[3][3]);