| 148 | } |
| 149 | |
| 150 | mitk::ScalarType mitk::TimeGeometry::GetExtentInWorld(unsigned int direction) const |
| 151 | { |
| 152 | assert(direction < 3); |
| 153 | assert(m_BoundingBox.IsNotNull()); |
| 154 | auto& bounds = m_BoundingBox->GetBounds(); |
| 155 | return bounds[direction * 2 + 1] - bounds[direction * 2]; |
| 156 | } |
| 157 | |
| 158 | void mitk::TimeGeometry::Update() |
| 159 | { |