| 217 | } |
| 218 | |
| 219 | mitk::Vector3D mitk::BaseGeometry::GetAxisVector(unsigned int direction) const |
| 220 | { |
| 221 | Vector3D frontToBack; |
| 222 | frontToBack.SetVnlVector(this->GetIndexToWorldTransform()->GetMatrix().GetVnlMatrix().get_column(direction).as_ref()); |
| 223 | frontToBack *= GetExtent(direction); |
| 224 | return frontToBack; |
| 225 | } |
| 226 | |
| 227 | mitk::ScalarType mitk::BaseGeometry::GetExtent(unsigned int direction) const |
| 228 | { |