| 164 | } |
| 165 | |
| 166 | void ImageStatisticsContainer::SetStatistics(LabelValueType labelValue, TimeStepType timeStep, const ImageStatisticsObject& statistics) |
| 167 | { |
| 168 | |
| 169 | if (!this->GetTimeGeometry()->IsValidTimeStep(timeStep)) mitkThrow() << "Given timeStep " << timeStep |
| 170 | << " out of TimeGeometry bounds of the object. TimeSteps in geometry: " << this->GetTimeSteps(); |
| 171 | |
| 172 | m_LabelTimeStep2StatisticsMap[labelValue][timeStep] = statistics; |
| 173 | this->Modified(); |
| 174 | } |
| 175 | |
| 176 | void ImageStatisticsContainer::PrintSelf(std::ostream &os, itk::Indent indent) const |
| 177 | { |