Medical Imaging Interaction Toolkit  2018.4.99-12ad79a3
Medical Imaging Interaction Toolkit
mitk::DisplayActionEventFunctions Namespace Reference

Functions

MITKCORE_EXPORT StdFunctionCommand::ActionFunction MoveSenderCameraAction ()
 Returns an 'std::function' that can be used to react on the 'DisplayMoveEvent'. The function performs a move of the camera controller of the sending renderer by a vector that was previously determined by the mouse interaction event. More...
 
MITKCORE_EXPORT StdFunctionCommand::ActionFunction SetCrosshairAction ()
 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. More...
 
MITKCORE_EXPORT StdFunctionCommand::ActionFunction ZoomSenderCameraAction ()
 Returns an 'std::function' that can be used to react on the 'DisplayZoomEvent'. The function performs a zoom of the camera controller of the sending renderer by a zoom factor that was previously determined by the mouse interaction event. More...
 
MITKCORE_EXPORT StdFunctionCommand::ActionFunction ScrollSliceStepperAction ()
 Returns an 'std::function' that can be used to react on the 'DisplayScrollEvent'. The function performs a slice scrolling of the slice navigation controller of the sending renderer. The new position was previously determined by the mouse interaction event. More...
 
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. More...
 
MITKCORE_EXPORT StdFunctionCommand::ActionFunction MoveCameraSynchronizedAction ()
 Returns an 'std::function' that can be used to react on the 'DisplayMoveEvent'. The function performs a move of the camera controller of all renderer (synchronized) by a vector that was previously determined by the mouse interaction event. The renderer need to be managed by the same rendering manager. More...
 
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. More...
 
MITKCORE_EXPORT StdFunctionCommand::ActionFunction ZoomCameraSynchronizedAction ()
 Returns an 'std::function' that can be used to react on the 'DisplayZoomEvent'. The function performs a zoom of the camera controller of all 2D-renderer (synchronized) by a zoom factor that was previously determined by the mouse interaction event. More...
 
MITKCORE_EXPORT StdFunctionCommand::ActionFunction ScrollSliceStepperSynchronizedAction ()
 Returns an 'std::function' that can be used to react on the 'DisplayScrollEvent'. The function performs a slice scrolling of the slice navigation controller of all 2D-renderer (synchronized). The new position was previously determined by the mouse interaction event. More...
 

Function Documentation

◆ MoveCameraSynchronizedAction()

mitk::StdFunctionCommand::ActionFunction mitk::DisplayActionEventFunctions::MoveCameraSynchronizedAction ( )

Returns an 'std::function' that can be used to react on the 'DisplayMoveEvent'. The function performs a move of the camera controller of all renderer (synchronized) by a vector that was previously determined by the mouse interaction event. The renderer need to be managed by the same rendering manager.

Definition at line 183 of file mitkDisplayActionEventFunctions.cpp.

References mitk::DisplayMoveEvent::CheckEvent(), mitk::BaseRenderer::GetCameraController(), mitk::DisplayMoveEvent::GetMoveVector(), mitk::BaseRenderer::GetRenderWindow(), mitk::DisplayActionEvent::GetSender(), and mitk::CameraController::MoveBy().

Referenced by mitk::DisplayActionEventHandlerSynchronized::InitActionsImpl().

◆ MoveSenderCameraAction()

mitk::StdFunctionCommand::ActionFunction mitk::DisplayActionEventFunctions::MoveSenderCameraAction ( )

Returns an 'std::function' that can be used to react on the 'DisplayMoveEvent'. The function performs a move of the camera controller of the sending renderer by a vector that was previously determined by the mouse interaction event.

Definition at line 27 of file mitkDisplayActionEventFunctions.cpp.

References mitk::DisplayMoveEvent::CheckEvent(), mitk::DisplayMoveEvent::GetMoveVector(), and mitk::DisplayActionEvent::GetSender().

Referenced by mitk::DisplayActionEventHandlerDesynchronized::InitActionsImpl(), and mitk::DisplayActionEventHandlerStd::InitActionsImpl().

◆ ScrollSliceStepperAction()

mitk::StdFunctionCommand::ActionFunction mitk::DisplayActionEventFunctions::ScrollSliceStepperAction ( )

Returns an 'std::function' that can be used to react on the 'DisplayScrollEvent'. The function performs a slice scrolling of the slice navigation controller of the sending renderer. The new position was previously determined by the mouse interaction event.

Definition at line 92 of file mitkDisplayActionEventFunctions.cpp.

