Event that stores coordinates and rotation on mouse wheel events. More...
#include <mitkWheelEvent.h>
Public Member Functions | |
WheelEvent (BaseRenderer *sender, int type, int button, int buttonState, int key, const Point2D &displPosition, int delta) | |
Constructor with all necessary arguments. | |
int | GetDelta () const |
Protected Attributes | |
int | m_Delta |
Event that stores coordinates and rotation on mouse wheel events.
Stores display position of the mouse and 3D world position in mm.
Definition at line 34 of file mitkWheelEvent.h.
mitk::WheelEvent::WheelEvent | ( | BaseRenderer * | sender, |
int | type, | ||
int | button, | ||
int | buttonState, | ||
int | key, | ||
const Point2D & | displPosition, | ||
int | delta | ||
) |
Constructor with all necessary arguments.
sender,: | the widget, that caused that event, so that it can be asked for worldCoordinates. changed later to a focus |
type,button,buttonState,key,: | information from the Event |
displPosition,: | the 2D Position e.g. from the mouse |
worldPosition,: | the 3D position e.g. from a picking |
delta,: | the movement of the mousewheel |
int mitk::WheelEvent::GetDelta | ( | ) | const |
Definition at line 29 of file mitkWheelEvent.cpp.
References m_Delta.
Referenced by mitk::SurfaceDeformationInteractor3D::ExecuteAction(), and mitk::RenderWindowBase::wheelMitkEvent().
{ return m_Delta; }
int mitk::WheelEvent::m_Delta [protected] |
Definition at line 49 of file mitkWheelEvent.h.
Referenced by GetDelta().