|
VTK
|
the convex hull of the orthogonal projection of the vtkPoints in the 3 coordinate directions More...
#include <vtkPointsProjectedHull.h>
Public Member Functions | |
| virtual int | IsA (const char *type) |
| vtkPointsProjectedHull * | NewInstance () 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 () |
Public Member Functions inherited from vtkPoints | |
| vtkPoints * | NewInstance () const |
| virtual int | Allocate (const vtkIdType sz, const vtkIdType ext=1000) |
| virtual int | GetDataType () |
| void * | GetVoidPointer (const int id) |
| virtual void | Squeeze () |
| unsigned long | GetActualMemorySize () |
| vtkIdType | GetNumberOfPoints () |
| double * | GetPoint (vtkIdType id) |
| void | GetPoint (vtkIdType id, double x[3]) |
| void | SetNumberOfPoints (vtkIdType numPoints) |
| int | Resize (vtkIdType numPoints) |
| void | GetPoints (vtkIdList *ptId, vtkPoints *fp) |
| virtual void | ComputeBounds () |
| double * | GetBounds () |
| void | GetBounds (double bounds[6]) |
| unsigned long int | GetMTime () |
| virtual void | SetData (vtkDataArray *) |
| vtkDataArray * | GetData () |
| virtual void | SetDataType (int dataType) |
| void | SetDataTypeToBit () |
| void | SetDataTypeToChar () |
| void | SetDataTypeToUnsignedChar () |
| void | SetDataTypeToShort () |
| void | SetDataTypeToUnsignedShort () |
| void | SetDataTypeToInt () |
| void | SetDataTypeToUnsignedInt () |
| void | SetDataTypeToLong () |
| void | SetDataTypeToUnsignedLong () |
| void | SetDataTypeToFloat () |
| void | SetDataTypeToDouble () |
| virtual void | DeepCopy (vtkPoints *ad) |
| virtual void | ShallowCopy (vtkPoints *ad) |
| void | SetPoint (vtkIdType id, const float x[3]) |
| void | SetPoint (vtkIdType id, const double x[3]) |
| void | SetPoint (vtkIdType id, double x, double y, double z) |
| void | InsertPoint (vtkIdType id, const float x[3]) |
| void | InsertPoint (vtkIdType id, const double x[3]) |
| void | InsertPoint (vtkIdType id, double x, double y, double z) |
| void | InsertPoints (vtkIdList *dstIds, vtkIdList *srcIds, vtkPoints *source) |
| void | InsertPoints (vtkIdType dstStart, vtkIdType n, vtkIdType srcStart, vtkPoints *source) |
| vtkIdType | InsertNextPoint (const float x[3]) |
| vtkIdType | InsertNextPoint (const double x[3]) |
| vtkIdType | InsertNextPoint (double x, double y, double z) |
Public Member Functions inherited from vtkObject | |
| 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) |
Public Member Functions inherited from vtkObjectBase | |
| 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 () |
Static Public Member Functions | |
| static int | IsTypeOf (const char *type) |
| static vtkPointsProjectedHull * | SafeDownCast (vtkObjectBase *o) |
| static vtkPointsProjectedHull * | New () |
Static Public Member Functions inherited from vtkPoints | |
| static vtkPoints * | New (int dataType) |
| static vtkPoints * | New () |
| static int | IsTypeOf (const char *type) |
| static vtkPoints * | SafeDownCast (vtkObjectBase *o) |
Static Public Member Functions inherited from vtkObject | |
| static int | IsTypeOf (const char *type) |
| static vtkObject * | SafeDownCast (vtkObjectBase *o) |
| static vtkObject * | New () |
| static void | BreakOnError () |
| static void | SetGlobalWarningDisplay (int val) |
| static void | GlobalWarningDisplayOn () |
| static void | GlobalWarningDisplayOff () |
| static int | GetGlobalWarningDisplay () |
Static Public Member Functions inherited from vtkObjectBase | |
| static int | IsTypeOf (const char *name) |
| static vtkObjectBase * | New () |
Protected Member Functions | |
| virtual vtkObjectBase * | NewInstanceInternal () const |
| vtkPointsProjectedHull () | |
| ~vtkPointsProjectedHull () | |
Protected Member Functions inherited from vtkPoints | |
| vtkPoints (int dataType=VTK_FLOAT) | |
| ~vtkPoints () | |
Protected Member Functions inherited from vtkObject | |
| vtkObject () | |
| virtual | ~vtkObject () |
| virtual void | RegisterInternal (vtkObjectBase *, int check) |
| virtual void | UnRegisterInternal (vtkObjectBase *, int check) |
| void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL) |
| void | InternalReleaseFocus () |
Protected Member Functions inherited from vtkObjectBase | |
| vtkObjectBase () | |
| virtual | ~vtkObjectBase () |
| virtual void | CollectRevisions (ostream &) |
| virtual void | ReportReferences (vtkGarbageCollector *) |
| vtkObjectBase (const vtkObjectBase &) | |
| void | operator= (const vtkObjectBase &) |
Additional Inherited Members | |
Public Types inherited from vtkPoints | |
| typedef vtkObject | Superclass |
Public Types inherited from vtkObject | |
| typedef vtkObjectBase | Superclass |
Protected Attributes inherited from vtkPoints | |
| double | Bounds [6] |
| vtkTimeStamp | ComputeTime |
| vtkDataArray * | Data |
Protected Attributes inherited from vtkObject | |
| bool | Debug |
| vtkTimeStamp | MTime |
| vtkSubjectHelper * | SubjectHelper |
Protected Attributes inherited from vtkObjectBase | |
| vtkAtomicInt32 | ReferenceCount |
| vtkWeakPointerBase ** | WeakPointers |
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.
|
protected |
|
protected |
|
static |
|
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.
|
static |
|
protectedvirtual |
Reimplemented from vtkPoints.
| vtkPointsProjectedHull* vtkPointsProjectedHull::NewInstance | ( | ) | const |
|
virtual |
|
static |
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 | ||
| ) |
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 | ||
| ) |
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 | ||
| ) |
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.
| 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
|
virtual |
Return object to instantiated state.
Reimplemented from vtkPoints.
|
inlinevirtual |
Make object look empty but do not delete memory.
Reimplemented from vtkPoints.
Definition at line 114 of file vtkPointsProjectedHull.h.
| void vtkPointsProjectedHull::Update | ( | ) |
Forces recalculation of convex hulls, use this if you delete/add points
1.8.9.1