mitkImageViewManipulatorStandard Class Reference
mitkImageViewManipulatorStandard - a concrete manipulator to process mouse events in an image scene
More...
#include <mitkImageViewManipulatorStandard.h>
Inherits mitkManipulator.
Inheritance diagram for mitkImageViewManipulatorStandard:
[legend]Collaboration diagram for mitkImageViewManipulatorStandard:
[legend]List of all members.
|
Public Member Functions |
virtual void | PrintSelf (ostream &os) |
Protected Member Functions |
virtual void | _onMouseDown (int mouseButton, bool ctrlDown, bool shiftDown, int xPos, int yPos) |
virtual void | _onMouseUp (int mouseButton, bool ctrlDown, bool shiftDown, int xPos, int yPos) |
virtual void | _onMouseMove (bool ctrlDown, bool shiftDown, int xPos, int yPos) |
Detailed Description
mitkImageViewManipulatorStandard - a concrete manipulator to process mouse events in an image scene
mitkImageViewManipulatorStandard is a concrete manipulator to process mouse events in an image scene. It is the default manipulator of a image scene. The behavior of this manipulator is shown as follows:
Mouse Left Key --- Translation
Mouse Middle Key --- Adjusting window width / center
Mouse Right Key --- Zoom in / out
Member Function Documentation
virtual void mitkImageViewManipulatorStandard::_onMouseDown |
( |
int |
mouseButton, |
|
|
bool |
ctrlDown, |
|
|
bool |
shiftDown, |
|
|
int |
xPos, |
|
|
int |
yPos |
|
) |
[protected, virtual] |
|
|
Deal with mouse down event. - Parameters:
-
| mouseButton | indicates which mouse button is pressed |
| ctrlDown | indicates if the key "Ctrl" is pressed |
| shiftDown | indicates if the key "Shift" is pressed |
| xPos | x-coordinate of the mouse position when mouse down event occurs |
| yPos | y-coordinate of the mouse position when mouse down event occurs |
Implements mitkManipulator. |
virtual void mitkImageViewManipulatorStandard::_onMouseMove |
( |
bool |
ctrlDown, |
|
|
bool |
shiftDown, |
|
|
int |
xPos, |
|
|
int |
yPos |
|
) |
[protected, virtual] |
|
|
Deal with mouse move event. - Parameters:
-
| ctrlDown | indicates if the key "Ctrl" is pressed |
| shiftDown | indicates if the key "Shift" is pressed |
| xPos | x-coordinate of the mouse position when mouse move event occurs |
| yPos | y-coordinate of the mouse position when mouse move event occurs |
Implements mitkManipulator. |
virtual void mitkImageViewManipulatorStandard::_onMouseUp |
( |
int |
mouseButton, |
|
|
bool |
ctrlDown, |
|
|
bool |
shiftDown, |
|
|
int |
xPos, |
|
|
int |
yPos |
|
) |
[protected, virtual] |
|
|
Deal with mouse up event. - Parameters:
-
| mouseButton | indicates which mouse button was pressed and now released |
| ctrlDown | indicates if the key "Ctrl" is pressed |
| shiftDown | indicates if the key "Shift" is pressed |
| xPos | x-coordinate of the mouse position when mouse up event occurs |
| yPos | y-coordinate of the mouse position when mouse up event occurs |
Implements mitkManipulator. |
virtual void mitkImageViewManipulatorStandard::PrintSelf |
( |
ostream & |
os |
) |
[virtual] |
|
|
Print the necessary information about this object for the debugging purpose. - Parameters:
-
| os | The specified ostream to output information. |
Reimplemented from mitkManipulator. |
The documentation for this class was generated from the following file:
Generated on Tue Feb 25 15:03:21 2014 for MITK (Medical Imaging ToolKit) by
1.4.3