Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

vtkWorldPointPicker Class Reference

#include <vtkWorldPointPicker.h>

Inheritance diagram for vtkWorldPointPicker:

Inheritance graph
[legend]
Collaboration diagram for vtkWorldPointPicker:

Collaboration graph
[legend]
List of all members.

Detailed Description

find world x,y,z corresponding to display x,y,z

vtkWorldPointPicker is used to find the x,y,z world coordinate of a screen x,y,z. This picker cannot pick actors and/or mappers, it simply determines an x-y-z coordinate in world space. (It will always return a x-y-z, even if the selection point is not over a prop/actor.)

Warning:
The PickMethod() is not invoked, but StartPickMethod() and EndPickMethod() are.
See also:
vtkPropPicker vtkPicker vtkCellPicker vtkPointPicker
Events:
vtkCommand::EndPickEvent vtkCommand::StartPickEvent
Tests:
vtkWorldPointPicker (Tests)

Definition at line 42 of file vtkWorldPointPicker.h.

Public Types

typedef vtkAbstractPicker Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
int Pick (double selectionX, double selectionY, double selectionZ, vtkRenderer *renderer)
int Pick (double selectionPt[3], vtkRenderer *renderer)

Static Public Member Functions

static vtkWorldPointPickerNew ()
static int IsTypeOf (const char *type)
static vtkWorldPointPickerSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkWorldPointPicker ()
 ~vtkWorldPointPicker ()


Member Typedef Documentation

typedef vtkAbstractPicker vtkWorldPointPicker::Superclass
 

Reimplemented from vtkAbstractPicker.

Definition at line 46 of file vtkWorldPointPicker.h.


Constructor & Destructor Documentation

vtkWorldPointPicker::vtkWorldPointPicker  )  [protected]
 

vtkWorldPointPicker::~vtkWorldPointPicker  )  [inline, protected]
 

Definition at line 59 of file vtkWorldPointPicker.h.


Member Function Documentation

static vtkWorldPointPicker* vtkWorldPointPicker::New  )  [static]
 

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

Reimplemented from vtkObject.

virtual const char* vtkWorldPointPicker::GetClassName  )  [virtual]
 

Reimplemented from vtkAbstractPicker.

static int vtkWorldPointPicker::IsTypeOf const char *  type  )  [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 vtkAbstractPicker.

virtual int vtkWorldPointPicker::IsA const char *  type  )  [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 vtkAbstractPicker.

static vtkWorldPointPicker* vtkWorldPointPicker::SafeDownCast vtkObject o  )  [static]
 

Reimplemented from vtkAbstractPicker.

void vtkWorldPointPicker::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 vtkAbstractPicker.

int vtkWorldPointPicker::Pick double  selectionX,
double  selectionY,
double  selectionZ,
vtkRenderer renderer
[virtual]
 

Perform the pick. (This method overload's the superclass.)

Implements vtkAbstractPicker.

int vtkWorldPointPicker::Pick double  selectionPt[3],
vtkRenderer renderer
[inline]
 

provided. Normally the first two values for the selection point are x-y pixel coordinate, and the third value is =0. Return non-zero if something was successfully picked.

Reimplemented from vtkAbstractPicker.

Definition at line 53 of file vtkWorldPointPicker.h.

References vtkAbstractPicker::Pick().


The documentation for this class was generated from the following file:
Generated on Tue Jan 22 00:31:50 2008 for VTK by  doxygen 1.4.3-20050530