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.vtkInteractorStyleUser Class Reference

vtkInteractorStyleUser - provides customizable interaction routines More...

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

List of all members.

Public Member Functions

 vtkInteractorStyleUser (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkInteractorStyleUser ()
 Undocumented Block.
virtual int GetButton ()
 Get the mouse button that was last pressed inside the window (returns zero when the button is released).
virtual int GetChar ()
 Get the character for a Char event.
virtual int GetCtrlKey ()
 Test whether modifiers were held down when mouse button or key was pressed.
virtual string GetKeySym ()
 Get the KeySym (in the same format as Tk KeySyms) for a KeyPress or KeyRelease method.
virtual int[] GetLastPos ()
 Get the most recent mouse position during mouse motion. In your user interaction method, you must use this to track the mouse movement. Do not use GetEventPosition(), which records the last position where a mouse button was pressed.
virtual void GetLastPos (ref int _arg1, ref int _arg2)
 Get the most recent mouse position during mouse motion. In your user interaction method, you must use this to track the mouse movement. Do not use GetEventPosition(), which records the last position where a mouse button was pressed.
virtual void GetLastPos (IntPtr _arg)
 Get the most recent mouse position during mouse motion. In your user interaction method, you must use this to track the mouse movement. Do not use GetEventPosition(), which records the last position where a mouse button was pressed.
virtual int[] GetOldPos ()
 Get the previous mouse position during mouse motion, or after a key press. This can be used to calculate the relative displacement of the mouse.
virtual void GetOldPos (ref int _arg1, ref int _arg2)
 Get the previous mouse position during mouse motion, or after a key press. This can be used to calculate the relative displacement of the mouse.
virtual void GetOldPos (IntPtr _arg)
 Get the previous mouse position during mouse motion, or after a key press. This can be used to calculate the relative displacement of the mouse.
virtual int GetShiftKey ()
 Test whether modifiers were held down when mouse button or key was pressed.
override int IsA (string type)
 Undocumented Block.
new vtkInteractorStyleUser NewInstance ()
 Undocumented Block.
override void OnChar ()
 Keyboard functions.
override void OnConfigure ()
 These are more esoteric events, but are useful in some cases.
override void OnEnter ()
 These are more esoteric events, but are useful in some cases.
override void OnExpose ()
 These are more esoteric events, but are useful in some cases.
override void OnKeyPress ()
 Keyboard functions.
override void OnKeyRelease ()
 Keyboard functions.
override void OnLeave ()
 These are more esoteric events, but are useful in some cases.
override void OnLeftButtonDown ()
 Generic event bindings.
override void OnLeftButtonUp ()
 Generic event bindings.
override void OnMiddleButtonDown ()
 Generic event bindings.
override void OnMiddleButtonUp ()
 Generic event bindings.
override void OnMouseMove ()
 Generic event bindings.
override void OnRightButtonDown ()
 Generic event bindings.
override void OnRightButtonUp ()
 Generic event bindings.
override void OnTimer ()
 These are more esoteric events, but are useful in some cases.

Static Public Member Functions

static new vtkInteractorStyleUser New ()
 Undocumented Block.
static new int IsTypeOf (string type)
 Undocumented Block.
static new vtkInteractorStyleUser SafeDownCast (vtkObjectBase o)
 Undocumented Block.

Public Attributes

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

Static Public Attributes

static new readonly string MRClassNameKey = "22vtkInteractorStyleUser"
 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 vtkInteractorStyleUser_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkInteractorStyleUser_GetButton_01 (HandleRef pThis)
static internal int vtkInteractorStyleUser_GetChar_02 (HandleRef pThis)
static internal int vtkInteractorStyleUser_GetCtrlKey_03 (HandleRef pThis)
static internal IntPtr vtkInteractorStyleUser_GetKeySym_04 (HandleRef pThis)
static internal IntPtr vtkInteractorStyleUser_GetLastPos_05 (HandleRef pThis)
static internal void vtkInteractorStyleUser_GetLastPos_06 (HandleRef pThis, ref int _arg1, ref int _arg2)
static internal void vtkInteractorStyleUser_GetLastPos_07 (HandleRef pThis, IntPtr _arg)
static internal IntPtr vtkInteractorStyleUser_GetOldPos_08 (HandleRef pThis)
static internal void vtkInteractorStyleUser_GetOldPos_09 (HandleRef pThis, ref int _arg1, ref int _arg2)
static internal void vtkInteractorStyleUser_GetOldPos_10 (HandleRef pThis, IntPtr _arg)
static internal int vtkInteractorStyleUser_GetShiftKey_11 (HandleRef pThis)
static internal int vtkInteractorStyleUser_IsA_12 (HandleRef pThis, string type)
static internal int vtkInteractorStyleUser_IsTypeOf_13 (string type)
static internal IntPtr vtkInteractorStyleUser_NewInstance_15 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkInteractorStyleUser_OnChar_16 (HandleRef pThis)
static internal void vtkInteractorStyleUser_OnConfigure_17 (HandleRef pThis)
static internal void vtkInteractorStyleUser_OnEnter_18 (HandleRef pThis)
static internal void vtkInteractorStyleUser_OnExpose_19 (HandleRef pThis)
static internal void vtkInteractorStyleUser_OnKeyPress_20 (HandleRef pThis)
static internal void vtkInteractorStyleUser_OnKeyRelease_21 (HandleRef pThis)
static internal void vtkInteractorStyleUser_OnLeave_22 (HandleRef pThis)
static internal void vtkInteractorStyleUser_OnLeftButtonDown_23 (HandleRef pThis)
static internal void vtkInteractorStyleUser_OnLeftButtonUp_24 (HandleRef pThis)
static internal void vtkInteractorStyleUser_OnMiddleButtonDown_25 (HandleRef pThis)
static internal void vtkInteractorStyleUser_OnMiddleButtonUp_26 (HandleRef pThis)
static internal void vtkInteractorStyleUser_OnMouseMove_27 (HandleRef pThis)
static internal void vtkInteractorStyleUser_OnRightButtonDown_28 (HandleRef pThis)
static internal void vtkInteractorStyleUser_OnRightButtonUp_29 (HandleRef pThis)
static internal void vtkInteractorStyleUser_OnTimer_30 (HandleRef pThis)
static internal IntPtr vtkInteractorStyleUser_SafeDownCast_31 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)

