vtkObserverMediator

Section: Visualization Toolkit Rendering Classes

Usage

The vtkObserverMediator is a helper class that manages requests for cursor changes from multiple interactor observers (e.g. widgets). It keeps a list of widgets (and their priorities) and their current requests for cursor shape. It then satisfies requests based on widget priority and the relative importance of the request (e.g., a lower priority widget requesting a particular cursor shape will overrule a higher priority widget requesting a default shape).

To create an instance of class vtkObserverMediator, simply invoke its constructor as follows

  obj = vtkObserverMediator

Methods

The class vtkObserverMediator has several methods that can be used. They are listed below. Note that the documentation is translated automatically from the VTK sources, and may not be completely intelligible. When in doubt, consult the VTK website. In the methods listed below, obj is an instance of the vtkObserverMediator class.