Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
13 #ifndef mitkDisplayActionEvents_h
14 #define mitkDisplayActionEvents_h
22 #include <itkEventObject.h>
38 const char*
GetEventName()
const override {
return "DisplayActionEvent"; }
39 bool CheckEvent(
const itk::EventObject* e)
const override {
return dynamic_cast<const Self *
>(e) !=
nullptr; }
40 itk::EventObject*
MakeObject()
const override {
return new Self(m_InteractionEvent); }
44 return m_InteractionEvent !=
nullptr ? m_InteractionEvent->GetSender() :
nullptr;
50 void operator=(
const Self &);
62 , m_MoveVector(moveVector)
66 const char*
GetEventName()
const override {
return "DisplayMoveEvent"; }
67 bool CheckEvent(
const itk::EventObject* e)
const override {
return dynamic_cast<const Self *
>(e) !=
nullptr; }
68 itk::EventObject*
MakeObject()
const override {
return new Self(GetInteractionEvent(), m_MoveVector); }
85 , m_Position(position)
89 const char*
GetEventName()
const override {
return "DisplaySetCrosshairEvent"; }
90 bool CheckEvent(
const itk::EventObject* e)
const override {
return dynamic_cast<const Self *
>(e) !=
nullptr; }
91 itk::EventObject*
MakeObject()
const override {
return new Self(GetInteractionEvent(), m_Position); }
108 , m_ZoomFactor(zoomFactor)
109 , m_StartCoordinate(startCoordinate)
113 const char*
GetEventName()
const override {
return "DisplayZoomEvent"; }
114 bool CheckEvent(
const itk::EventObject* e)
const override {
return dynamic_cast<const Self *
>(e) !=
nullptr; }
115 itk::EventObject*
MakeObject()
const override {
return new Self(GetInteractionEvent(), m_ZoomFactor, m_StartCoordinate); }
134 , m_SliceDelta(sliceDelta)
135 , m_AutoRepeat(autoRepeat)
139 const char*
GetEventName()
const override {
return "DisplayScrollEvent"; }
140 bool CheckEvent(
const itk::EventObject *e)
const override {
return dynamic_cast<const Self *
>(e) !=
nullptr; }
141 itk::EventObject*
MakeObject()
const override {
return new Self(GetInteractionEvent(), m_SliceDelta, m_AutoRepeat); }
165 const char*
GetEventName()
const override {
return "DisplaySetLevelWindowEvent"; }
166 bool CheckEvent(
const itk::EventObject *e)
const override {
return dynamic_cast<const Self *
>(e) !=
nullptr; }
167 itk::EventObject*
MakeObject()
const override {
return new Self(GetInteractionEvent(), m_Level, m_Window); }
DisplaySetCrosshairEvent()
DisplayActionEvent Superclass
itk::EventObject * MakeObject() const override
~DisplaySetLevelWindowEvent() override
DisplayActionEvent(InteractionEvent *interactionEvent)
ScalarType GetLevel() const
DisplayMoveEvent(const Self &s)
float GetZoomFactor() const
const char * GetEventName() const override
~DisplayMoveEvent() override
bool CheckEvent(const itk::EventObject *e) const override
const char * GetEventName() const override
const Vector2D & GetMoveVector() const
const Point3D & GetPosition() const
~DisplayZoomEvent() override
const char * GetEventName() const override
bool CheckEvent(const itk::EventObject *e) const override
ScalarType GetWindow() const
DisplaySetCrosshairEvent Self
DisplaySetLevelWindowEvent Self
Find image slices visible on a given plane.
itk::EventObject * MakeObject() const override
DisplayMoveEvent(InteractionEvent *interactionEvent, const Vector2D &moveVector)
DisplaySetCrosshairEvent(InteractionEvent *interactionEvent, const Point3D &position)
DisplayActionEvent Superclass
~DisplayActionEvent() override
const char * GetEventName() const override
bool CheckEvent(const itk::EventObject *e) const override
itk::EventObject * MakeObject() const override
DisplaySetLevelWindowEvent(const Self &s)
~DisplaySetCrosshairEvent() override
DisplaySetCrosshairEvent(const Self &s)
DisplaySetLevelWindowEvent(InteractionEvent *interactionEvent, ScalarType level, ScalarType window)
DisplayActionEvent Superclass
InteractionEvent * GetInteractionEvent() const
bool CheckEvent(const itk::EventObject *e) const override
const char * GetEventName() const override
DisplayActionEvent Superclass
const Point2D & GetStartCoordinate() const
itk::EventObject * MakeObject() const override
bool CheckEvent(const itk::EventObject *e) const override
DisplaySetLevelWindowEvent()
DisplayZoomEvent(const Self &s)
BaseRenderer * GetSender() const
DisplayActionEvent(const Self &s)
itk::EventObject * MakeObject() const override
DisplayZoomEvent(InteractionEvent *interactionEvent, float zoomFactor, const Point2D &startCoordinate)