#include <vtkPointsProjectedHull.h>


a subclass of vtkPoints, it maintains the counter clockwise convex hull of the points (projected orthogonally in the three coordinate directions) and has a method to test for intersection of that hull with an axis aligned rectangle. This is used for intersection tests of 3D volumes.
Definition at line 36 of file vtkPointsProjectedHull.h.
| Public Member Functions | |
| void | PrintSelf (ostream &os, vtkIndent indent) | 
| int | RectangleIntersectionX (vtkPoints *R) | 
| int | RectangleIntersectionX (float ymin, float ymax, float zmin, float zmax) | 
| int | RectangleIntersectionX (double ymin, double ymax, double zmin, double zmax) | 
| int | RectangleIntersectionY (vtkPoints *R) | 
| int | RectangleIntersectionY (float zmin, float zmax, float xmin, float xmax) | 
| int | RectangleIntersectionY (double zmin, double zmax, double xmin, double xmax) | 
| int | RectangleIntersectionZ (vtkPoints *R) | 
| int | RectangleIntersectionZ (float xmin, float xmax, float ymin, float ymax) | 
| int | RectangleIntersectionZ (double xmin, double xmax, double ymin, double ymax) | 
| int | GetCCWHullX (float *pts, int len) | 
| int | GetCCWHullX (double *pts, int len) | 
| int | GetCCWHullY (float *pts, int len) | 
| int | GetCCWHullY (double *pts, int len) | 
| int | GetCCWHullZ (float *pts, int len) | 
| int | GetCCWHullZ (double *pts, int len) | 
| int | GetSizeCCWHullX () | 
| int | GetSizeCCWHullY () | 
| int | GetSizeCCWHullZ () | 
| void | Initialize () | 
| void | Reset () | 
| void | Update () | 
| Static Public Member Functions | |
| static vtkPointsProjectedHull * | New () | 
| Protected Member Functions | |
| vtkPointsProjectedHull () | |
| ~vtkPointsProjectedHull () | |
| vtkPointsProjectedHull::vtkPointsProjectedHull | ( | ) |  [protected] | 
| vtkPointsProjectedHull::~vtkPointsProjectedHull | ( | ) |  [protected] | 
| void vtkPointsProjectedHull::PrintSelf | ( | ostream & | os, | |
| vtkIndent | indent | |||
| ) |  [virtual] | 
| static vtkPointsProjectedHull* vtkPointsProjectedHull::New | ( | ) |  [static] | 
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkPoints.
| int vtkPointsProjectedHull::RectangleIntersectionX | ( | vtkPoints * | R | ) | 
determine whether the resulting rectangle intersects the convex hull of the projection of the points along that axis.
| int vtkPointsProjectedHull::RectangleIntersectionX | ( | float | ymin, | |
| float | ymax, | |||
| float | zmin, | |||
| float | zmax | |||
| ) | 
the convex hull of the projection of the points along the positive X-axis.
| int vtkPointsProjectedHull::RectangleIntersectionX | ( | double | ymin, | |
| double | ymax, | |||
| double | zmin, | |||
| double | zmax | |||
| ) | 
| int vtkPointsProjectedHull::RectangleIntersectionY | ( | vtkPoints * | R | ) | 
of the parallel projection along the Y axis of the points
| int vtkPointsProjectedHull::RectangleIntersectionY | ( | float | zmin, | |
| float | zmax, | |||
| float | xmin, | |||
| float | xmax | |||
| ) | 
the convex hull of the projection of the points along the positive Y-axis.
| int vtkPointsProjectedHull::RectangleIntersectionY | ( | double | zmin, | |
| double | zmax, | |||
| double | xmin, | |||
| double | xmax | |||
| ) | 
| int vtkPointsProjectedHull::RectangleIntersectionZ | ( | vtkPoints * | R | ) | 
of the parallel projection along the Z axis of the points
| int vtkPointsProjectedHull::RectangleIntersectionZ | ( | float | xmin, | |
| float | xmax, | |||
| float | ymin, | |||
| float | ymax | |||
| ) | 
the convex hull of the projection of the points along the positive Z-axis.
| int vtkPointsProjectedHull::RectangleIntersectionZ | ( | double | xmin, | |
| double | xmax, | |||
| double | ymin, | |||
| double | ymax | |||
| ) | 
| int vtkPointsProjectedHull::GetCCWHullX | ( | float * | pts, | |
| int | len | |||
| ) | 
Returns the coordinates (y,z) of the points in the convex hull of the projection of the points down the positive x-axis. pts has storage for len*2 values.
| int vtkPointsProjectedHull::GetCCWHullX | ( | double * | pts, | |
| int | len | |||
| ) | 
| int vtkPointsProjectedHull::GetCCWHullY | ( | float * | pts, | |
| int | len | |||
| ) | 
Returns the coordinates (z, x) of the points in the convex hull of the projection of the points down the positive y-axis. pts has storage for len*2 values.
| int vtkPointsProjectedHull::GetCCWHullY | ( | double * | pts, | |
| int | len | |||
| ) | 
| int vtkPointsProjectedHull::GetCCWHullZ | ( | float * | pts, | |
| int | len | |||
| ) | 
Returns the coordinates (x, y) of the points in the convex hull of the projection of the points down the positive z-axis. pts has storage for len*2 values.
| int vtkPointsProjectedHull::GetCCWHullZ | ( | double * | pts, | |
| int | len | |||
| ) | 
| int vtkPointsProjectedHull::GetSizeCCWHullX | ( | ) | 
Returns the number of points in the convex hull of the projection of the points down the positive x-axis
| int vtkPointsProjectedHull::GetSizeCCWHullY | ( | ) | 
Returns the number of points in the convex hull of the projection of the points down the positive y-axis
| int vtkPointsProjectedHull::GetSizeCCWHullZ | ( | ) | 
Returns the number of points in the convex hull of the projection of the points down the positive z-axis
| void vtkPointsProjectedHull::Initialize | ( | ) |  [virtual] | 
Return object to instantiated state.
Reimplemented from vtkPoints.
| void vtkPointsProjectedHull::Reset | ( | ) |  [inline, virtual] | 
Make object look empty but do not delete memory.
Reimplemented from vtkPoints.
Definition at line 113 of file vtkPointsProjectedHull.h.
| void vtkPointsProjectedHull::Update | ( | ) | 
Forces recalculation of convex hulls, use this if you delete/add points
 1.5.6
 1.5.6