Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkPointsProjectedHull Class Reference

#include <vtkPointsProjectedHull.h>

Inheritance diagram for vtkPointsProjectedHull:

Inheritance graph
[legend]
Collaboration diagram for vtkPointsProjectedHull:

Collaboration graph
[legend]
List of all members.

Detailed Description

the convex hull of the orthogonal projection of the vtkPoints in the 3 coordinate directions

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.

Created by:
  • Law, Charles
CVS contributions (if > 5%):
  • Law, Charles (95%)
CVS logs (CVSweb):
  • .cxx (/Parallel/vtkPointsProjectedHull.cxx)
  • .h (/Parallel/vtkPointsProjectedHull.h)

Definition at line 46 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

vtkPointsProjectedHullNew ()

Protected Member Functions

 vtkPointsProjectedHull ()
 ~vtkPointsProjectedHull ()


Constructor & Destructor Documentation

vtkPointsProjectedHull::vtkPointsProjectedHull  )  [protected]
 

vtkPointsProjectedHull::~vtkPointsProjectedHull  )  [protected]
 


Member Function Documentation

void vtkPointsProjectedHull::PrintSelf ostream &  os,
vtkIndent  indent
[virtual]
 

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkPoints.

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 123 of file vtkPointsProjectedHull.h.

References vtkPoints::Initialize().

void vtkPointsProjectedHull::Update  ) 
 

Forces recalculation of convex hulls, use this if you delete/add points


The documentation for this class was generated from the following file: