|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
Abstract interface for toolkit-specific cursor implementations. More...
#include <mitkApplicationCursor.h>

Public Member Functions | |
| virtual void | PushCursor (const char *XPM[], int hotspotX, int hotspotY)=0 |
| Push a new cursor onto the cursor stack (XPM format). More... | |
| virtual void | PushCursor (std::istream &cursorStream, int hotspotX, int hotspotY)=0 |
| Push a new cursor onto the cursor stack (stream format). More... | |
| virtual void | PopCursor ()=0 |
| Restore the previous cursor from the stack. More... | |
| virtual const Point2I | GetCursorPosition ()=0 |
| Get the absolute mouse position on screen. More... | |
| virtual void | SetCursorPosition (const Point2I &position)=0 |
| Set the absolute mouse position on screen. More... | |
| virtual | ~ApplicationCursorImplementation () |
Abstract interface for toolkit-specific cursor implementations.
For any GUI toolkit, this class must be sub-classed to provide cursor management functionality. One instance of the sub-class must be registered with mitk::ApplicationCursor. See QmitkApplicationCursor for an example.
Definition at line 30 of file mitkApplicationCursor.h.
|
inlinevirtual |
Definition at line 66 of file mitkApplicationCursor.h.
|
pure virtual |
Get the absolute mouse position on screen.
Implemented in QmitkApplicationCursor.
|
pure virtual |
Restore the previous cursor from the stack.
Implemented in QmitkApplicationCursor.
|
pure virtual |
Push a new cursor onto the cursor stack (XPM format).
| [in] | XPM | The cursor image in XPM format. |
| [in] | hotspotX | The x-coordinate of the cursor hotspot. |
| [in] | hotspotY | The y-coordinate of the cursor hotspot. |
Implemented in QmitkApplicationCursor.
|
pure virtual |
Push a new cursor onto the cursor stack (stream format).
| [in,out] | cursorStream | Input stream containing cursor data. |
| [in] | hotspotX | The x-coordinate of the cursor hotspot. |
| [in] | hotspotY | The y-coordinate of the cursor hotspot. |
Implemented in QmitkApplicationCursor.
|
pure virtual |
Set the absolute mouse position on screen.
| [in] | position | The desired cursor position in screen coordinates. |
Implemented in QmitkApplicationCursor.