| 314 | } |
| 315 | |
| 316 | bool mitk::AffineBaseDataInteractor3D::CheckOverObject(const InteractionEvent *interactionEvent) |
| 317 | { |
| 318 | const auto *positionEvent = dynamic_cast<const InteractionPositionEvent *>(interactionEvent); |
| 319 | if (positionEvent == nullptr) |
| 320 | return false; |
| 321 | |
| 322 | Point3D currentWorldPoint; |
| 323 | if (interactionEvent->GetSender()->PickObject(positionEvent->GetPointerPositionOnScreen(), currentWorldPoint) == |
| 324 | this->GetDataNode()) |
| 325 | return true; |
| 326 | |
| 327 | return false; |
| 328 | } |
| 329 | |
| 330 | void mitk::AffineBaseDataInteractor3D::SelectObject(StateMachineAction *, InteractionEvent *) |
| 331 | { |
nothing calls this directly
no test coverage detected