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

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

#include <vtkWorldPointPicker.h>

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

List of all members.

Public Types

typedef vtkAbstractPicker Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkWorldPointPickerNewInstance () const
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 (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkWorldPointPicker ()
 ~vtkWorldPointPicker ()

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 43 of file vtkWorldPointPicker.h.


Member Typedef Documentation

Reimplemented from vtkAbstractPicker.

Definition at line 47 of file vtkWorldPointPicker.h.


Constructor & Destructor Documentation

Definition at line 60 of file vtkWorldPointPicker.h.


Member Function Documentation

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

Reimplemented from vtkObject.

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

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

Reimplemented from vtkAbstractPicker.

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

Reimplemented from vtkAbstractPicker.

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]

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

Reimplemented from vtkAbstractPicker.

Definition at line 54 of file vtkWorldPointPicker.h.


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