| 133 | } |
| 134 | |
| 135 | void |
| 136 | ImageIOBase::SetDirection(unsigned int i, const std::vector<double> & direction) |
| 137 | { |
| 138 | if (i >= m_Direction.size()) |
| 139 | { |
| 140 | itkExceptionMacro("Index: " << i << " is out of bounds, expected maximum is " << m_Direction.size()); |
| 141 | } |
| 142 | this->Modified(); |
| 143 | m_Direction[i] = direction; |
| 144 | } |
| 145 | |
| 146 | void |
| 147 | ImageIOBase::SetDirection(unsigned int i, const vnl_vector<double> & direction) |