Added mitk::SlicesRotatorMovement interactor class and the state machine "slices-rotator-and-movement": Extended slices-rotator interactor with three states: rotate, move and translate depending on the position of the mouse pointer relative to the axis. Added SHIFT event to hide/show the cursor when shift is pressed
Use case 1:
- mitk::PointSetInteractor is created with a limit of 3 maximum points and a 3D+T mitk::PointSet with 3 time steps.
- Interactor is added to mitk::GlobalInteraction.
- The user adds 3 points to the time step 0 and the state is "set full"
- Time step is changed to time step 1
- The state of the interactor needs to be updated to "space left"
Added an observer of the current time step in QmitkStdMultiWidget because it creates the m_TimeNavigationController. The callback function calls mitk::GlobalInteraction to update all listeners. Added mitk::StateMachine::OnTimeStepChanged( ) to update the state depending on the current time step. Also added the state machine "pointsetinteractorWithTime" to be able to manage this events.
Use case 2:
- mitk::SlicesRotatorMovement is added to GlobalInteraction
- mouse pointer is over the axis and the rotate icon is shown
- A short-cut key is pressed to disable the interactor
- The state of the intarctor needs to be updated when the interactor is removed from GlobalInteraction and the mouse icon should be reset to default
- When the interactor is added again to GlobalInteraction, the mouse icon needs to be updated again
Added the function mitk::StateMachine::Enable( ) to send enable or disable event to the state machine when this is added or removed from GlobalInteraction instance.
Added other events: wheel MouseButton, A, Z keys.