63 #ifndef vtkIntersectionPolyDataFilter_h 64 #define vtkIntersectionPolyDataFilter_h 66 #include "vtkFiltersGeneralModule.h" 81 vtkGetMacro(NumberOfIntersectionPoints,
int);
82 vtkGetMacro(NumberOfIntersectionLines,
int);
90 vtkGetMacro(SplitFirstOutput,
int);
100 vtkGetMacro(SplitSecondOutput,
int);
110 vtkGetMacro(ComputeIntersectionPointArray,
int);
119 vtkGetMacro(CheckInput,
int);
129 vtkGetMacro(CheckMesh,
int);
140 vtkGetMacro(Status,
int);
147 vtkGetMacro(Tolerance,
double);
157 vtkGetMacro(RelativeSubtriangleArea,
double);
171 static int TriangleTriangleIntersection(
double p1[3],
double q1[3],
172 double r1[3],
double p2[3],
173 double q2[3],
double r2[3],
174 int &coplanar,
double pt1[3],
175 double pt2[3],
double surfaceid[2],
182 static void CleanAndCheckSurface(
vtkPolyData *pd,
double stats[2],
188 static void CleanAndCheckInput(
vtkPolyData *pd,
double tolerance);
203 int NumberOfIntersectionPoints;
204 int NumberOfIntersectionLines;
205 int SplitFirstOutput;
206 int SplitSecondOutput;
207 int ComputeIntersectionPointArray;
212 double RelativeSubtriangleArea;
218 #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
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
vtkIntersectionPolyDataFilter computes the intersection between two vtkPolyData objects.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.