19 #include <itkEventObject.h> Point< ScalarType, 2 > Point2D
MITKCORE_EXPORT StdFunctionCommand::ActionFunction ZoomCameraSynchronizedAction()
Returns an 'std::function' that can be used to react on the 'DisplayZoomEvent'. The function performs...
MITKCORE_EXPORT StdFunctionCommand::ActionFunction SetLevelWindowAction()
Returns an 'std::function' that can be used to react on the 'DisplaySetLevelWindowEvent'. The function sets the 'levelwindow' property of the topmost visible image that is display by the sending renderer. The level and window value for this property were previously determined by the mouse interaction event.
void InitActionsImpl() override
Initializes common synchronized display actions by using the synchronized display action event functi...
MITKCORE_EXPORT StdFunctionCommand::ActionFunction ScrollSliceStepperSynchronizedAction()
Returns an 'std::function' that can be used to react on the 'DisplayScrollEvent'. The function perfor...
MITKCORE_EXPORT StdFunctionCommand::ActionFunction MoveCameraSynchronizedAction()
Returns an 'std::function' that can be used to react on the 'DisplayMoveEvent'. The function performs...
std::function< void(const itk::EventObject &)> ActionFunction
Vector< ScalarType, 2 > Vector2D
Point< ScalarType, 3 > Point3D
OberserverTagType ConnectDisplayActionEvent(const DisplayActionEvent &displayActionEvent, const StdFunctionCommand::ActionFunction &actionFunction, const StdFunctionCommand::FilterFunction &filterFunction=[](const itk::EventObject &) { return true;})
Uses the given std::functions to customize a command: The display action event is used to define on w...
MITKCORE_EXPORT StdFunctionCommand::ActionFunction SetCrosshairSynchronizedAction()
Returns an 'std::function' that can be used to react on the 'DisplaySetCrosshairEvent'. The function performs a slice selection of the slice navigation controller and will set the cross hair for all 2D-render windows. The new position was previously determined by the mouse interaction event. #TODO: currently there is no need to distinguish between this and the non-synchronized version.