54 #ifndef vtkIntersectionPolyDataFilter_h
55 #define vtkIntersectionPolyDataFilter_h
57 #include "vtkFiltersGeneralModule.h"
60 VTK_ABI_NAMESPACE_BEGIN
72 vtkGetMacro(NumberOfIntersectionPoints,
int);
73 vtkGetMacro(NumberOfIntersectionLines,
int);
101 vtkGetMacro(ComputeIntersectionPointArray,
vtkTypeBool);
102 vtkSetMacro(ComputeIntersectionPointArray,
vtkTypeBool);
103 vtkBooleanMacro(ComputeIntersectionPointArray,
vtkTypeBool);
131 vtkGetMacro(Status,
int);
138 vtkGetMacro(Tolerance,
double);
139 vtkSetMacro(Tolerance,
double);
148 vtkGetMacro(RelativeSubtriangleArea,
double);
149 vtkSetMacro(RelativeSubtriangleArea,
double);
162 static int TriangleTriangleIntersection(
double p1[3],
double q1[3],
double r1[3],
double p2[3],
163 double q2[3],
double r2[3],
int& coplanar,
double pt1[3],
double pt2[3],
double surfaceid[2],
170 static void CleanAndCheckSurface(
vtkPolyData* pd,
double stats[2],
double tolerance);
175 static void CleanAndCheckInput(
vtkPolyData* pd,
double tolerance);
189 int NumberOfIntersectionPoints;
190 int NumberOfIntersectionLines;
198 double RelativeSubtriangleArea;
203 VTK_ABI_NAMESPACE_END
204 #endif // vtkIntersectionPolyDataFilter_h
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
concrete dataset represents vertices, lines, polygons, and triangle strips
static vtkPolyDataAlgorithm * New()
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
vtkIntersectionPolyDataFilter computes the intersection between two vtkPolyData objects.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.