1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
Usage
vtkWidgetCallbackMapper maps widget events (defined in
vtkWidgetEvent.h) into static class methods, and provides
facilities to invoke the methods. This class is templated
and meant to be used as an internal helper class by the
widget classes. The class works in combination with the
class vtkWidgetEventTranslator, which translates VTK events
into widget events.
To create an instance of class vtkWidgetCallbackMapper,
simply invoke its constructor as follows
obj = vtkWidgetCallbackMapper
Methods
The class vtkWidgetCallbackMapper 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 vtkWidgetCallbackMapper class.
* string = obj.GetClassName () - Standard macros.
* int = obj.IsA (string name) - Standard macros.
* vtkWidgetCallbackMapper = obj.NewInstance () - Standard
macros.
* vtkWidgetCallbackMapper = obj.SafeDownCast (vtkObject o) -
Standard macros.
* obj.SetEventTranslator (vtkWidgetEventTranslator t) -
Specify the vtkWidgetEventTranslator to coordinate with.
* vtkWidgetEventTranslator = obj.GetEventTranslator () -
Specify the vtkWidgetEventTranslator to coordinate with.
* obj.InvokeCallback (long widgetEvent) - This method
invokes the callback given a widget event. A non-zero
value is returned if the listed event is registered.
* FreeMat_Documentation
* Visualization_Toolkit_Widget_Classes
* Generated on Thu Jul 25 2013 17:18:37 for FreeMat by
doxygen_ 1.8.1.1
|