References mitk::DisplayScrollEvent::CheckEvent(), mitk::DisplayActionEvent::GetSender(), mitk::BaseController::GetSlice(), mitk::DisplayScrollEvent::GetSliceDelta(), mitk::SliceNavigationController::GetSliceLocked(), mitk::Stepper::GetSteps(), mitk::BaseController::GetTime(), and mitk::Stepper::MoveSlice().

Referenced by mitk::DisplayActionEventHandlerDesynchronized::InitActionsImpl(), and mitk::DisplayActionEventHandlerStd::InitActionsImpl().

◆ ScrollSliceStepperSynchronizedAction()

mitk::StdFunctionCommand::ActionFunction mitk::DisplayActionEventFunctions::ScrollSliceStepperSynchronizedAction ( )

Returns an 'std::function' that can be used to react on the 'DisplayScrollEvent'. The function performs a slice scrolling of the slice navigation controller of all 2D-renderer (synchronized). The new position was previously determined by the mouse interaction event.

Definition at line 273 of file mitkDisplayActionEventFunctions.cpp.

References mitk::DisplayScrollEvent::CheckEvent(), mitk::DisplayActionEvent::GetSender(), mitk::BaseController::GetSlice(), mitk::DisplayScrollEvent::GetSliceDelta(), mitk::SliceNavigationController::GetSliceLocked(), mitk::Stepper::GetSteps(), mitk::BaseController::GetTime(), and mitk::Stepper::MoveSlice().

Referenced by mitk::DisplayActionEventHandlerSynchronized::InitActionsImpl().

◆ SetCrosshairAction()

mitk::StdFunctionCommand::ActionFunction mitk::DisplayActionEventFunctions::SetCrosshairAction ( )

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.

Definition at line 48 of file mitkDisplayActionEventFunctions.cpp.

References mitk::DisplaySetCrosshairEvent::CheckEvent(), mitk::DisplaySetCrosshairEvent::GetPosition(), and mitk::DisplayActionEvent::GetSender().

Referenced by mitk::DisplayActionEventHandlerDesynchronized::InitActionsImpl().

◆ SetCrosshairSynchronizedAction()

mitk::StdFunctionCommand::ActionFunction mitk::DisplayActionEventFunctions::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.

Definition at line 213 of file mitkDisplayActionEventFunctions.cpp.

References mitk::DisplaySetCrosshairEvent::CheckEvent(), mitk::DisplaySetCrosshairEvent::GetPosition(), mitk::DisplayActionEvent::GetSender(), mitk::BaseRenderer::GetSliceNavigationController(), and mitk::SliceNavigationController::SelectSliceByPoint().

Referenced by mitk::DisplayActionEventHandlerSynchronized::InitActionsImpl(), and mitk::DisplayActionEventHandlerStd::InitActionsImpl().

◆ SetLevelWindowAction()

◆ ZoomCameraSynchronizedAction()

mitk::StdFunctionCommand::ActionFunction mitk::DisplayActionEventFunctions::ZoomCameraSynchronizedAction ( )

Returns an 'std::function' that can be used to react on the 'DisplayZoomEvent'. The function performs a zoom of the camera controller of all 2D-renderer (synchronized) by a zoom factor that was previously determined by the mouse interaction event.

Definition at line 240 of file mitkDisplayActionEventFunctions.cpp.

References mitk::DisplayZoomEvent::CheckEvent(), mitk::BaseRenderer::GetCameraController(), mitk::BaseRenderer::GetRenderWindow(), mitk::DisplayActionEvent::GetSender(), mitk::DisplayZoomEvent::GetStartCoordinate(), mitk::DisplayZoomEvent::GetZoomFactor(), and mitk::CameraController::Zoom().

Referenced by mitk::DisplayActionEventHandlerSynchronized::InitActionsImpl().

◆ ZoomSenderCameraAction()

mitk::StdFunctionCommand::ActionFunction mitk::DisplayActionEventFunctions::ZoomSenderCameraAction ( )

Returns an 'std::function' that can be used to react on the 'DisplayZoomEvent'. The function performs a zoom of the camera controller of the sending renderer by a zoom factor that was previously determined by the mouse interaction event.

Definition at line 68 of file mitkDisplayActionEventFunctions.cpp.

References mitk::DisplayZoomEvent::CheckEvent(), mitk::DisplayActionEvent::GetSender(), mitk::DisplayZoomEvent::GetStartCoordinate(), and mitk::DisplayZoomEvent::GetZoomFactor().

Referenced by mitk::DisplayActionEventHandlerDesynchronized::InitActionsImpl(), and mitk::DisplayActionEventHandlerStd::InitActionsImpl().