VTK
Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkPointsProjectedHull Class Reference

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

#include <vtkPointsProjectedHull.h>

Inheritance diagram for vtkPointsProjectedHull:
Inheritance graph
[legend]
Collaboration diagram for vtkPointsProjectedHull:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual int IsA (const char *type)
vtkPointsProjectedHullNewInstance () const
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 int IsTypeOf (const char *type)
static vtkPointsProjectedHullSafeDownCast (vtkObjectBase *o)
static vtkPointsProjectedHullNew ()

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkPointsProjectedHull ()
 ~vtkPointsProjectedHull ()

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.

Definition at line 37 of file vtkPointsProjectedHull.h.


Constructor & Destructor Documentation


Member Function Documentation

static int vtkPointsProjectedHull::IsTypeOf ( const char *  name) [static]

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkPoints.

virtual int vtkPointsProjectedHull::IsA ( const char *  name) [virtual]

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkPoints.

Reimplemented from vtkPoints.

virtual vtkObjectBase* vtkPointsProjectedHull::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkPoints.

Reimplemented from vtkPoints.

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.

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkPoints.

determine whether the resulting rectangle intersects the convex hull of the projection of the points along that axis.

the convex hull of the projection of the points along the positive X-axis.

of the parallel projection along the Y axis of the points

the convex hull of the projection of the points along the positive Y-axis.

of the parallel projection along the Z axis of the points

the convex hull of the projection of the points along the positive Z-axis.

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.

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.

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.

Returns the number of points in the convex hull of the projection of the points down the positive x-axis

Returns the number of points in the convex hull of the projection of the points down the positive y-axis

Returns the number of points in the convex hull of the projection of the points down the positive z-axis

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

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


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