Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitk::DisplayActionEventFunctions Namespace Reference

Factory functions that create std::function callbacks for display action events. More...

Functions

MITKCORE_EXPORT StdFunctionCommand::ActionFunction MoveSenderCameraAction (const std::string &prefixFilter="")
 Create an action that moves the sending renderer's camera. More...
 
MITKCORE_EXPORT StdFunctionCommand::ActionFunction SetCrosshairAction (const std::string &prefixFilter="")
 Create an action that sets the crosshair position for all 2D render windows. More...
 
MITKCORE_EXPORT StdFunctionCommand::ActionFunction ZoomSenderCameraAction (const std::string &prefixFilter="")
 Create an action that zooms the sending renderer's camera. More...
 
MITKCORE_EXPORT StdFunctionCommand::ActionFunction ScrollSliceStepperAction (const std::string &prefixFilter="")
 Create an action that scrolls the sending renderer's slice stepper. More...
 
MITKCORE_EXPORT StdFunctionCommand::ActionFunction SetLevelWindowAction (const std::string &prefixFilter="")
 Create an action that adjusts the level-window of the topmost visible image. More...
 
MITKCORE_EXPORT StdFunctionCommand::ActionFunction MoveCameraSynchronizedAction (const std::string &prefixFilter="")
 Create an action that moves the camera of all renderers synchronously. More...
 
MITKCORE_EXPORT StdFunctionCommand::ActionFunction SetCrosshairSynchronizedAction (const std::string &prefixFilter="")
 Create a synchronized action that sets the crosshair position. More...
 
MITKCORE_EXPORT StdFunctionCommand::ActionFunction ZoomCameraSynchronizedAction (const std::string &prefixFilter="")
 Create an action that zooms the camera of all 2D renderers synchronously. More...
 
MITKCORE_EXPORT StdFunctionCommand::ActionFunction ScrollSliceStepperSynchronizedAction (const std::string &prefixFilter="")
 Create an action that scrolls the slice stepper of all 2D renderers synchronously. More...
 

Detailed Description

Factory functions that create std::function callbacks for display action events.

Each function returns a StdFunctionCommand::ActionFunction that can be connected to a DisplayActionEventBroadcast via a DisplayActionEventHandler. The functions come in "sender only" and "synchronized" variants.

See also
DisplayActionEventHandler DisplayActionEventBroadcast

Function Documentation

◆ MoveCameraSynchronizedAction()

MITKCORE_EXPORT StdFunctionCommand::ActionFunction mitk::DisplayActionEventFunctions::MoveCameraSynchronizedAction ( const std::string &  prefixFilter = "")

Create an action that moves the camera of all renderers synchronously.

Reacts to DisplayMoveEvent. The renderers must be managed by the same RenderingManager.

Parameters
prefixFilterOnly react to / send changes to renderers whose name starts with this prefix.
Returns
An action function for use with DisplayActionEventHandler.

◆ MoveSenderCameraAction()

MITKCORE_EXPORT StdFunctionCommand::ActionFunction mitk::DisplayActionEventFunctions::MoveSenderCameraAction ( const std::string &  prefixFilter = "")

Create an action that moves the sending renderer's camera.

Reacts to DisplayMoveEvent. Moves the camera controller of the sending renderer by the vector determined by the mouse interaction event.

Parameters
prefixFilterOnly react to events from renderers whose name starts with this prefix.
Returns
An action function for use with DisplayActionEventHandler.

◆ ScrollSliceStepperAction()

MITKCORE_EXPORT StdFunctionCommand::ActionFunction mitk::DisplayActionEventFunctions::ScrollSliceStepperAction ( const std::string &  prefixFilter = "")

Create an action that scrolls the sending renderer's slice stepper.

Reacts to DisplayScrollEvent. Scrolls the slice navigation controller of the sending renderer.

Parameters
prefixFilterOnly react to events from renderers whose name starts with this prefix.
Returns
An action function for use with DisplayActionEventHandler.

◆ ScrollSliceStepperSynchronizedAction()

MITKCORE_EXPORT StdFunctionCommand::ActionFunction mitk::DisplayActionEventFunctions::ScrollSliceStepperSynchronizedAction ( const std::string &  prefixFilter = "")

Create an action that scrolls the slice stepper of all 2D renderers synchronously.

Reacts to DisplayScrollEvent.

Parameters
prefixFilterOnly react to / send changes to renderers whose name starts with this prefix.
Returns
An action function for use with DisplayActionEventHandler.

◆ SetCrosshairAction()

MITKCORE_EXPORT StdFunctionCommand::ActionFunction mitk::DisplayActionEventFunctions::SetCrosshairAction ( const std::string &  prefixFilter = "")

Create an action that sets the crosshair position for all 2D render windows.

Reacts to DisplaySetCrosshairEvent. Performs slice selection via the slice navigation controller.

Parameters
prefixFilterOnly react to events from renderers whose name starts with this prefix.
Returns
An action function for use with DisplayActionEventHandler.

◆ SetCrosshairSynchronizedAction()

MITKCORE_EXPORT StdFunctionCommand::ActionFunction mitk::DisplayActionEventFunctions::SetCrosshairSynchronizedAction ( const std::string &  prefixFilter = "")

Create a synchronized action that sets the crosshair position.

Reacts to DisplaySetCrosshairEvent. Sets the crosshair for all 2D render windows.

Parameters
prefixFilterOnly react to / send changes to renderers whose name starts with this prefix.
Returns
An action function for use with DisplayActionEventHandler.

◆ SetLevelWindowAction()

MITKCORE_EXPORT StdFunctionCommand::ActionFunction mitk::DisplayActionEventFunctions::SetLevelWindowAction ( const std::string &  prefixFilter = "")

Create an action that adjusts the level-window of the topmost visible image.

Reacts to DisplaySetLevelWindowEvent. Sets the "levelwindow" property of the topmost visible image displayed by the sending renderer.

Parameters
prefixFilterOnly react to events from renderers whose name starts with this prefix.
Returns
An action function for use with DisplayActionEventHandler.

◆ ZoomCameraSynchronizedAction()

MITKCORE_EXPORT StdFunctionCommand::ActionFunction mitk::DisplayActionEventFunctions::ZoomCameraSynchronizedAction ( const std::string &  prefixFilter = "")

Create an action that zooms the camera of all 2D renderers synchronously.

Reacts to DisplayZoomEvent.

Parameters
prefixFilterOnly react to / send changes to renderers whose name starts with this prefix.
Returns
An action function for use with DisplayActionEventHandler.

◆ ZoomSenderCameraAction()

MITKCORE_EXPORT StdFunctionCommand::ActionFunction mitk::DisplayActionEventFunctions::ZoomSenderCameraAction ( const std::string &  prefixFilter = "")

Create an action that zooms the sending renderer's camera.

Reacts to DisplayZoomEvent. Zooms the camera controller of the sending renderer by the factor determined by the mouse interaction event.

Parameters
prefixFilterOnly react to events from renderers whose name starts with this prefix.
Returns
An action function for use with DisplayActionEventHandler.