Event that stores coordinates. More...
#include <mitkPositionEvent.h>
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. |
Event that stores coordinates.
Stores display position of the mouse and 3D world position in mm.
Definition at line 34 of file mitkPositionEvent.h.
mitk::PositionEvent::PositionEvent | ( | BaseRenderer * | sender, |
int | type, | ||
int | button, | ||
int | buttonState, | ||
int | key, | ||
const Point2D & | displPosition, | ||
const Point3D & | worldPosition | ||
) |
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 |