Section: Visualization Toolkit Rendering Classes
To create an instance of class vtkPropPicker, simply invoke its constructor as follows
obj = vtkPropPicker
obj
is an instance of the vtkPropPicker class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkPropPicker = obj.NewInstance ()
vtkPropPicker = obj.SafeDownCast (vtkObject o)
int = obj.PickProp (double selectionX, double selectionY, vtkRenderer renderer)
- Perform the pick and set the PickedProp ivar. If something is picked, a
1 is returned, otherwise 0 is returned. Use the GetViewProp() method
to get the instance of vtkProp that was picked. Props are picked from
the renderers list of pickable Props.
int = obj.PickProp (double selectionX, double selectionY, vtkRenderer renderer, vtkPropCollection pickfrom)
- Perform a pick from the user-provided list of vtkProps and not from the
list of vtkProps that the render maintains.
int = obj.Pick (double selectionX, double selectionY, double selectionZ, vtkRenderer renderer)
- Overide superclasses' Pick() method.
int = obj.Pick (double selectionPt[3], vtkRenderer renderer)
- Overide superclasses' Pick() method.