Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitk::DisplayMoveEvent Class Reference

Display action event carrying a 2D move vector for camera panning. More...

#include <mitkDisplayActionEvents.h>

Inheritance diagram for mitk::DisplayMoveEvent:
Collaboration diagram for mitk::DisplayMoveEvent:

Public Types

typedef DisplayMoveEvent Self
 
typedef DisplayActionEvent Superclass
 
- Public Types inherited from mitk::DisplayActionEvent
typedef DisplayActionEvent Self
 
typedef itk::AnyEvent Superclass
 

Public Member Functions

 DisplayMoveEvent ()
 
 DisplayMoveEvent (InteractionEvent *interactionEvent, const Vector2D &moveVector)
 Construct with the originating event and move vector. More...
 
 ~DisplayMoveEvent () override
 
const char * GetEventName () const override
 
bool CheckEvent (const itk::EventObject *e) const override
 
itk::EventObject * MakeObject () const override
 
const Vector2D & GetMoveVector () const
 Get the 2D move vector. More...
 
 DisplayMoveEvent (const Self &s)
 Copy constructor. More...
 
- Public Member Functions inherited from mitk::DisplayActionEvent
 DisplayActionEvent ()
 Default constructor with no interaction event. More...
 
 DisplayActionEvent (InteractionEvent *interactionEvent)
 Construct with the originating interaction event. More...
 
 ~DisplayActionEvent () override
 
const char * GetEventName () const override
 
bool CheckEvent (const itk::EventObject *e) const override
 
itk::EventObject * MakeObject () const override
 
InteractionEvent * GetInteractionEvent () const
 Get the originating interaction event. More...
 
BaseRenderer * GetSender () const
 Get the BaseRenderer that sent the interaction event. More...
 
 DisplayActionEvent (const Self &s)
 Copy constructor. More...
 

Detailed Description

Display action event carrying a 2D move vector for camera panning.

See also
DisplayActionEvent

Definition at line 85 of file mitkDisplayActionEvents.h.

Member Typedef Documentation

◆ Self

◆ Superclass

Constructor & Destructor Documentation

◆ DisplayMoveEvent() [1/3]

mitk::DisplayMoveEvent::DisplayMoveEvent ( )
inline

Definition at line 91 of file mitkDisplayActionEvents.h.

◆ DisplayMoveEvent() [2/3]

mitk::DisplayMoveEvent::DisplayMoveEvent ( InteractionEvent *  interactionEvent,
const Vector2D &  moveVector 
)
inline

Construct with the originating event and move vector.

Parameters
interactionEventThe interaction event that triggered this action.
moveVectorThe 2D translation vector in mm.

Definition at line 98 of file mitkDisplayActionEvents.h.

◆ ~DisplayMoveEvent()

mitk::DisplayMoveEvent::~DisplayMoveEvent ( )
inlineoverride

Definition at line 103 of file mitkDisplayActionEvents.h.

◆ DisplayMoveEvent() [3/3]

mitk::DisplayMoveEvent::DisplayMoveEvent ( const Self &  s)
inline

Copy constructor.

Definition at line 115 of file mitkDisplayActionEvents.h.

Member Function Documentation

◆ CheckEvent()

bool mitk::DisplayMoveEvent::CheckEvent ( const itk::EventObject *  e) const
inlineoverride

Definition at line 105 of file mitkDisplayActionEvents.h.

◆ GetEventName()

const char* mitk::DisplayMoveEvent::GetEventName ( ) const
inlineoverride

Definition at line 104 of file mitkDisplayActionEvents.h.

◆ GetMoveVector()

const Vector2D& mitk::DisplayMoveEvent::GetMoveVector ( ) const
inline

Get the 2D move vector.

Returns
A const reference to the move vector in mm.

Definition at line 112 of file mitkDisplayActionEvents.h.

◆ MakeObject()

itk::EventObject* mitk::DisplayMoveEvent::MakeObject ( ) const
inlineoverride

Definition at line 106 of file mitkDisplayActionEvents.h.


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