Go to the documentation of this file.
45 #ifndef vtkPlanesIntersection_h
46 #define vtkPlanesIntersection_h
48 #include "vtkCommonDataModelModule.h"
76 return this->GetNumberOfRegionVertices();
108 static void ComputeNormal(
double *p1,
double *p2,
double *p3,
double normal[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]) ;
represent and manipulate 3D points
int GetRegionVertices(double *v, int nvertices)
static void ComputeNormal(double *p1, double *p2, double *p3, double normal[3])
static int Invert3x3(double M[3][3])
int GetNumberOfRegionVertices()
void SetRegionVertices(vtkPoints *pts)
It helps if you know the vertices of the convex region.
static int GoodNormal(double *n)
static vtkPlanesIntersection * Convert3DCell(vtkCell *cell)
Another convenience function provided by this class, returns the vtkPlanesIntersection object represe...
implicit function for convex set of planes
int GetNumRegionVertices()
static vtkPlanesIntersection * New()
A vtkPlanesIntersection object is a vtkPlanes object that can compute whether the arbitrary convex re...
the convex hull of the orthogonal projection of the vtkPoints in the 3 coordinate directions
void SetRegionVertices(double *v, int nvertices)
static double EvaluatePlaneEquation(double *x, double *p)
abstract class to specify cell behavior
static void PlaneEquation(double *n, double *x, double *p)
static int PolygonIntersectsBBox(double bounds[6], vtkPoints *pts)
A convenience function provided by this class, returns 1 if the polygon defined in pts intersects the...
a simple class to control print indentation
int IntersectsRegion(vtkPoints *R)
Return 1 if the axis aligned box defined by R intersects the region defined by the planes,...
~vtkPlanesIntersection() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.