Section: Visualization Toolkit Widget Classes
To create an instance of class vtkAbstractPolygonalHandleRepresentation3D, simply invoke its constructor as follows
obj = vtkAbstractPolygonalHandleRepresentation3D
obj
is an instance of the vtkAbstractPolygonalHandleRepresentation3D class.
string = obj.GetClassName ()
- Standard methods for instances of this class.
int = obj.IsA (string name)
- Standard methods for instances of this class.
vtkAbstractPolygonalHandleRepresentation3D = obj.NewInstance ()
- Standard methods for instances of this class.
vtkAbstractPolygonalHandleRepresentation3D = obj.SafeDownCast (vtkObject o)
- Standard methods for instances of this class.
obj.SetWorldPosition (double p[3])
- Set the position of the point in world and display coordinates.
obj.SetDisplayPosition (double p[3])
- Set the position of the point in world and display coordinates.
obj.SetHandle (vtkPolyData )
- Set/get the handle polydata.
vtkPolyData = obj.GetHandle ()
- Set/get the handle polydata.
obj.SetProperty (vtkProperty )
- Set/Get the handle properties when unselected and selected.
obj.SetSelectedProperty (vtkProperty )
- Set/Get the handle properties when unselected and selected.
vtkProperty = obj.GetProperty ()
- Set/Get the handle properties when unselected and selected.
vtkProperty = obj.GetSelectedProperty ()
- Set/Get the handle properties when unselected and selected.
vtkAbstractTransform = obj.GetTransform ()
- Get the transform used to transform the generic handle polydata before
placing it in the render window
obj.BuildRepresentation ()
- Methods to make this class properly act like a vtkWidgetRepresentation.
obj.StartWidgetInteraction (double eventPos[2])
- Methods to make this class properly act like a vtkWidgetRepresentation.
obj.WidgetInteraction (double eventPos[2])
- Methods to make this class properly act like a vtkWidgetRepresentation.
int = obj.ComputeInteractionState (int X, int Y, int modify)
- Methods to make this class properly act like a vtkWidgetRepresentation.
obj.ShallowCopy (vtkProp prop)
- Methods to make this class behave as a vtkProp.
obj.DeepCopy (vtkProp prop)
- Methods to make this class behave as a vtkProp.
obj.GetActors (vtkPropCollection )
- Methods to make this class behave as a vtkProp.
obj.ReleaseGraphicsResources (vtkWindow )
- Methods to make this class behave as a vtkProp.
int = obj.RenderOpaqueGeometry (vtkViewport viewport)
- Methods to make this class behave as a vtkProp.
int = obj.RenderTranslucentPolygonalGeometry (vtkViewport viewport)
- Methods to make this class behave as a vtkProp.
int = obj.HasTranslucentPolygonalGeometry ()
- Methods to make this class behave as a vtkProp.
obj.SetLabelVisibility (int )
- A label may be associated with the seed. The string can be set via
SetLabelText. The visibility of the label can be turned on / off.
int = obj.GetLabelVisibility ()
- A label may be associated with the seed. The string can be set via
SetLabelText. The visibility of the label can be turned on / off.
obj.LabelVisibilityOn ()
- A label may be associated with the seed. The string can be set via
SetLabelText. The visibility of the label can be turned on / off.
obj.LabelVisibilityOff ()
- A label may be associated with the seed. The string can be set via
SetLabelText. The visibility of the label can be turned on / off.
obj.SetLabelText (string label)
- A label may be associated with the seed. The string can be set via
SetLabelText. The visibility of the label can be turned on / off.
string = obj.GetLabelText ()
- A label may be associated with the seed. The string can be set via
SetLabelText. The visibility of the label can be turned on / off.
obj.SetLabelTextScale (double scale[3])
- Scale text (font size along each dimension).
vtkFollower = obj.GetLabelTextActor ()
- Get the label text actor
obj.SetUniformScale (double scale)
- The handle may be scaled uniformly in all three dimensions using this
API. The handle can also be scaled interactively using the right
mouse button.
obj.SetHandleVisibility (int )
- Toogle the visibility of the handle on and off
int = obj.GetHandleVisibility ()
- Toogle the visibility of the handle on and off
obj.HandleVisibilityOn ()
- Toogle the visibility of the handle on and off
obj.HandleVisibilityOff ()
- Toogle the visibility of the handle on and off