Public Member Functions

mitk::PositionEvent Class Reference
[Interaction Classes]

Event that stores coordinates. More...

#include <mitkPositionEvent.h>

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

List of all members.

Public Member Functions

 PositionEvent (BaseRenderer *sender, int type, int button, int buttonState, int key, const Point2D &displPosition, const Point3D &worldPosition)
 Constructor with all necessary arguments.

Detailed Description

Event that stores coordinates.

Stores display position of the mouse and 3D world position in mm.

Definition at line 34 of file mitkPositionEvent.h.


Constructor & Destructor Documentation

mitk::PositionEvent::PositionEvent ( BaseRenderer sender,
int  type,
int  button,
int  buttonState,
int  key,
const Point2D &  displPosition,
const Point3D &  worldPosition 
)

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

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