|
virtual int | IsA (const char *type) |
|
vtkAreaPicker * | NewInstance () const |
|
void | PrintSelf (ostream &os, vtkIndent indent) |
|
void | SetPickCoords (double x0, double y0, double x1, double y1) |
|
void | SetRenderer (vtkRenderer *) |
|
virtual int | Pick () |
|
virtual int | AreaPick (double x0, double y0, double x1, double y1, vtkRenderer *renderer=NULL) |
|
|
virtual int | Pick (double x0, double y0, double vtkNotUsed(z0), vtkRenderer *renderer=NULL) |
|
|
virtual vtkAbstractMapper3D * | GetMapper () |
|
|
virtual vtkDataSet * | GetDataSet () |
|
|
vtkProp3DCollection * | GetProp3Ds () |
|
|
virtual vtkPlanes * | GetFrustum () |
|
|
virtual vtkPoints * | GetClipPoints () |
|
vtkAbstractPropPicker * | NewInstance () const |
|
virtual vtkProp * | GetViewProp () |
|
virtual vtkProp3D * | GetProp3D () |
|
virtual vtkActor * | GetActor () |
|
virtual vtkActor2D * | GetActor2D () |
|
virtual vtkVolume * | GetVolume () |
|
virtual vtkAssembly * | GetAssembly () |
|
virtual vtkPropAssembly * | GetPropAssembly () |
|
virtual void | SetPath (vtkAssemblyPath *) |
|
virtual vtkAssemblyPath * | GetPath () |
|
vtkAbstractPicker * | NewInstance () const |
|
void | InitializePickList () |
|
void | AddPickList (vtkProp *) |
|
void | DeletePickList (vtkProp *) |
|
vtkPropCollection * | GetPickList () |
|
virtual vtkRenderer * | GetRenderer () |
|
virtual double * | GetSelectionPoint () |
|
virtual void | GetSelectionPoint (double data[3]) |
|
virtual double * | GetPickPosition () |
|
virtual void | GetPickPosition (double data[3]) |
|
virtual int | Pick (double selectionX, double selectionY, double selectionZ, vtkRenderer *renderer)=0 |
|
int | Pick (double selectionPt[3], vtkRenderer *ren) |
|
virtual void | SetPickFromList (int) |
|
virtual int | GetPickFromList () |
|
virtual void | PickFromListOn () |
|
virtual void | PickFromListOff () |
|
vtkObject * | NewInstance () const |
|
virtual void | DebugOn () |
|
virtual void | DebugOff () |
|
bool | GetDebug () |
|
void | SetDebug (bool debugFlag) |
|
virtual void | Modified () |
|
virtual unsigned long | GetMTime () |
|
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 () |
|
Picks props behind a selection rectangle on a viewport.
The vtkAreaPicker picks all vtkProp3Ds that lie behind the screen space rectangle from x0,y0 and x1,y1. The selection is based upon the bounding box of the prop and is thus not exact.
Like vtkPicker, a pick results in a list of Prop3Ds because many props may lie within the pick frustum. You can also get an AssemblyPath, which in this case is defined to be the path to the one particular prop in the Prop3D list that lies nearest to the near plane.
This picker also returns the selection frustum, defined as either a vtkPlanes, or a set of eight corner vertices in world space. The vtkPlanes version is an ImplicitFunction, which is suitable for use with the vtkExtractGeometry. The six frustum planes are in order: left, right, bottom, top, near, far
Because this picker picks everything within a volume, the world pick point result is ill-defined. Therefore if you ask this class for the world pick position, you will get the centroid of the pick frustum. This may be outside of all props in the prop list.
- See also
- vtkInteractorStyleRubberBandPick, vtkExtractSelectedFrustum.
- Events:
- vtkCommand::PickEvent vtkCommand::EndPickEvent vtkCommand::StartPickEvent
- Tests:
- vtkAreaPicker (Tests)
Definition at line 64 of file vtkAreaPicker.h.