Medical Imaging Interaction Toolkit  2018.4.99-12ad79a3
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) implmentation 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.

Referenced by mitk::ApplicationCursor::GetCursorPosition().

◆ PopCursor()

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

Restore the previous cursor.

Implemented in QmitkApplicationCursor.

Referenced by mitk::ApplicationCursor::PopCursor().

◆ 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.

Referenced by mitk::ApplicationCursor::PushCursor().

◆ 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.

Referenced by mitk::ApplicationCursor::SetCursorPosition().


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