MCPcopy Create free account
hub / github.com/MITK/MITK / SetStatistics

Method SetStatistics

Modules/ImageStatistics/src/mitkImageStatisticsContainer.cpp:166–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers 9

TimeStepsMethod · 0.80
PrintSelfMethod · 0.80
InternalCloneMethod · 0.80
StatisticNamesMethod · 0.80
OverwriteStatisticMethod · 0.80
ResetMethod · 0.80

Calls 3

GetTimeStepsMethod · 0.80
IsValidTimeStepMethod · 0.45
ModifiedMethod · 0.45

Tested by 7

TimeStepsMethod · 0.64
PrintSelfMethod · 0.64
InternalCloneMethod · 0.64
StatisticNamesMethod · 0.64
OverwriteStatisticMethod · 0.64
ResetMethod · 0.64