60 #ifndef vtkIntersectionPolyDataFilter_h
61 #define vtkIntersectionPolyDataFilter_h
63 #include "vtkFiltersGeneralModule.h"
78 vtkGetMacro(NumberOfIntersectionPoints,
int);
79 vtkGetMacro(NumberOfIntersectionLines,
int);
107 vtkGetMacro(ComputeIntersectionPointArray,
vtkTypeBool);
108 vtkSetMacro(ComputeIntersectionPointArray,
vtkTypeBool);
109 vtkBooleanMacro(ComputeIntersectionPointArray,
vtkTypeBool);
137 vtkGetMacro(Status,
int);
144 vtkGetMacro(Tolerance,
double);
145 vtkSetMacro(Tolerance,
double);
154 vtkGetMacro(RelativeSubtriangleArea,
double);
155 vtkSetMacro(RelativeSubtriangleArea,
double);
168 static int TriangleTriangleIntersection(
double p1[3],
double q1[3],
169 double r1[3],
double p2[3],
170 double q2[3],
double r2[3],
171 int &coplanar,
double pt1[3],
172 double pt2[3],
double surfaceid[2],
179 static void CleanAndCheckSurface(
vtkPolyData *pd,
double stats[2],
185 static void CleanAndCheckInput(
vtkPolyData *pd,
double tolerance);
200 int NumberOfIntersectionPoints;
201 int NumberOfIntersectionLines;
209 double RelativeSubtriangleArea;
215 #endif // vtkIntersectionPolyDataFilter_h