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);
162 double r1[3],
double p2[3],
163 double q2[3],
double r2[3],
164 int &coplanar,
double pt1[3],
165 double pt2[3],
double surfaceid[2],
193 int NumberOfIntersectionPoints;
194 int NumberOfIntersectionLines;
195 int SplitFirstOutput;
196 int SplitSecondOutput;
197 int ComputeIntersectionPointArray;
a simple class to control print indentation
vtkIntersectionPolyDataFilter computes the intersection between two vtkPolyData objects.
~vtkIntersectionPolyDataFilter() override
vtkIntersectionPolyDataFilter()
static void CleanAndCheckSurface(vtkPolyData *pd, double stats[2], double tolerance)
Function to clean and check the output surfaces for bad triangles and free edges.
static vtkIntersectionPolyDataFilter * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
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 void CleanAndCheckInput(vtkPolyData *pd, double tolerance)
Function to clean and check the inputs.
Superclass for algorithms that produce only polydata as output.
concrete dataset represents vertices, lines, polygons, and triangle strips
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.