44 #ifndef vtkPlanesIntersection_h
45 #define vtkPlanesIntersection_h
67 void SetRegionVertices(
double *v,
int nvertices);
68 int GetNumberOfRegionVertices();
72 return this->GetNumberOfRegionVertices();
74 int GetRegionVertices(
double *v,
int nvertices);
85 static int PolygonIntersectsBBox(
double bounds[6],
vtkPoints *pts);
96 static void ComputeNormal(
double *p1,
double *p2,
double *p3,
double normal[3]);
97 static double EvaluatePlaneEquation(
double *x,
double *p);
98 static void PlaneEquation(
double *n,
double *x,
double *p);
99 static int GoodNormal(
double *n);
100 static int Invert3x3(
double M[3][3]);
109 int EvaluateFacePlane(
int plane,
vtkPoints *R);
112 void SetPlaneEquations();
113 void ComputeRegionVertices();
115 void planesMatrix(
int p1,
int p2,
int p3,
double M[3][3])
const;
116 int duplicate(
double testv[3])
const;
117 void planesRHS(
int p1,
int p2,
int p3,
double r[3])
const;
118 int outsideRegion(
double v[3]) ;
void PrintSelf(ostream &os, vtkIndent indent)
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()
#define VTKCOMMONDATAMODEL_EXPORT
represent and manipulate 3D points