61#ifndef vtkPlanesIntersection_h
62#define vtkPlanesIntersection_h
64#include "vtkCommonDataModelModule.h"
120 static void ComputeNormal(
double* p1,
double* p2,
double* p3,
double normal[3]);
132 int EvaluateFacePlane(
int plane,
vtkPoints* R);
135 void SetPlaneEquations();
136 void ComputeRegionVertices();
138 void planesMatrix(
int p1,
int p2,
int p3,
double M[3][3])
const;
139 int duplicate(
double testv[3])
const;
140 void planesRHS(
int p1,
int p2,
int p3,
double r[3])
const;
141 int outsideRegion(
double v[3]);
abstract class to specify cell behavior
a simple class to control print indentation
A vtkPlanesIntersection object is a vtkPlanes object that can compute whether the arbitrary convex re...
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...
int GetRegionVertices(double *v, int nvertices)
void SetRegionVertices(double *v, int nvertices)
static void ComputeNormal(double *p1, double *p2, double *p3, double normal[3])
static int GoodNormal(double *n)
static int Invert3x3(double M[3][3])
int GetNumRegionVertices()
static double EvaluatePlaneEquation(double *x, double *p)
~vtkPlanesIntersection() override
int GetNumberOfRegionVertices()
static vtkPlanesIntersection * Convert3DCell(vtkCell *cell)
Another convenience function provided by this class, returns the vtkPlanesIntersection object represe...
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiation, type information, and printing.
void SetRegionVertices(vtkPoints *pts)
It helps if you know the vertices of the convex region.
static vtkPlanesIntersection * New()
static void PlaneEquation(double *n, double *x, double *p)
int IntersectsRegion(vtkPoints *R)
Return 1 if the axis aligned box defined by R intersects the region defined by the planes,...
implicit function for convex set of planes
the convex hull of the orthogonal projection of the vtkPoints in the 3 coordinate directions
represent and manipulate 3D points