ActiViz .NET
5.8.0
|
vtkWidgetEventTranslator - map VTK events into widget events More...
Public Member Functions | |
vtkWidgetEventTranslator (IntPtr rawCppThis, bool callDisposalMethod, bool strong) | |
Automatically generated constructor - called from generated code. DO NOT call directly. | |
vtkWidgetEventTranslator () | |
Instantiate the object. | |
void | ClearEvents () |
Clear all events from the translator (i.e., no events will be translated). | |
uint | GetTranslation (uint VTKEvent) |
Translate a VTK event into a widget event. If no event mapping is found, then the methods return vtkWidgetEvent::NoEvent or a NULL string. | |
string | GetTranslation (string VTKEvent) |
Translate a VTK event into a widget event. If no event mapping is found, then the methods return vtkWidgetEvent::NoEvent or a NULL string. | |
uint | GetTranslation (uint VTKEvent, int modifier, sbyte keyCode, int repeatCount, string keySym) |
Translate a VTK event into a widget event. If no event mapping is found, then the methods return vtkWidgetEvent::NoEvent or a NULL string. | |
uint | GetTranslation (vtkEvent VTKEvent) |
Translate a VTK event into a widget event. If no event mapping is found, then the methods return vtkWidgetEvent::NoEvent or a NULL string. | |
override int | IsA (string type) |
Standard macros. | |
new vtkWidgetEventTranslator | NewInstance () |
Standard macros. | |
int | RemoveTranslation (uint VTKEvent, int modifier, sbyte keyCode, int repeatCount, string keySym) |
Remove translations for a binding. Returns the number of translations removed. | |
int | RemoveTranslation (vtkEvent e) |
Remove translations for a binding. Returns the number of translations removed. | |
int | RemoveTranslation (uint VTKEvent) |
Remove translations for a binding. Returns the number of translations removed. | |
void | SetTranslation (uint VTKEvent, uint widgetEvent) |
Use these methods to create the translation from a VTK event to a widget event. Specifying vtkWidgetEvent::NoEvent or an empty string for the (toEvent) erases the mapping for the event. | |
void | SetTranslation (string VTKEvent, string widgetEvent) |
Use these methods to create the translation from a VTK event to a widget event. Specifying vtkWidgetEvent::NoEvent or an empty string for the (toEvent) erases the mapping for the event. | |
void | SetTranslation (uint VTKEvent, int modifier, sbyte keyCode, int repeatCount, string keySym, uint widgetEvent) |
Use these methods to create the translation from a VTK event to a widget event. Specifying vtkWidgetEvent::NoEvent or an empty string for the (toEvent) erases the mapping for the event. | |
void | SetTranslation (vtkEvent VTKevent, uint widgetEvent) |
Use these methods to create the translation from a VTK event to a widget event. Specifying vtkWidgetEvent::NoEvent or an empty string for the (toEvent) erases the mapping for the event. | |
Static Public Member Functions | |
static new vtkWidgetEventTranslator | New () |
Instantiate the object. | |
static new int | IsTypeOf (string type) |
Standard macros. | |
static new vtkWidgetEventTranslator | SafeDownCast (vtkObjectBase o) |
Standard macros. | |
Public Attributes | |
new const string | MRFullTypeName = "Kitware.VTK.vtkWidgetEventTranslator" |
Automatically generated type registration mechanics. | |
Static Public Attributes | |
static new readonly string | MRClassNameKey = "24vtkWidgetEventTranslator" |
Automatically generated type registration mechanics. | |
Protected Member Functions | |
override void | Dispose (bool disposing) |
Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly. | |
Private Member Functions | |
static internal IntPtr | vtkWidgetEventTranslator_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal void | vtkWidgetEventTranslator_ClearEvents_01 (HandleRef pThis) |
static internal uint | vtkWidgetEventTranslator_GetTranslation_02 (HandleRef pThis, uint VTKEvent) |
static internal IntPtr | vtkWidgetEventTranslator_GetTranslation_03 (HandleRef pThis, string VTKEvent) |
static internal uint | vtkWidgetEventTranslator_GetTranslation_04 (HandleRef pThis, uint VTKEvent, int modifier, sbyte keyCode, int repeatCount, string keySym) |
static internal uint | vtkWidgetEventTranslator_GetTranslation_05 (HandleRef pThis, HandleRef VTKEvent) |
static internal int | vtkWidgetEventTranslator_IsA_06 (HandleRef pThis, string type) |
static internal int | vtkWidgetEventTranslator_IsTypeOf_07 (string type) |
static internal IntPtr | vtkWidgetEventTranslator_NewInstance_09 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal int | vtkWidgetEventTranslator_RemoveTranslation_10 (HandleRef pThis, uint VTKEvent, int modifier, sbyte keyCode, int repeatCount, string keySym) |
static internal int | vtkWidgetEventTranslator_RemoveTranslation_11 (HandleRef pThis, HandleRef e) |
static internal int | vtkWidgetEventTranslator_RemoveTranslation_12 (HandleRef pThis, uint VTKEvent) |
static internal IntPtr | vtkWidgetEventTranslator_SafeDownCast_13 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal void | vtkWidgetEventTranslator_SetTranslation_14 (HandleRef pThis, uint VTKEvent, uint widgetEvent) |
static internal void | vtkWidgetEventTranslator_SetTranslation_15 (HandleRef pThis, string VTKEvent, string widgetEvent) |
static internal void | vtkWidgetEventTranslator_SetTranslation_16 (HandleRef pThis, uint VTKEvent, int modifier, sbyte keyCode, int repeatCount, string keySym, uint widgetEvent) |
static internal void | vtkWidgetEventTranslator_SetTranslation_17 (HandleRef pThis, HandleRef VTKevent, uint widgetEvent) |
Static Private Member Functions | |
static | vtkWidgetEventTranslator () |
Automatically generated type registration mechanics. |
vtkWidgetEventTranslator - map VTK events into widget events
Description vtkWidgetEventTranslator maps VTK events (defined on vtkCommand) into widget events (defined in vtkWidgetEvent.h). This class is typically used in combination with vtkWidgetCallbackMapper, which is responsible for translating widget events into method callbacks, and then invoking the callbacks.
This class can be used to define different mappings of VTK events into the widget events. Thus widgets can be reconfigured to use different event bindings.
static Kitware.VTK.vtkWidgetEventTranslator.vtkWidgetEventTranslator | ( | ) | [static, private] |
Automatically generated type registration mechanics.
Kitware.VTK.vtkWidgetEventTranslator.vtkWidgetEventTranslator | ( | IntPtr | rawCppThis, |
bool | callDisposalMethod, | ||
bool | strong | ||
) |
Automatically generated constructor - called from generated code. DO NOT call directly.
Instantiate the object.
Clear all events from the translator (i.e., no events will be translated).
override void Kitware.VTK.vtkWidgetEventTranslator.Dispose | ( | bool | disposing | ) | [protected] |
Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.
Reimplemented from Kitware.VTK.vtkObject.
uint Kitware.VTK.vtkWidgetEventTranslator.GetTranslation | ( | uint | VTKEvent | ) |
Translate a VTK event into a widget event. If no event mapping is found, then the methods return vtkWidgetEvent::NoEvent or a NULL string.
string Kitware.VTK.vtkWidgetEventTranslator.GetTranslation | ( | string | VTKEvent | ) |
Translate a VTK event into a widget event. If no event mapping is found, then the methods return vtkWidgetEvent::NoEvent or a NULL string.
uint Kitware.VTK.vtkWidgetEventTranslator.GetTranslation | ( | uint | VTKEvent, |
int | modifier, | ||
sbyte | keyCode, | ||
int | repeatCount, | ||
string | keySym | ||
) |
Translate a VTK event into a widget event. If no event mapping is found, then the methods return vtkWidgetEvent::NoEvent or a NULL string.
uint Kitware.VTK.vtkWidgetEventTranslator.GetTranslation | ( | vtkEvent | VTKEvent | ) |
Translate a VTK event into a widget event. If no event mapping is found, then the methods return vtkWidgetEvent::NoEvent or a NULL string.
override int Kitware.VTK.vtkWidgetEventTranslator.IsA | ( | string | type | ) | [virtual] |
Standard macros.
Reimplemented from Kitware.VTK.vtkObject.
static new int Kitware.VTK.vtkWidgetEventTranslator.IsTypeOf | ( | string | type | ) | [static] |
Standard macros.
Reimplemented from Kitware.VTK.vtkObject.
static new vtkWidgetEventTranslator Kitware.VTK.vtkWidgetEventTranslator.New | ( | ) | [static] |
Instantiate the object.
Reimplemented from Kitware.VTK.vtkObject.
Standard macros.
Reimplemented from Kitware.VTK.vtkObject.
int Kitware.VTK.vtkWidgetEventTranslator.RemoveTranslation | ( | uint | VTKEvent, |
int | modifier, | ||
sbyte | keyCode, | ||
int | repeatCount, | ||
string | keySym | ||
) |
Remove translations for a binding. Returns the number of translations removed.
Remove translations for a binding. Returns the number of translations removed.
int Kitware.VTK.vtkWidgetEventTranslator.RemoveTranslation | ( | uint | VTKEvent | ) |
Remove translations for a binding. Returns the number of translations removed.
static new vtkWidgetEventTranslator Kitware.VTK.vtkWidgetEventTranslator.SafeDownCast | ( | vtkObjectBase | o | ) | [static] |
Standard macros.
Reimplemented from Kitware.VTK.vtkObject.
void Kitware.VTK.vtkWidgetEventTranslator.SetTranslation | ( | uint | VTKEvent, |
uint | widgetEvent | ||
) |
Use these methods to create the translation from a VTK event to a widget event. Specifying vtkWidgetEvent::NoEvent or an empty string for the (toEvent) erases the mapping for the event.
void Kitware.VTK.vtkWidgetEventTranslator.SetTranslation | ( | string | VTKEvent, |
string | widgetEvent | ||
) |
Use these methods to create the translation from a VTK event to a widget event. Specifying vtkWidgetEvent::NoEvent or an empty string for the (toEvent) erases the mapping for the event.
void Kitware.VTK.vtkWidgetEventTranslator.SetTranslation | ( | uint | VTKEvent, |
int | modifier, | ||
sbyte | keyCode, | ||
int | repeatCount, | ||
string | keySym, | ||
uint | widgetEvent | ||
) |
Use these methods to create the translation from a VTK event to a widget event. Specifying vtkWidgetEvent::NoEvent or an empty string for the (toEvent) erases the mapping for the event.
void Kitware.VTK.vtkWidgetEventTranslator.SetTranslation | ( | vtkEvent | VTKevent, |
uint | widgetEvent | ||
) |
Use these methods to create the translation from a VTK event to a widget event. Specifying vtkWidgetEvent::NoEvent or an empty string for the (toEvent) erases the mapping for the event.
static internal void Kitware.VTK.vtkWidgetEventTranslator.vtkWidgetEventTranslator_ClearEvents_01 | ( | HandleRef | pThis | ) | [private] |
static internal uint Kitware.VTK.vtkWidgetEventTranslator.vtkWidgetEventTranslator_GetTranslation_02 | ( | HandleRef | pThis, |
uint | VTKEvent | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkWidgetEventTranslator.vtkWidgetEventTranslator_GetTranslation_03 | ( | HandleRef | pThis, |
string | VTKEvent | ||
) | [private] |
static internal uint Kitware.VTK.vtkWidgetEventTranslator.vtkWidgetEventTranslator_GetTranslation_04 | ( | HandleRef | pThis, |
uint | VTKEvent, | ||
int | modifier, | ||
sbyte | keyCode, | ||
int | repeatCount, | ||
string | keySym | ||
) | [private] |
static internal uint Kitware.VTK.vtkWidgetEventTranslator.vtkWidgetEventTranslator_GetTranslation_05 | ( | HandleRef | pThis, |
HandleRef | VTKEvent | ||
) | [private] |
static internal int Kitware.VTK.vtkWidgetEventTranslator.vtkWidgetEventTranslator_IsA_06 | ( | HandleRef | pThis, |
string | type | ||
) | [private] |
static internal int Kitware.VTK.vtkWidgetEventTranslator.vtkWidgetEventTranslator_IsTypeOf_07 | ( | string | type | ) | [private] |
static internal IntPtr Kitware.VTK.vtkWidgetEventTranslator.vtkWidgetEventTranslator_New | ( | ref uint | mteStatus, |
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkWidgetEventTranslator.vtkWidgetEventTranslator_NewInstance_09 | ( | HandleRef | pThis, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal int Kitware.VTK.vtkWidgetEventTranslator.vtkWidgetEventTranslator_RemoveTranslation_10 | ( | HandleRef | pThis, |
uint | VTKEvent, | ||
int | modifier, | ||
sbyte | keyCode, | ||
int | repeatCount, | ||
string | keySym | ||
) | [private] |
static internal int Kitware.VTK.vtkWidgetEventTranslator.vtkWidgetEventTranslator_RemoveTranslation_11 | ( | HandleRef | pThis, |
HandleRef | e | ||
) | [private] |
static internal int Kitware.VTK.vtkWidgetEventTranslator.vtkWidgetEventTranslator_RemoveTranslation_12 | ( | HandleRef | pThis, |
uint | VTKEvent | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkWidgetEventTranslator.vtkWidgetEventTranslator_SafeDownCast_13 | ( | HandleRef | o, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal void Kitware.VTK.vtkWidgetEventTranslator.vtkWidgetEventTranslator_SetTranslation_14 | ( | HandleRef | pThis, |
uint | VTKEvent, | ||
uint | widgetEvent | ||
) | [private] |
static internal void Kitware.VTK.vtkWidgetEventTranslator.vtkWidgetEventTranslator_SetTranslation_15 | ( | HandleRef | pThis, |
string | VTKEvent, | ||
string | widgetEvent | ||
) | [private] |
static internal void Kitware.VTK.vtkWidgetEventTranslator.vtkWidgetEventTranslator_SetTranslation_16 | ( | HandleRef | pThis, |
uint | VTKEvent, | ||
int | modifier, | ||
sbyte | keyCode, | ||
int | repeatCount, | ||
string | keySym, | ||
uint | widgetEvent | ||
) | [private] |
static internal void Kitware.VTK.vtkWidgetEventTranslator.vtkWidgetEventTranslator_SetTranslation_17 | ( | HandleRef | pThis, |
HandleRef | VTKevent, | ||
uint | widgetEvent | ||
) | [private] |
new readonly string Kitware.VTK.vtkWidgetEventTranslator.MRClassNameKey = "24vtkWidgetEventTranslator" [static] |
Automatically generated type registration mechanics.
Reimplemented from Kitware.VTK.vtkObject.
new const string Kitware.VTK.vtkWidgetEventTranslator.MRFullTypeName = "Kitware.VTK.vtkWidgetEventTranslator" |
Automatically generated type registration mechanics.
Reimplemented from Kitware.VTK.vtkObject.