|
virtual int | IsA (const char *type) |
|
vtkPlanesIntersection * | NewInstance () const |
|
void | PrintSelf (ostream &os, vtkIndent indent) |
|
void | SetRegionVertices (vtkPoints *pts) |
|
void | SetRegionVertices (double *v, int nvertices) |
|
int | GetNumberOfRegionVertices () |
|
int | GetNumRegionVertices () |
|
int | GetRegionVertices (double *v, int nvertices) |
|
int | IntersectsRegion (vtkPoints *R) |
|
vtkPlanes * | NewInstance () const |
|
void | EvaluateGradient (double x[3], double n[3]) |
|
void | SetFrustumPlanes (double planes[24]) |
|
int | GetNumberOfPlanes () |
|
double | EvaluateFunction (double x[3]) |
|
double | EvaluateFunction (double x, double y, double z) |
|
virtual void | SetPoints (vtkPoints *) |
|
virtual vtkPoints * | GetPoints () |
|
void | SetNormals (vtkDataArray *normals) |
|
virtual vtkDataArray * | GetNormals () |
|
void | SetBounds (const double bounds[6]) |
|
void | SetBounds (double xmin, double xmax, double ymin, double ymax, double zmin, double zmax) |
|
vtkPlane * | GetPlane (int i) |
|
void | GetPlane (int i, vtkPlane *plane) |
|
vtkImplicitFunction * | NewInstance () const |
|
unsigned long | GetMTime () |
|
double | FunctionValue (const double x[3]) |
|
double | FunctionValue (double x, double y, double z) |
|
void | FunctionGradient (const double x[3], double g[3]) |
|
double * | FunctionGradient (const double x[3]) |
|
double * | FunctionGradient (double x, double y, double z) |
|
virtual void | SetTransform (vtkAbstractTransform *) |
|
virtual void | SetTransform (const double elements[16]) |
|
virtual vtkAbstractTransform * | GetTransform () |
|
double | EvaluateFunction (double x, double y, double z) |
|
vtkObject * | NewInstance () const |
|
virtual void | DebugOn () |
|
virtual void | DebugOff () |
|
bool | GetDebug () |
|
void | SetDebug (bool debugFlag) |
|
virtual void | Modified () |
|
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
|
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
|
vtkCommand * | GetCommand (unsigned long tag) |
|
void | RemoveObserver (vtkCommand *) |
|
void | RemoveObservers (unsigned long event, vtkCommand *) |
|
void | RemoveObservers (const char *event, vtkCommand *) |
|
int | HasObserver (unsigned long event, vtkCommand *) |
|
int | HasObserver (const char *event, vtkCommand *) |
|
void | RemoveObserver (unsigned long tag) |
|
void | RemoveObservers (unsigned long event) |
|
void | RemoveObservers (const char *event) |
|
void | RemoveAllObservers () |
|
int | HasObserver (unsigned long event) |
|
int | HasObserver (const char *event) |
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
|
int | InvokeEvent (unsigned long event, void *callData) |
|
int | InvokeEvent (const char *event, void *callData) |
|
int | InvokeEvent (unsigned long event) |
|
int | InvokeEvent (const char *event) |
|
const char * | GetClassName () const |
|
virtual void | Delete () |
|
virtual void | FastDelete () |
|
void | Print (ostream &os) |
|
virtual void | Register (vtkObjectBase *o) |
|
virtual void | UnRegister (vtkObjectBase *o) |
|
void | SetReferenceCount (int) |
|
void | PrintRevisions (ostream &) |
|
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
|
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
|
int | GetReferenceCount () |
|
A vtkPlanesIntersection object is a vtkPlanes object that can compute whether the arbitrary convex region bounded by it's planes intersects an axis-aligned box.
A subclass of vtkPlanes, this class determines whether it intersects an axis aligned box. This is motivated by the need to intersect the axis aligned region of a spacial decomposition of volume data with various other regions. It uses the algorithm from Graphics Gems IV, page 81.
- Caveat:
- An instance of vtkPlanes can be redefined by changing the planes, but this subclass then will not know if the region vertices are up to date. (Region vertices can be specified in SetRegionVertices or computed by the subclass.) So Delete and recreate if you want to change the set of planes.
- Tests:
- vtkPlanesIntersection (Tests)
Definition at line 54 of file vtkPlanesIntersection.h.