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

Display action event carrying a 3D world position for crosshair placement. More...

#include <mitkDisplayActionEvents.h>

Inheritance diagram for mitk::DisplaySetCrosshairEvent:
Collaboration diagram for mitk::DisplaySetCrosshairEvent:

Public Types

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

Public Member Functions

 DisplaySetCrosshairEvent ()
 
 DisplaySetCrosshairEvent (InteractionEvent *interactionEvent, const Point3D &position)
 Construct with the originating event and crosshair position. More...
 
 ~DisplaySetCrosshairEvent () override
 
const char * GetEventName () const override
 
bool CheckEvent (const itk::EventObject *e) const override
 
itk::EventObject * MakeObject () const override
 
const Point3D & GetPosition () const
 Get the 3D crosshair position. More...
 
 DisplaySetCrosshairEvent (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 3D world position for crosshair placement.

See also
DisplayActionEvent

Definition at line 125 of file mitkDisplayActionEvents.h.

Member Typedef Documentation

◆ Self

◆ Superclass

Constructor & Destructor Documentation

◆ DisplaySetCrosshairEvent() [1/3]

mitk::DisplaySetCrosshairEvent::DisplaySetCrosshairEvent ( )
inline

Definition at line 131 of file mitkDisplayActionEvents.h.

◆ DisplaySetCrosshairEvent() [2/3]

mitk::DisplaySetCrosshairEvent::DisplaySetCrosshairEvent ( InteractionEvent *  interactionEvent,
const Point3D &  position 
)
inline

Construct with the originating event and crosshair position.

Parameters
interactionEventThe interaction event that triggered this action.
positionThe 3D world position for the crosshair.

Definition at line 138 of file mitkDisplayActionEvents.h.

◆ ~DisplaySetCrosshairEvent()

mitk::DisplaySetCrosshairEvent::~DisplaySetCrosshairEvent ( )
inlineoverride

Definition at line 143 of file mitkDisplayActionEvents.h.

◆ DisplaySetCrosshairEvent() [3/3]

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

Copy constructor.

Definition at line 155 of file mitkDisplayActionEvents.h.

Member Function Documentation

◆ CheckEvent()

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

Definition at line 145 of file mitkDisplayActionEvents.h.

◆ GetEventName()

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

Definition at line 144 of file mitkDisplayActionEvents.h.

◆ GetPosition()

const Point3D& mitk::DisplaySetCrosshairEvent::GetPosition ( ) const
inline

Get the 3D crosshair position.

Returns
A const reference to the position in world coordinates.

Definition at line 152 of file mitkDisplayActionEvents.h.

◆ MakeObject()

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

Definition at line 146 of file mitkDisplayActionEvents.h.


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