Static Private Member Functions

static vtkInteractorStyleUser ()
 Automatically generated type registration mechanics.

Detailed Description

vtkInteractorStyleUser - provides customizable interaction routines

Description The most common way to customize user interaction is to write a subclass of vtkInteractorStyle: vtkInteractorStyleUser allows you to customize the interaction to without subclassing vtkInteractorStyle. This is particularly useful for setting up custom interaction modes in scripting languages such as Tcl and Python. This class allows you to hook into the MouseMove, ButtonPress/Release, KeyPress/Release, etc. events. If you want to hook into just a single mouse button, but leave the interaction modes for the others unchanged, you must use e.g. SetMiddleButtonPressMethod() instead of the more general SetButtonPressMethod().


Constructor & Destructor Documentation

Automatically generated type registration mechanics.

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

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

Undocumented Block.


Member Function Documentation

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

Get the mouse button that was last pressed inside the window (returns zero when the button is released).

virtual int Kitware.VTK.vtkInteractorStyleUser.GetChar ( ) [virtual]

Get the character for a Char event.

Test whether modifiers were held down when mouse button or key was pressed.

virtual string Kitware.VTK.vtkInteractorStyleUser.GetKeySym ( ) [virtual]

Get the KeySym (in the same format as Tk KeySyms) for a KeyPress or KeyRelease method.

virtual int [] Kitware.VTK.vtkInteractorStyleUser.GetLastPos ( ) [virtual]

Get the most recent mouse position during mouse motion. In your user interaction method, you must use this to track the mouse movement. Do not use GetEventPosition(), which records the last position where a mouse button was pressed.

virtual void Kitware.VTK.vtkInteractorStyleUser.GetLastPos ( ref int  _arg1,
ref int  _arg2 
) [virtual]

Get the most recent mouse position during mouse motion. In your user interaction method, you must use this to track the mouse movement. Do not use GetEventPosition(), which records the last position where a mouse button was pressed.

virtual void Kitware.VTK.vtkInteractorStyleUser.GetLastPos ( IntPtr  _arg) [virtual]

Get the most recent mouse position during mouse motion. In your user interaction method, you must use this to track the mouse movement. Do not use GetEventPosition(), which records the last position where a mouse button was pressed.

virtual int [] Kitware.VTK.vtkInteractorStyleUser.GetOldPos ( ) [virtual]

Get the previous mouse position during mouse motion, or after a key press. This can be used to calculate the relative displacement of the mouse.

virtual void Kitware.VTK.vtkInteractorStyleUser.GetOldPos ( ref int  _arg1,
ref int  _arg2 
) [virtual]

Get the previous mouse position during mouse motion, or after a key press. This can be used to calculate the relative displacement of the mouse.

virtual void Kitware.VTK.vtkInteractorStyleUser.GetOldPos ( IntPtr  _arg) [virtual]

Get the previous mouse position during mouse motion, or after a key press. This can be used to calculate the relative displacement of the mouse.

Test whether modifiers were held down when mouse button or key was pressed.

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

Undocumented Block.

Reimplemented from Kitware.VTK.vtkInteractorStyle.

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

Undocumented Block.

Reimplemented from Kitware.VTK.vtkInteractorStyle.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkInteractorStyle.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkInteractorStyle.

override void Kitware.VTK.vtkInteractorStyleUser.OnChar ( ) [virtual]

Keyboard functions.

Reimplemented from Kitware.VTK.vtkInteractorStyle.

These are more esoteric events, but are useful in some cases.

Reimplemented from Kitware.VTK.vtkInteractorStyle.

override void Kitware.VTK.vtkInteractorStyleUser.OnEnter ( ) [virtual]

These are more esoteric events, but are useful in some cases.

Reimplemented from Kitware.VTK.vtkInteractorStyle.

override void Kitware.VTK.vtkInteractorStyleUser.OnExpose ( ) [virtual]

