Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members

mitkMeshViewManipulatorStandard Class Reference

mitkMeshViewManipulatorStandard - a concrete manipulator to process mouse events in an 3D scene More...

#include <mitkMeshViewManipulatorStandard.h>

Inherits mitkManipulator.

Inheritance diagram for mitkMeshViewManipulatorStandard:

Inheritance graph
[legend]
Collaboration diagram for mitkMeshViewManipulatorStandard:

Collaboration graph
[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

mitkMeshViewManipulatorStandard - a concrete manipulator to process mouse events in an 3D scene

mitkMeshViewManipulatorStandard is a concrete manipulator to process mouse events in an 3D scene. It is the default manipulator of a mitkScene. The behavior of this manipulator is shown as follows:
Mouse Left Key --- Rotation
Mouse Middle Key --- Translation
Mouse Right Key --- Zoom in / out


Member Function Documentation

virtual void mitkMeshViewManipulatorStandard::_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 mitkMeshViewManipulatorStandard::_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 mitkMeshViewManipulatorStandard::_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 mitkMeshViewManipulatorStandard::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:54 2014 for MITK (Medical Imaging ToolKit) by  doxygen 1.4.3