45 #ifndef vtkPlanesIntersection_h 46 #define vtkPlanesIntersection_h 48 #include "vtkCommonDataModelModule.h" 71 void SetRegionVertices(
double *v,
int nvertices);
72 int GetNumberOfRegionVertices();
76 return this->GetNumberOfRegionVertices();
78 int GetRegionVertices(
double *v,
int nvertices);
95 static int PolygonIntersectsBBox(
double bounds[6],
vtkPoints *pts);
108 static void ComputeNormal(
double *p1,
double *p2,
double *p3,
double normal[3]);
109 static double EvaluatePlaneEquation(
double *x,
double *p);
110 static void PlaneEquation(
double *n,
double *x,
double *p);
111 static int GoodNormal(
double *n);
112 static int Invert3x3(
double M[3][3]);
121 int EvaluateFacePlane(
int plane,
vtkPoints *R);
124 void SetPlaneEquations();
125 void ComputeRegionVertices();
127 void planesMatrix(
int p1,
int p2,
int p3,
double M[3][3])
const;
128 int duplicate(
double testv[3])
const;
129 void planesRHS(
int p1,
int p2,
int p3,
double r[3])
const;
130 int outsideRegion(
double v[3]) ;
static vtkPlanes * New()
Standard methods for instantiation, type information, and printing.
implicit function for convex set of planes
A vtkPlanesIntersection object is a vtkPlanes object that can compute whether the arbitrary convex re...
abstract class to specify cell behavior
a simple class to control print indentation
the convex hull of the orthogonal projection of the vtkPoints in the 3 coordinate directions ...
int GetNumRegionVertices()
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiation, type information, and printing.
represent and manipulate 3D points