|
VTK
|
Uses graphics hardware to picks props behind a selection rectangle on a viewport. More...
#include <vtkRenderedAreaPicker.h>
Public Types | |
| typedef vtkAreaPicker | Superclass |
Public Types inherited from vtkAreaPicker | |
| typedef vtkAbstractPropPicker | Superclass |
Public Types inherited from vtkAbstractPropPicker | |
| typedef vtkAbstractPicker | Superclass |
Public Types inherited from vtkAbstractPicker | |
| typedef vtkObject | Superclass |
Public Types inherited from vtkObject | |
| typedef vtkObjectBase | Superclass |
Public Member Functions | |
| virtual const char * | GetClassName () |
| virtual int | IsA (const char *type) |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| virtual int | AreaPick (double x0, double y0, double x1, double y1, vtkRenderer *renderer) |
Public Member Functions inherited from vtkAreaPicker | |
| void | SetPickCoords (double x0, double y0, double x1, double y1) |
| void | SetRenderer (vtkRenderer *) |
| virtual int | Pick () |
| vtkProp3DCollection * | GetProp3Ds () |
| virtual int | Pick (double x0, double y0, double vtkNotUsed(z0), vtkRenderer *renderer=NULL) |
| virtual vtkAbstractMapper3D * | GetMapper () |
| virtual vtkDataSet * | GetDataSet () |
| virtual vtkPlanes * | GetFrustum () |
| virtual vtkPoints * | GetClipPoints () |
Public Member Functions inherited from vtkAbstractPropPicker | |
| virtual vtkProp * | GetViewProp () |
| virtual vtkProp3D * | GetProp3D () |
| virtual vtkActor * | GetActor () |
| virtual vtkActor2D * | GetActor2D () |
| virtual vtkVolume * | GetVolume () |
| virtual vtkAssembly * | GetAssembly () |
| virtual vtkPropAssembly * | GetPropAssembly () |
| virtual vtkProp * | GetProp () |
| virtual void | SetPath (vtkAssemblyPath *) |
| virtual vtkAssemblyPath * | GetPath () |
Public Member Functions inherited from vtkAbstractPicker | |
| 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 () |
Public Member Functions inherited from vtkObject | |
| virtual void | DebugOn () |
| virtual void | DebugOff () |
| unsigned char | GetDebug () |
| void | SetDebug (unsigned char 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) |
| 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 &os) |
| virtual void | PrintHeader (ostream &os, vtkIndent indent) |
| virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
| int | GetReferenceCount () |
Static Public Member Functions | |
| static vtkRenderedAreaPicker * | New () |
| static int | IsTypeOf (const char *type) |
| static vtkRenderedAreaPicker * | SafeDownCast (vtkObject *o) |
Static Public Member Functions inherited from vtkAreaPicker | |
| static vtkAreaPicker * | New () |
| static int | IsTypeOf (const char *type) |
| static vtkAreaPicker * | SafeDownCast (vtkObject *o) |
Static Public Member Functions inherited from vtkAbstractPropPicker | |
| static int | IsTypeOf (const char *type) |
| static vtkAbstractPropPicker * | SafeDownCast (vtkObject *o) |
Static Public Member Functions inherited from vtkAbstractPicker | |
| static int | IsTypeOf (const char *type) |
| static vtkAbstractPicker * | SafeDownCast (vtkObject *o) |
Static Public Member Functions inherited from vtkObject | |
| static int | IsTypeOf (const char *type) |
| static vtkObject * | SafeDownCast (vtkObject *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 | |
| vtkRenderedAreaPicker () | |
| ~vtkRenderedAreaPicker () | |
Protected Member Functions inherited from vtkAreaPicker | |
| vtkAreaPicker () | |
| ~vtkAreaPicker () | |
| virtual void | Initialize () |
| void | DefineFrustum (double x0, double y0, double x1, double y1, vtkRenderer *renderer) |
| virtual int | PickProps (vtkRenderer *renderer) |
| int | TypeDecipher (vtkProp *, vtkImageActor **, vtkAbstractMapper3D **) |
| int | ABoxFrustumIsect (double bounds[], double &mindist) |
Protected Member Functions inherited from vtkAbstractPropPicker | |
| vtkAbstractPropPicker () | |
| ~vtkAbstractPropPicker () | |
Protected Member Functions inherited from vtkAbstractPicker | |
| vtkAbstractPicker () | |
| ~vtkAbstractPicker () | |
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 &os) |
| virtual void | ReportReferences (vtkGarbageCollector *) |
| vtkObjectBase (const vtkObjectBase &) | |
| void | operator= (const vtkObjectBase &) |
Additional Inherited Members | |
Protected Attributes inherited from vtkAreaPicker | |
| vtkPoints * | ClipPoints |
| vtkPlanes * | Frustum |
| vtkProp3DCollection * | Prop3Ds |
| vtkAbstractMapper3D * | Mapper |
| vtkDataSet * | DataSet |
| vtkExtractSelectedFrustum * | FrustumExtractor |
| double | X0 |
| double | Y0 |
| double | X1 |
| double | Y1 |
Protected Attributes inherited from vtkAbstractPropPicker | |
| vtkAssemblyPath * | Path |
Protected Attributes inherited from vtkAbstractPicker | |
| vtkRenderer * | Renderer |
| double | SelectionPoint [3] |
| double | PickPosition [3] |
| int | PickFromList |
| vtkPropCollection * | PickList |
Protected Attributes inherited from vtkObject | |
| unsigned char | Debug |
| vtkTimeStamp | MTime |
| vtkSubjectHelper * | SubjectHelper |
Protected Attributes inherited from vtkObjectBase | |
| int | ReferenceCount |
| vtkWeakPointerBase ** | WeakPointers |
Uses graphics hardware to picks props behind a selection rectangle on a viewport.
Like vtkAreaPicker, this class picks all props within a selection area on the screen. The difference is in implementation. This class uses graphics hardware to perform the test where the other uses software bounding box/frustum intersection testing.
This picker is more conservative than vtkAreaPicker. It will reject some objects that pass the bounding box test of vtkAreaPicker. This will happen, for instance, when picking through a corner of the bounding box when the data set does not have any visible geometry in that corner.
Definition at line 44 of file vtkRenderedAreaPicker.h.
Definition at line 48 of file vtkRenderedAreaPicker.h.
|
protected |
|
protected |
|
static |
|
virtual |
Reimplemented from vtkAreaPicker.
|
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 vtkAreaPicker.
|
static |
|
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 vtkAreaPicker.
|
virtual |
Perform pick operation in volume behind the given screen coordinates. Props intersecting the selection frustum will be accessible via GetProp3D. GetPlanes returns a vtkImplicitFunciton suitable for vtkExtractGeometry.
Reimplemented from vtkAreaPicker.
1.8.8