Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
mitk::ApplicationCursorImplementation Class Referenceabstract

Toolkit specific implementation of mitk::ApplicationCursor. More...

#include <mitkApplicationCursor.h>

Inheritance diagram for mitk::ApplicationCursorImplementation:

Public Member Functions

virtual void PushCursor (const char *XPM[], int hotspotX, int hotspotY)=0
 Change the current application cursor. More...
 
virtual void PushCursor (std::istream &, int hotspotX, int hotspotY)=0
 Change the current application cursor. More...
 
virtual void PopCursor ()=0
 Restore the previous cursor. More...
 
virtual const Point2I GetCursorPosition ()=0
 Get absolute mouse position on screen. More...
 
virtual void SetCursorPosition (const Point2I &)=0
 Set absolute mouse position on screen. More...
 
virtual ~ApplicationCursorImplementation ()
 

Detailed Description

Toolkit specific implementation of mitk::ApplicationCursor.

For any toolkit, this class has to be sub-classed. One instance of that sub-class has to be registered with mitk::ApplicationCursor. See the (very simple) implementation of QmitkApplicationCursor for an example.

Definition at line 28 of file mitkApplicationCursor.h.

Constructor & Destructor Documentation

◆ ~ApplicationCursorImplementation()

virtual mitk::ApplicationCursorImplementation::~ApplicationCursorImplementation ( )
inlinevirtual

Definition at line 46 of file mitkApplicationCursor.h.

Member Function Documentation

◆ GetCursorPosition()

virtual const Point2I mitk::ApplicationCursorImplementation::GetCursorPosition ( )
pure virtual

Get absolute mouse position on screen.

Implemented in QmitkApplicationCursor.

◆ PopCursor()

virtual void mitk::ApplicationCursorImplementation::PopCursor ( )
pure virtual

Restore the previous cursor.

Implemented in QmitkApplicationCursor.

◆ PushCursor() [1/2]

virtual void mitk::ApplicationCursorImplementation::PushCursor ( const char *  XPM[],
int  hotspotX,
int  hotspotY 
)
pure virtual

Change the current application cursor.

Implemented in QmitkApplicationCursor.

◆ PushCursor() [2/2]

virtual void mitk::ApplicationCursorImplementation::PushCursor ( std::istream &  ,
int  hotspotX,
int  hotspotY 
)
pure virtual

Change the current application cursor.

Implemented in QmitkApplicationCursor.

◆ SetCursorPosition()

virtual void mitk::ApplicationCursorImplementation::SetCursorPosition ( const Point2I )
pure virtual

Set absolute mouse position on screen.

Implemented in QmitkApplicationCursor.


The documentation for this class was generated from the following file: