| 340 | } |
| 341 | |
| 342 | void mitk::GizmoInteractor::FeedUndoStack(StateMachineAction *, InteractionEvent *) |
| 343 | { |
| 344 | if (m_UndoEnabled) |
| 345 | { |
| 346 | OperationEvent *operationEvent = new OperationEvent(m_ManipulatedObjectGeometry, |
| 347 | // OperationEvent will destroy operations! |
| 348 | // --> release() and not get() |
| 349 | m_FinalDoOperation.release(), |
| 350 | m_FinalUndoOperation.release(), |
| 351 | "Direct geometry manipulation"); |
| 352 | mitk::OperationEvent::IncCurrObjectEventId(); // save each modification individually |
| 353 | m_UndoController->SetOperationEvent(operationEvent); |
| 354 | } |
| 355 | } |
| 356 | |
| 357 | mitk::Gizmo::HandleType mitk::GizmoInteractor::PickFrom2D(const InteractionPositionEvent *positionEvent) |
| 358 | { |
nothing calls this directly
no test coverage detected