Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

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 Methods

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

Static Public Methods

vtkWorldPointPicker * New ()
int IsTypeOf (const char *type)
vtkWorldPointPicker * SafeDownCast (vtkObject *o)

Protected Methods

 vtkWorldPointPicker ()
 ~vtkWorldPointPicker ()

Detailed Description

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

Date:
2001/10/11 13:38:35
Revision:
1.20

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


Constructor & Destructor Documentation

vtkWorldPointPicker::vtkWorldPointPicker   [protected]
 

vtkWorldPointPicker::~vtkWorldPointPicker   [inline, protected]
 

Definition at line 87 of file vtkWorldPointPicker.h.


Member Function Documentation

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]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkAbstractPicker.

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 vtkTypeMacro 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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkAbstractPicker.

vtkWorldPointPicker* vtkWorldPointPicker::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

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 float    selectionX,
float    selectionY,
float    selectionZ,
vtkRenderer   renderer
[virtual]
 

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

Reimplemented from vtkAbstractPicker.

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

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

Reimplemented from vtkAbstractPicker.

Definition at line 81 of file vtkWorldPointPicker.h.


The documentation for this class was generated from the following file:
Generated on Thu Mar 28 14:48:29 2002 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001