41 #ifndef vtkPlanesIntersection_h
42 #define vtkPlanesIntersection_h
64 void SetRegionVertices(
double *v,
int nvertices);
65 int GetNumRegionVertices();
66 int GetRegionVertices(
double *v,
int nvertices);
77 static int PolygonIntersectsBBox(
double bounds[6],
vtkPoints *pts);
88 static void ComputeNormal(
double *p1,
double *p2,
double *p3,
double normal[3]);
89 static double EvaluatePlaneEquation(
double *x,
double *p);
90 static void PlaneEquation(
double *n,
double *x,
double *p);
91 static int GoodNormal(
double *n);
92 static int Invert3x3(
double M[3][3]);
101 int EvaluateFacePlane(
int plane,
vtkPoints *R);
104 void SetPlaneEquations();
105 void ComputeRegionVertices();
107 void planesMatrix(
int p1,
int p2,
int p3,
double M[3][3])
const;
108 int duplicate(
double testv[3])
const;
109 void planesRHS(
int p1,
int p2,
int p3,
double r[3])
const;
110 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 ...
#define VTKCOMMONDATAMODEL_EXPORT
represent and manipulate 3D points