Public Member Functions | Protected Attributes

mitk::WheelEvent Class Reference
[Interaction Classes]

Event that stores coordinates and rotation on mouse wheel events. More...

#include <mitkWheelEvent.h>

Inheritance diagram for mitk::WheelEvent:
Inheritance graph
[legend]
Collaboration diagram for mitk::WheelEvent:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

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.


Constructor & Destructor Documentation

mitk::WheelEvent::WheelEvent ( BaseRenderer sender,
int  type,
int  button,
int  buttonState,
int  key,
const Point2D &  displPosition,
int  delta 
)

Constructor with all necessary arguments.

Parameters:
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

Member Function Documentation

int mitk::WheelEvent::GetDelta (  ) const

Member Data Documentation

int mitk::WheelEvent::m_Delta [protected]

Definition at line 49 of file mitkWheelEvent.h.

Referenced by GetDelta().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines