| 59 | } |
| 60 | |
| 61 | bool mitk::ClippingPlaneInteractor3D::CheckOverObject(const InteractionEvent *interactionEvent) |
| 62 | { |
| 63 | const auto *positionEvent = dynamic_cast<const InteractionPositionEvent *>(interactionEvent); |
| 64 | if (positionEvent == nullptr) |
| 65 | return false; |
| 66 | |
| 67 | Point3D currentWorldPoint; |
| 68 | if (interactionEvent->GetSender()->PickObject(positionEvent->GetPointerPositionOnScreen(), currentWorldPoint) == |
| 69 | this->GetDataNode()) |
| 70 | return true; |
| 71 | |
| 72 | return false; |
| 73 | } |
| 74 | |
| 75 | void mitk::ClippingPlaneInteractor3D::SelectObject(StateMachineAction *, InteractionEvent *interactionEvent) |
| 76 | { |
nothing calls this directly
no test coverage detected