mitkWidgetsViewManipulator Class Reference
mitkWidgetsViewManipulator - manipulator of a view contains widgets
More...
#include <mitkWidgetsViewManipulator.h>
Inherits mitkPickManipulator.
Inheritance diagram for mitkWidgetsViewManipulator:
[legend]Collaboration diagram for mitkWidgetsViewManipulator:
[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
mitkWidgetsViewManipulator - manipulator of a view contains widgets
mitkWidgetsViewManipulator is a manipulator of a view contains widgets. It can select a widget in the scene and drive the widget to manipulate the object in the scene.
Member Function Documentation
virtual void mitkWidgetsViewManipulator::_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 mitkWidgetsViewManipulator::_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 mitkWidgetsViewManipulator::_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 mitkWidgetsViewManipulator::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 mitkPickManipulator. |
The documentation for this class was generated from the following file:
Generated on Tue Feb 25 15:07:48 2014 for MITK (Medical Imaging ToolKit) by
1.4.3