Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::MouseReleaseEvent Class Reference

#include <mitkMouseReleaseEvent.h>

Inheritance diagram for mitk::MouseReleaseEvent:
Collaboration diagram for mitk::MouseReleaseEvent:

Public Types

typedef MouseReleaseEvent Self
 
typedef InteractionPositionEvent Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 
- Public Types inherited from mitk::InteractionPositionEvent
typedef InteractionPositionEvent Self
 
typedef InteractionEvent Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 
- Public Types inherited from mitk::InteractionEvent
enum  MouseButtons { NoButton, LeftMouseButton, RightMouseButton, MiddleMouseButton }
 
enum  ModifierKeys { NoKey, ShiftKey, ControlKey, AltKey }
 
typedef InteractionEvent Self
 
typedef itk::LightObject Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 

Public Member Functions

virtual std::vector< std::string > GetClassHierarchy () const override
 
virtual const char * GetClassName () const
 
ModifierKeys GetModifiers () const
 
MouseButtons GetButtonStates () const
 
void SetModifiers (ModifierKeys modifiers)
 
void SetButtonStates (MouseButtons buttons)
 
MouseButtons GetEventButton () const
 
void SetEventButton (MouseButtons buttons)
 
virtual bool IsSuperClassOf (const InteractionEvent::Pointer &baseClass) const override
 
- Public Member Functions inherited from mitk::InteractionPositionEvent
Point2D GetPointerPositionOnScreen () const
 
Point3D GetPositionInWorld () const
 
- Public Member Functions inherited from mitk::InteractionEvent
void SetSender (BaseRenderer *sender)
 
BaseRendererGetSender () const
 

Static Public Member Functions

static const char * GetStaticNameOfClass ()
 
static Pointer New (BaseRenderer *_arga, const Point2D &_argb, MouseButtons _argc, ModifierKeys _argd, MouseButtons _arge)
 
- Static Public Member Functions inherited from mitk::InteractionPositionEvent
static const char * GetStaticNameOfClass ()
 
static Pointer New (BaseRenderer *_arga, const Point2D &_argb)
 
- Static Public Member Functions inherited from mitk::InteractionEvent
static const char * GetStaticNameOfClass ()
 
static Pointer New (BaseRenderer *_arg)
 

Protected Member Functions

 MouseReleaseEvent (BaseRenderer *, const mitk::Point2D &mousePosition=Point2D(), MouseButtons buttonStates=NoButton, ModifierKeys modifiers=NoKey, MouseButtons eventButton=NoButton)
 
virtual ~MouseReleaseEvent ()
 
virtual bool IsEqual (const InteractionEvent &) const override
 
- Protected Member Functions inherited from mitk::InteractionPositionEvent
 InteractionPositionEvent (BaseRenderer *baseRenderer, const Point2D &mousePosition)
 
virtual ~InteractionPositionEvent ()
 
- Protected Member Functions inherited from mitk::InteractionEvent
 InteractionEvent (BaseRenderer *)
 
virtual ~InteractionEvent ()
 

Additional Inherited Members

- Static Public Attributes inherited from mitk::InteractionEvent
static const std::string KeyEsc
 
static const std::string KeyEnter
 
static const std::string KeyReturn
 
static const std::string KeyDelete
 
static const std::string KeyArrowUp
 
static const std::string KeyArrowDown
 
static const std::string KeyArrowLeft
 
static const std::string KeyArrowRight
 
static const std::string KeyF1
 
static const std::string KeyF2
 
static const std::string KeyF3
 
static const std::string KeyF4
 
static const std::string KeyF5
 
static const std::string KeyF6
 
static const std::string KeyF7
 
static const std::string KeyF8
 
static const std::string KeyF9
 
static const std::string KeyF10
 
static const std::string KeyF11
 
static const std::string KeyF12
 
static const std::string KeyPos1
 
static const std::string KeyEnd
 
static const std::string KeyInsert
 
static const std::string KeyPageUp
 
static const std::string KeyPageDown
 
static const std::string KeySpace
 

Detailed Description

Definition at line 32 of file mitkMouseReleaseEvent.h.

Member Typedef Documentation

Constructor & Destructor Documentation

mitk::MouseReleaseEvent::MouseReleaseEvent ( mitk::BaseRenderer baseRenderer,
const mitk::Point2D mousePosition = Point2D(),
MouseButtons  buttonStates = NoButton,
ModifierKeys  modifiers = NoKey,
MouseButtons  eventButton = NoButton 
)
protected

Definition at line 20 of file mitkMouseReleaseEvent.cpp.

mitk::MouseReleaseEvent::~MouseReleaseEvent ( )
protectedvirtual

Definition at line 62 of file mitkMouseReleaseEvent.cpp.

Member Function Documentation

mitk::InteractionEvent::MouseButtons mitk::MouseReleaseEvent::GetButtonStates ( ) const

Definition at line 47 of file mitkMouseReleaseEvent.cpp.

Referenced by GetButtonState(), and IsEqual().

virtual std::vector<std::string> mitk::MouseReleaseEvent::GetClassHierarchy ( ) const
inlineoverridevirtual

Reimplemented from mitk::InteractionPositionEvent.

Definition at line 35 of file mitkMouseReleaseEvent.h.

virtual const char* mitk::MouseReleaseEvent::GetClassName ( ) const
virtual

Reimplemented from mitk::InteractionPositionEvent.

mitk::InteractionEvent::MouseButtons mitk::MouseReleaseEvent::GetEventButton ( ) const

Definition at line 32 of file mitkMouseReleaseEvent.cpp.

Referenced by GetEventButton(), and IsEqual().

mitk::InteractionEvent::ModifierKeys mitk::MouseReleaseEvent::GetModifiers ( ) const

Definition at line 42 of file mitkMouseReleaseEvent.cpp.

Referenced by GetModifierState(), and IsEqual().

static const char* mitk::MouseReleaseEvent::GetStaticNameOfClass ( )
inlinestatic

Definition at line 35 of file mitkMouseReleaseEvent.h.

bool mitk::MouseReleaseEvent::IsEqual ( const InteractionEvent interactionEvent) const
overrideprotectedvirtual
bool mitk::MouseReleaseEvent::IsSuperClassOf ( const InteractionEvent::Pointer baseClass) const
overridevirtual

This class implements an up cast to check if the provided baseClass object is derived from this class. This function is used to support polymorphism on state machine pattern (XML) level.

Reimplemented from mitk::InteractionPositionEvent.

Definition at line 73 of file mitkMouseReleaseEvent.cpp.

void mitk::MouseReleaseEvent::SetButtonStates ( MouseButtons  buttons)

Definition at line 57 of file mitkMouseReleaseEvent.cpp.

void mitk::MouseReleaseEvent::SetEventButton ( MouseButtons  buttons)

Definition at line 37 of file mitkMouseReleaseEvent.cpp.

void mitk::MouseReleaseEvent::SetModifiers ( ModifierKeys  modifiers)

Definition at line 52 of file mitkMouseReleaseEvent.cpp.


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