#include <vtkPropPicker.h>
Inheritance diagram for vtkPropPicker:
Public Methods | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
int | PickProp (float selectionX, float selectionY, vtkRenderer *renderer) |
int | PickProp (float selectionX, float selectionY, vtkRenderer *renderer, vtkPropCollection *pickfrom) |
int | Pick (float selectionX, float selectionY, float selectionZ, vtkRenderer *renderer) |
int | Pick (float selectionPt[3], vtkRenderer *renderer) |
Static Public Methods | |
vtkPropPicker * | New () |
int | IsTypeOf (const char *type) |
vtkPropPicker * | SafeDownCast (vtkObject *o) |
Protected Methods | |
vtkPropPicker () | |
~vtkPropPicker () | |
vtkPropPicker (const vtkPropPicker &) | |
void | operator= (vtkPropPicker &) |
void | Initialize () |
Protected Attributes | |
vtkPropCollection * | PickFromProps |
vtkWorldPointPicker * | WorldPointPicker |
vtkPropPicker is used to pick an actor/prop given a selection point (in display coordinates) and a renderer. This class uses graphics hardware/rendering system to pick rapidly (as compared to using ray casting as does vtkCellPicker and vtkPointPicker). This class determines the actor/prop and pick position in world coordinates; point and cell ids are not determined.
Definition at line 67 of file vtkPropPicker.h.
|
|
|
|
|
Definition at line 96 of file vtkPropPicker.h. |
|
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. Reimplemented from vtkObject. |
|
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 vtkAbstractPropPicker. |
|
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 vtkAbstractPropPicker. |
|
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 vtkAbstractPropPicker. |
|
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 vtkAbstractPropPicker. |
|
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 vtkAbstractPropPicker. |
|
Perform the pick and set the PickedProp ivar. If something is picked, a 1 is returned, otherwise 0 is returned. Use the GetProp() method to get the instance of vtkProp that was picked. Props are picked from the renderers list of pickable Props. |
|
Perform a pick from the user-provided list of vtkProps and not from the list of vtkProps that the render maintains. |
|
Overide superclasses' Pick() method. Reimplemented from vtkAbstractPicker. |
|
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 89 of file vtkPropPicker.h. |
|
Definition at line 97 of file vtkPropPicker.h. |
|
Reimplemented from vtkAbstractPropPicker. |
|
Definition at line 101 of file vtkPropPicker.h. |
|
Definition at line 104 of file vtkPropPicker.h. |