vtkSlicerInteractorStyle Class Reference
#include <vtkSlicerInteractorStyle.h>
List of all members.
Constructor & Destructor Documentation
| vtkSlicerInteractorStyle::vtkSlicerInteractorStyle |
( |
|
) |
[protected] |
| vtkSlicerInteractorStyle::~vtkSlicerInteractorStyle |
( |
|
) |
[protected] |
Member Function Documentation
| void vtkSlicerInteractorStyle::OnChar |
( |
|
) |
[virtual] |
| void vtkSlicerInteractorStyle::OnConfigure |
( |
|
) |
[virtual] |
| void vtkSlicerInteractorStyle::OnEnter |
( |
|
) |
[virtual] |
| void vtkSlicerInteractorStyle::OnExpose |
( |
|
) |
[virtual] |
These are more esoteric events, but are useful in some cases.
| void vtkSlicerInteractorStyle::OnKeyPress |
( |
|
) |
[virtual] |
| void vtkSlicerInteractorStyle::OnKeyRelease |
( |
|
) |
[virtual] |
| void vtkSlicerInteractorStyle::OnLeave |
( |
|
) |
[virtual] |
| void vtkSlicerInteractorStyle::OnLeftButtonDown |
( |
|
) |
[virtual] |
| void vtkSlicerInteractorStyle::OnLeftButtonUp |
( |
|
) |
[virtual] |
| void vtkSlicerInteractorStyle::OnMiddleButtonDown |
( |
|
) |
[virtual] |
| void vtkSlicerInteractorStyle::OnMiddleButtonUp |
( |
|
) |
[virtual] |
| void vtkSlicerInteractorStyle::OnMouseMove |
( |
|
) |
[virtual] |
| void vtkSlicerInteractorStyle::OnMouseWheelBackward |
( |
|
) |
[virtual] |
| void vtkSlicerInteractorStyle::OnMouseWheelForward |
( |
|
) |
[virtual] |
MouseWheel callbacks added for slicer.
| void vtkSlicerInteractorStyle::OnRightButtonDown |
( |
|
) |
[virtual] |
| void vtkSlicerInteractorStyle::OnRightButtonUp |
( |
|
) |
[virtual] |
| void vtkSlicerInteractorStyle::OnTimer |
( |
|
) |
[virtual] |
| void vtkSlicerInteractorStyle::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent | |
|
) |
| | |
| vtkSlicerInteractorStyle::vtkGetMacro |
( |
Button |
, |
|
|
int |
| |
|
) |
| | |
Get the mouse button that was last pressed inside the window (returns zero when the button is released).
| vtkSlicerInteractorStyle::vtkGetMacro |
( |
Char |
, |
|
|
int |
| |
|
) |
| | |
Get the character for a Char event.
| vtkSlicerInteractorStyle::vtkGetMacro |
( |
CtrlKey |
, |
|
|
int |
| |
|
) |
| | |
| vtkSlicerInteractorStyle::vtkGetMacro |
( |
ShiftKey |
, |
|
|
int |
| |
|
) |
| | |
Test whether modifiers were held down when mouse button or key was pressed
| vtkSlicerInteractorStyle::vtkGetStringMacro |
( |
KeySym |
|
) |
|
Get the KeySym (in the same format as Tk KeySyms) for a KeyPress or KeyRelease method.
| vtkSlicerInteractorStyle::vtkGetVector2Macro |
( |
OldPos |
, |
|
|
int |
| |
|
) |
| | |
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.
| vtkSlicerInteractorStyle::vtkGetVector2Macro |
( |
LastPos |
, |
|
|
int |
| |
|
) |
| | |
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.
Member Data Documentation
Referenced by OnChar(), OnKeyPress(), OnKeyRelease(), OnLeftButtonDown(), OnLeftButtonUp(), OnMiddleButtonDown(), OnMiddleButtonUp(), OnMouseMove(), OnRightButtonDown(), OnRightButtonUp(), PrintSelf(), and vtkSlicerInteractorStyle().
Referenced by OnEnter(), OnLeave(), OnLeftButtonDown(), OnLeftButtonUp(), OnMiddleButtonDown(), OnMiddleButtonUp(), OnMouseMove(), OnRightButtonDown(), OnRightButtonUp(), OnTimer(), PrintSelf(), and vtkSlicerInteractorStyle().
Referenced by OnChar(), OnKeyPress(), OnKeyRelease(), OnLeftButtonDown(), OnLeftButtonUp(), OnMiddleButtonDown(), OnMiddleButtonUp(), OnMouseMove(), OnRightButtonDown(), OnRightButtonUp(), PrintSelf(), and vtkSlicerInteractorStyle().
The documentation for this class was generated from the following files: