vtkRenderedAreaPicker Class Reference

#include <vtkRenderedAreaPicker.h>

Inheritance diagram for vtkRenderedAreaPicker:

Inheritance graph
[legend]
Collaboration diagram for vtkRenderedAreaPicker:

Collaboration graph
[legend]

List of all members.


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 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 vtkRenderedAreaPickerNew ()
static int IsTypeOf (const char *type)
static vtkRenderedAreaPickerSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkRenderedAreaPicker ()
 ~vtkRenderedAreaPicker ()

Member Typedef Documentation

Reimplemented from vtkAreaPicker.

Definition at line 48 of file vtkRenderedAreaPicker.h.


Constructor & Destructor Documentation

vtkRenderedAreaPicker::vtkRenderedAreaPicker (  )  [protected]

vtkRenderedAreaPicker::~vtkRenderedAreaPicker (  )  [protected]


Member Function Documentation

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 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.

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.


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

Generated on Mon Sep 27 18:47:04 2010 for VTK by  doxygen 1.5.6