Section: Visualization Toolkit Rendering Classes
To create an instance of class vtkAbstractPropPicker, simply invoke its constructor as follows
obj = vtkAbstractPropPicker
obj
is an instance of the vtkAbstractPropPicker class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkAbstractPropPicker = obj.NewInstance ()
vtkAbstractPropPicker = obj.SafeDownCast (vtkObject o)
obj.SetPath (vtkAssemblyPath )
- Return the vtkAssemblyPath that has been picked. The assembly path lists
all the vtkProps that form an assembly. If no assembly is present, then
the assembly path will have one node (which is the picked prop). The
set method is used internally to set the path. (Note: the structure of
an assembly path is a collection of vtkAssemblyNode, each node pointing
to a vtkProp and (possibly) a transformation matrix.)
vtkAssemblyPath = obj.GetPath ()
- Return the vtkAssemblyPath that has been picked. The assembly path lists
all the vtkProps that form an assembly. If no assembly is present, then
the assembly path will have one node (which is the picked prop). The
set method is used internally to set the path. (Note: the structure of
an assembly path is a collection of vtkAssemblyNode, each node pointing
to a vtkProp and (possibly) a transformation matrix.)
vtkProp = obj.GetViewProp ()
- Return the vtkProp that has been picked. If NULL, nothing was picked.
If anything at all was picked, this method will return something.
vtkProp3D = obj.GetProp3D ()
- Return the vtkProp that has been picked. If NULL, no vtkProp3D was picked.
vtkActor = obj.GetActor ()
- Return the vtkActor that has been picked. If NULL, no actor was picked.
vtkActor2D = obj.GetActor2D ()
- Return the vtkActor2D that has been picked. If NULL, no actor2D was
picked.
vtkVolume = obj.GetVolume ()
- Return the vtkVolume that has been picked. If NULL, no volume was picked.
vtkAssembly = obj.GetAssembly ()
- Return the vtkAssembly that has been picked. If NULL, no assembly
was picked. (Note: the returned assembly is the first node in the
assembly path. If the path is one node long, then the assembly and
the prop are the same, assuming that the first node is a vtkAssembly.)
vtkPropAssembly = obj.GetPropAssembly ()
- Return the vtkPropAssembly that has been picked. If NULL, no prop
assembly was picked. (Note: the returned prop assembly is the first node
in the assembly path. If the path is one node long, then the prop
assembly and the prop are the same, assuming that the first node is a
vtkPropAssembly.)
vtkProp = obj.GetProp ()
- @deprecated Replaced by vtkAbstractPicker::GetViewProp() as of VTK 5.0.