| 160 | |
| 161 | |
| 162 | void mitk::ModelBase::SetTimeGrid(const TimeGridType& grid) |
| 163 | { |
| 164 | itkDebugMacro("setting TimeGrid to " << grid); |
| 165 | |
| 166 | if (grid.GetSize() == 0) |
| 167 | { |
| 168 | itkExceptionMacro("Time Grid Vector is empty! Set valid time grid"); |
| 169 | } |
| 170 | |
| 171 | if (this->m_TimeGrid != grid) |
| 172 | { |
| 173 | this->m_TimeGrid = grid; |
| 174 | this->Modified(); |
| 175 | } |
| 176 | } |
| 177 | |
| 178 | void mitk::ModelBase::PrintSelf(std::ostream& os, ::itk::Indent indent) const |
| 179 | { |