Medical Imaging Interaction Toolkit  2016.11.0
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 32 of file mitkApplicationCursor.h.

Constructor & Destructor Documentation

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

Definition at line 50 of file mitkApplicationCursor.h.

Member Function Documentation

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

Get absolute mouse position on screen.

Implemented in QmitkApplicationCursor.

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

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

Restore the previous cursor.

Implemented in QmitkApplicationCursor.

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

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().

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

Change the current application cursor.

Implemented in QmitkApplicationCursor.

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: