#include <vtkRenderedAreaPicker.h>
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.
Public Types | |
typedef vtkAreaPicker | 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) |
Static Public Member Functions | |
static vtkRenderedAreaPicker * | New () |
static int | IsTypeOf (const char *type) |
static vtkRenderedAreaPicker * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkRenderedAreaPicker () | |
~vtkRenderedAreaPicker () |
vtkRenderedAreaPicker::vtkRenderedAreaPicker | ( | ) | [protected] |
vtkRenderedAreaPicker::~vtkRenderedAreaPicker | ( | ) | [protected] |
static vtkRenderedAreaPicker* vtkRenderedAreaPicker::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkAreaPicker.
virtual const char* vtkRenderedAreaPicker::GetClassName | ( | ) | [virtual] |
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 vtkTypeRevisionMacro 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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkAreaPicker.
static vtkRenderedAreaPicker* vtkRenderedAreaPicker::SafeDownCast | ( | vtkObject * | o | ) | [static] |
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 * | renderer | |||
) | [virtual] |
Perform pick operation in volume behind the given screen coordinates. Props intersecting the selection frustum will be accesible via GetProp3D. GetPlanes returns a vtkImplicitFunciton suitable for vtkExtractGeometry.
Reimplemented from vtkAreaPicker.