ActiViz .NET  5.8.0
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Private Member Functions | Static Private Member Functions
Kitware.VTK.vtkWidgetCallbackMapper Class Reference

vtkWidgetCallbackMapper - map widget events into callbacks More...

Inheritance diagram for Kitware.VTK.vtkWidgetCallbackMapper:
[legend]
Collaboration diagram for Kitware.VTK.vtkWidgetCallbackMapper:
[legend]

List of all members.

Public Member Functions

 vtkWidgetCallbackMapper (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkWidgetCallbackMapper ()
 Instantiate the class.
delegate void CallbackType (IntPtr arg0)
 Specify the vtkWidgetEventTranslator to coordinate with.
virtual vtkWidgetEventTranslator GetEventTranslator ()
 Specify the vtkWidgetEventTranslator to coordinate with.
void InvokeCallback (uint widgetEvent)
 This method invokes the callback given a widget event. A non-zero value is returned if the listed event is registered.
override int IsA (string type)
 Standard macros.
new vtkWidgetCallbackMapper NewInstance ()
 Standard macros.
void SetCallbackMethod (uint VTKEvent, uint widgetEvent, vtkAbstractWidget w, CallbackType f)
 This class works with the class vtkWidgetEventTranslator to set up the initial coorespondence between VTK events, widget events, and callbacks. Different flavors of the SetCallbackMethod() are available depending on what sort of modifiers are to be associated with a particular event. Typically the widgets should use this method to set up their event callbacks. If modifiers are not provided (i.e., the VTKEvent is a unsigned long eventId) then modifiers are ignored. Otherwise, a vtkEvent instance is used to fully quality the events.
void SetCallbackMethod (uint VTKEvent, int modifiers, sbyte keyCode, int repeatCount, string keySym, uint widgetEvent, vtkAbstractWidget w, CallbackType f)
 This class works with the class vtkWidgetEventTranslator to set up the initial coorespondence between VTK events, widget events, and callbacks. Different flavors of the SetCallbackMethod() are available depending on what sort of modifiers are to be associated with a particular event. Typically the widgets should use this method to set up their event callbacks. If modifiers are not provided (i.e., the VTKEvent is a unsigned long eventId) then modifiers are ignored. Otherwise, a vtkEvent instance is used to fully quality the events.
void SetEventTranslator (vtkWidgetEventTranslator t)
 Specify the vtkWidgetEventTranslator to coordinate with.

Static Public Member Functions

static new vtkWidgetCallbackMapper New ()
 Instantiate the class.
static new int IsTypeOf (string type)
 Standard macros.
static new vtkWidgetCallbackMapper SafeDownCast (vtkObjectBase o)
 Standard macros.

Public Attributes

new const string MRFullTypeName = "Kitware.VTK.vtkWidgetCallbackMapper"
 Automatically generated type registration mechanics.

Static Public Attributes

static new readonly string MRClassNameKey = "23vtkWidgetCallbackMapper"
 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 vtkWidgetCallbackMapper_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkWidgetCallbackMapper_GetEventTranslator_01 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkWidgetCallbackMapper_InvokeCallback_02 (HandleRef pThis, uint widgetEvent)
static internal int vtkWidgetCallbackMapper_IsA_03 (HandleRef pThis, string type)
static internal int vtkWidgetCallbackMapper_IsTypeOf_04 (string type)
static internal IntPtr vtkWidgetCallbackMapper_NewInstance_06 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkWidgetCallbackMapper_SafeDownCast_07 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkWidgetCallbackMapper_SetCallbackMethod_08 (HandleRef pThis, uint VTKEvent, uint widgetEvent, HandleRef w, CallbackType f)
static internal void vtkWidgetCallbackMapper_SetCallbackMethod_09 (HandleRef pThis, uint VTKEvent, int modifiers, sbyte keyCode, int repeatCount, string keySym, uint widgetEvent, HandleRef w, CallbackType f)
static internal void vtkWidgetCallbackMapper_SetEventTranslator_10 (HandleRef pThis, HandleRef t)

Static Private Member Functions

static vtkWidgetCallbackMapper ()
 Automatically generated type registration mechanics.

Detailed Description

vtkWidgetCallbackMapper - map widget events into callbacks

Description 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.

vtkWidgetEvent vtkWidgetEventTranslator


Constructor & Destructor Documentation

Automatically generated type registration mechanics.

Kitware.VTK.vtkWidgetCallbackMapper.vtkWidgetCallbackMapper ( IntPtr  rawCppThis,
bool  callDisposalMethod,
bool  strong 
)

Automatically generated constructor - called from generated code. DO NOT call directly.

Instantiate the class.


Member Function Documentation

delegate void Kitware.VTK.vtkWidgetCallbackMapper.CallbackType ( IntPtr  arg0)

Specify the vtkWidgetEventTranslator to coordinate with.

override void Kitware.VTK.vtkWidgetCallbackMapper.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.

Specify the vtkWidgetEventTranslator to coordinate with.

Here is the call graph for this function:

This method invokes the callback given a widget event. A non-zero value is returned if the listed event is registered.

override int Kitware.VTK.vtkWidgetCallbackMapper.IsA ( string  type) [virtual]

Standard macros.

Reimplemented from Kitware.VTK.vtkObject.

static new int Kitware.VTK.vtkWidgetCallbackMapper.IsTypeOf ( string  type) [static]

Standard macros.

Reimplemented from Kitware.VTK.vtkObject.

Instantiate the class.

Reimplemented from Kitware.VTK.vtkObject.

Standard macros.

Reimplemented from Kitware.VTK.vtkObject.

Standard macros.

Reimplemented from Kitware.VTK.vtkObject.

Here is the call graph for this function:

void Kitware.VTK.vtkWidgetCallbackMapper.SetCallbackMethod ( uint  VTKEvent,
uint  widgetEvent,
vtkAbstractWidget  w,
CallbackType  f 
)

This class works with the class vtkWidgetEventTranslator to set up the initial coorespondence between VTK events, widget events, and callbacks. Different flavors of the SetCallbackMethod() are available depending on what sort of modifiers are to be associated with a particular event. Typically the widgets should use this method to set up their event callbacks. If modifiers are not provided (i.e., the VTKEvent is a unsigned long eventId) then modifiers are ignored. Otherwise, a vtkEvent instance is used to fully quality the events.

void Kitware.VTK.vtkWidgetCallbackMapper.SetCallbackMethod ( uint  VTKEvent,
int  modifiers,
sbyte  keyCode,
int  repeatCount,
string  keySym,
uint  widgetEvent,
vtkAbstractWidget  w,
CallbackType  f 
)

This class works with the class vtkWidgetEventTranslator to set up the initial coorespondence between VTK events, widget events, and callbacks. Different flavors of the SetCallbackMethod() are available depending on what sort of modifiers are to be associated with a particular event. Typically the widgets should use this method to set up their event callbacks. If modifiers are not provided (i.e., the VTKEvent is a unsigned long eventId) then modifiers are ignored. Otherwise, a vtkEvent instance is used to fully quality the events.

Specify the vtkWidgetEventTranslator to coordinate with.

static internal IntPtr Kitware.VTK.vtkWidgetCallbackMapper.vtkWidgetCallbackMapper_GetEventTranslator_01 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkWidgetCallbackMapper.vtkWidgetCallbackMapper_InvokeCallback_02 ( HandleRef  pThis,
uint  widgetEvent 
) [private]
static internal int Kitware.VTK.vtkWidgetCallbackMapper.vtkWidgetCallbackMapper_IsA_03 ( HandleRef  pThis,
string  type 
) [private]
static internal int Kitware.VTK.vtkWidgetCallbackMapper.vtkWidgetCallbackMapper_IsTypeOf_04 ( string  type) [private]
static internal IntPtr Kitware.VTK.vtkWidgetCallbackMapper.vtkWidgetCallbackMapper_New ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkWidgetCallbackMapper.vtkWidgetCallbackMapper_NewInstance_06 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkWidgetCallbackMapper.vtkWidgetCallbackMapper_SafeDownCast_07 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkWidgetCallbackMapper.vtkWidgetCallbackMapper_SetCallbackMethod_08 ( HandleRef  pThis,
uint  VTKEvent,
uint  widgetEvent,
HandleRef  w,
CallbackType  f 
) [private]
static internal void Kitware.VTK.vtkWidgetCallbackMapper.vtkWidgetCallbackMapper_SetCallbackMethod_09 ( HandleRef  pThis,
uint  VTKEvent,
int  modifiers,
sbyte  keyCode,
int  repeatCount,
string  keySym,
uint  widgetEvent,
HandleRef  w,
CallbackType  f 
) [private]
static internal void Kitware.VTK.vtkWidgetCallbackMapper.vtkWidgetCallbackMapper_SetEventTranslator_10 ( HandleRef  pThis,
HandleRef  t 
) [private]

Member Data Documentation

new readonly string Kitware.VTK.vtkWidgetCallbackMapper.MRClassNameKey = "23vtkWidgetCallbackMapper" [static]

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkObject.

new const string Kitware.VTK.vtkWidgetCallbackMapper.MRFullTypeName = "Kitware.VTK.vtkWidgetCallbackMapper"

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkObject.


The documentation for this class was generated from the following file: