Section: Visualization Toolkit Rendering Classes
To create an instance of class vtkObserverMediator, simply invoke its constructor as follows
obj = vtkObserverMediator
obj
is an instance of the vtkObserverMediator class.
string = obj.GetClassName ()
- Standard macros.
int = obj.IsA (string name)
- Standard macros.
vtkObserverMediator = obj.NewInstance ()
- Standard macros.
vtkObserverMediator = obj.SafeDownCast (vtkObject o)
- Standard macros.
obj.SetInteractor (vtkRenderWindowInteractor iren)
- Specify the instance of vtkRenderWindow whose cursor shape is
to be managed.
vtkRenderWindowInteractor = obj.GetInteractor ()
- Specify the instance of vtkRenderWindow whose cursor shape is
to be managed.
int = obj.RequestCursorShape (vtkInteractorObserver , int cursorShape)
- Method used to request a cursor shape. Note that the shape is specified
using one of the integral values determined in vtkRenderWindow.h. The
method returns a non-zero value if the shape was successfully changed.
obj.RemoveAllCursorShapeRequests (vtkInteractorObserver )
- Remove all requests for cursor shape from a given interactor.