Go to the documentation of this file.
63 #ifndef vtkIntersectionPolyDataFilter_h
64 #define vtkIntersectionPolyDataFilter_h
66 #include "vtkFiltersGeneralModule.h"
81 vtkGetMacro(NumberOfIntersectionPoints,
int);
82 vtkGetMacro(NumberOfIntersectionLines,
int);
140 vtkGetMacro(Status,
int);
147 vtkGetMacro(Tolerance,
double);
148 vtkSetMacro(Tolerance,
double);
157 vtkGetMacro(RelativeSubtriangleArea,
double);
158 vtkSetMacro(RelativeSubtriangleArea,
double);
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],
203 int NumberOfIntersectionPoints;
204 int NumberOfIntersectionLines;
212 double RelativeSubtriangleArea;
218 #endif // vtkIntersectionPolyDataFilter_h
static void CleanAndCheckInput(vtkPolyData *pd, double tolerance)
Function to clean and check the inputs.
static int TriangleTriangleIntersection(double p1[3], double q1[3], double r1[3], double p2[3], double q2[3], double r2[3], int &coplanar, double pt1[3], double pt2[3], double surfaceid[2], double tolerance)
Given two triangles defined by points (p1, q1, r1) and (p2, q2, r2), returns whether the two triangle...
static vtkIntersectionPolyDataFilter * New()
vtkIntersectionPolyDataFilter()
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
~vtkIntersectionPolyDataFilter() override
int FillInputPortInformation(int, vtkInformation *) override
Fill the input port information objects for this algorithm.
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static void CleanAndCheckSurface(vtkPolyData *pd, double stats[2], double tolerance)
Function to clean and check the output surfaces for bad triangles and free edges.
concrete dataset represents vertices, lines, polygons, and triangle strips
Superclass for algorithms that produce only polydata as output.