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]);
void SetScalarModeToColors()
Set whether to add cell scalars, so that new faces and outlines can be distinguished from original fa...
void SetScalarModeToNone()
Set whether to add cell scalars, so that new faces and outlines can be distinguished from original fa...
represent and manipulate point attribute data
vtkTypeUInt32 vtkMTimeType
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
represent and manipulate cell attribute data
maintain a list of planes
vtkTypeBool GenerateOutline
virtual int ComputePipelineMTime(vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, int requestFromOutputPort, vtkMTimeType *mtime)
A special version of ProcessRequest meant specifically for the pipeline modified time request.
dynamic, self-adjusting array of vtkIdType
concrete dataset represents vertices, lines, polygons, and triangle strips
vtkTypeBool TriangulationErrorDisplay
dynamic, self-adjusting array of double
static vtkPolyDataAlgorithm * New()
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
void SetScalarModeToLabels()
Set whether to add cell scalars, so that new faces and outlines can be distinguished from original fa...
list of point or cell ids
a cell that represents an n-sided polygon
vtkTypeBool GenerateFaces
dynamic, self-adjusting array of unsigned char
object to represent cell connectivity
vtkTypeBool PassPointData
vtkPlaneCollection * ClippingPlanes
represent and manipulate 3D points
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Clip a closed surface with a plane collection.