VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkRenderedAreaPicker Class Reference

Uses graphics hardware to picks props behind a selection rectangle on a viewport. More...

#include <vtkRenderedAreaPicker.h>

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

List of all members.

Public Types

typedef vtkAreaPicker Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkRenderedAreaPickerNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual int AreaPick (double x0, double y0, double x1, double y1, vtkRenderer *)

Static Public Member Functions

static vtkRenderedAreaPickerNew ()
static int IsTypeOf (const char *type)
static vtkRenderedAreaPickerSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkRenderedAreaPicker ()
 ~vtkRenderedAreaPicker ()

Detailed Description

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.

Events:
vtkCommand::PickEvent vtkCommand::EndPickEvent vtkCommand::StartPickEvent
Tests:
vtkRenderedAreaPicker (Tests)

Definition at line 45 of file vtkRenderedAreaPicker.h.


Member Typedef Documentation

Reimplemented from vtkAreaPicker.

Definition at line 49 of file vtkRenderedAreaPicker.h.


Constructor & Destructor Documentation


Member Function Documentation

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

Reimplemented from vtkAreaPicker.

static int vtkRenderedAreaPicker::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 vtkAreaPicker.

virtual int vtkRenderedAreaPicker::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 vtkAreaPicker.

Reimplemented from vtkAreaPicker.

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

Reimplemented from vtkAreaPicker.

Reimplemented from vtkAreaPicker.

void vtkRenderedAreaPicker::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 vtkAreaPicker.

virtual int vtkRenderedAreaPicker::AreaPick ( double  x0,
double  y0,
double  x1,
double  y1,
vtkRenderer  
) [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.


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