| 472 | } |
| 473 | |
| 474 | void mitk::Gizmo::OnFollowedGeometryModified() |
| 475 | { |
| 476 | m_Center = m_FollowedGeometry->GetCenter(); |
| 477 | |
| 478 | m_AxisX = m_FollowedGeometry->GetAxisVector(0); |
| 479 | m_AxisY = m_FollowedGeometry->GetAxisVector(1); |
| 480 | m_AxisZ = m_FollowedGeometry->GetAxisVector(2); |
| 481 | |
| 482 | m_AxisX.Normalize(); |
| 483 | m_AxisY.Normalize(); |
| 484 | m_AxisZ.Normalize(); |
| 485 | |
| 486 | for (int dim = 0; dim < 3; ++dim) |
| 487 | { |
| 488 | m_Radius[dim] = 0.5 * m_FollowedGeometry->GetExtentInMM(dim); |
| 489 | } |
| 490 | |
| 491 | UpdateRepresentation(); |
| 492 | } |
| 493 | |
| 494 | mitk::Gizmo::HandleType mitk::Gizmo::GetHandleFromPointDataValue(double value) |
| 495 | { |
nothing calls this directly
no test coverage detected