30#ifndef vtkPlanesIntersection_h 
   31#define vtkPlanesIntersection_h 
   33#include "vtkCommonDataModelModule.h"  
   36VTK_ABI_NAMESPACE_BEGIN
 
   90  static void ComputeNormal(
double* p1, 
double* p2, 
double* p3, 
double normal[3]);
 
  102  int EvaluateFacePlane(
int plane, 
vtkPoints* R);
 
  103  int IntersectsProjection(
vtkPoints* R, 
int direction);
 
  105  void SetPlaneEquations();
 
  106  void ComputeRegionVertices();
 
  108  void planesMatrix(
int p1, 
int p2, 
int p3, 
double M[3][3]) 
const;
 
  109  int duplicate(
double testv[3]) 
const;
 
  110  void planesRHS(
int p1, 
int p2, 
int p3, 
double r[3]) 
const;
 
  111  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