These are more esoteric events, but are useful in some cases.

Reimplemented from Kitware.VTK.vtkInteractorStyle.

override void Kitware.VTK.vtkInteractorStyleUser.OnKeyPress ( ) [virtual]

Keyboard functions.

Reimplemented from Kitware.VTK.vtkInteractorStyle.

Keyboard functions.

Reimplemented from Kitware.VTK.vtkInteractorStyle.

override void Kitware.VTK.vtkInteractorStyleUser.OnLeave ( ) [virtual]

These are more esoteric events, but are useful in some cases.

Reimplemented from Kitware.VTK.vtkInteractorStyle.

Generic event bindings.

Reimplemented from Kitware.VTK.vtkInteractorStyle.

Generic event bindings.

Reimplemented from Kitware.VTK.vtkInteractorStyle.

Generic event bindings.

Reimplemented from Kitware.VTK.vtkInteractorStyle.

Generic event bindings.

Reimplemented from Kitware.VTK.vtkInteractorStyle.

Generic event bindings.

Reimplemented from Kitware.VTK.vtkInteractorStyle.

Generic event bindings.

Reimplemented from Kitware.VTK.vtkInteractorStyle.

Generic event bindings.

Reimplemented from Kitware.VTK.vtkInteractorStyle.

override void Kitware.VTK.vtkInteractorStyleUser.OnTimer ( ) [virtual]

These are more esoteric events, but are useful in some cases.

Reimplemented from Kitware.VTK.vtkInteractorStyle.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkInteractorStyle.

Here is the call graph for this function:

static internal int Kitware.VTK.vtkInteractorStyleUser.vtkInteractorStyleUser_GetButton_01 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkInteractorStyleUser.vtkInteractorStyleUser_GetChar_02 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkInteractorStyleUser.vtkInteractorStyleUser_GetCtrlKey_03 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkInteractorStyleUser.vtkInteractorStyleUser_GetKeySym_04 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkInteractorStyleUser.vtkInteractorStyleUser_GetLastPos_05 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkInteractorStyleUser.vtkInteractorStyleUser_GetLastPos_06 ( HandleRef  pThis,
ref int  _arg1,
ref int  _arg2 
) [private]
static internal void Kitware.VTK.vtkInteractorStyleUser.vtkInteractorStyleUser_GetLastPos_07 ( HandleRef  pThis,
IntPtr  _arg 
) [private]
static internal IntPtr Kitware.VTK.vtkInteractorStyleUser.vtkInteractorStyleUser_GetOldPos_08 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkInteractorStyleUser.vtkInteractorStyleUser_GetOldPos_09 ( HandleRef  pThis,
ref int  _arg1,
ref int  _arg2 
) [private]
static internal void Kitware.VTK.vtkInteractorStyleUser.vtkInteractorStyleUser_GetOldPos_10 ( HandleRef  pThis,
IntPtr  _arg 
) [private]
static internal int Kitware.VTK.vtkInteractorStyleUser.vtkInteractorStyleUser_GetShiftKey_11 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkInteractorStyleUser.vtkInteractorStyleUser_IsA_12 ( HandleRef  pThis,
string  type 
) [private]
static internal int Kitware.VTK.vtkInteractorStyleUser.vtkInteractorStyleUser_IsTypeOf_13 ( string  type) [private]
static internal IntPtr Kitware.VTK.vtkInteractorStyleUser.vtkInteractorStyleUser_New ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkInteractorStyleUser.vtkInteractorStyleUser_NewInstance_15 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkInteractorStyleUser.vtkInteractorStyleUser_OnChar_16 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkInteractorStyleUser.vtkInteractorStyleUser_OnConfigure_17 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkInteractorStyleUser.vtkInteractorStyleUser_OnEnter_18 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkInteractorStyleUser.vtkInteractorStyleUser_OnExpose_19 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkInteractorStyleUser.vtkInteractorStyleUser_OnKeyPress_20 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkInteractorStyleUser.vtkInteractorStyleUser_OnKeyRelease_21 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkInteractorStyleUser.vtkInteractorStyleUser_OnLeave_22 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkInteractorStyleUser.vtkInteractorStyleUser_OnLeftButtonDown_23 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkInteractorStyleUser.vtkInteractorStyleUser_OnLeftButtonUp_24 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkInteractorStyleUser.vtkInteractorStyleUser_OnMiddleButtonDown_25 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkInteractorStyleUser.vtkInteractorStyleUser_OnMiddleButtonUp_26 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkInteractorStyleUser.vtkInteractorStyleUser_OnMouseMove_27 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkInteractorStyleUser.vtkInteractorStyleUser_OnRightButtonDown_28 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkInteractorStyleUser.vtkInteractorStyleUser_OnRightButtonUp_29 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkInteractorStyleUser.vtkInteractorStyleUser_OnTimer_30 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkInteractorStyleUser.vtkInteractorStyleUser_SafeDownCast_31 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]

Member Data Documentation

new readonly string Kitware.VTK.vtkInteractorStyleUser.MRClassNameKey = "22vtkInteractorStyleUser" [static]

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkInteractorStyle.

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

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkInteractorStyle.


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