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

Method SetOrigin

Modules/Core/src/DataManagement/mitkBaseData.cpp:187–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185}
186
187void mitk::BaseData::SetOrigin(const mitk::Point3D &origin)
188{
189 TimeGeometry *timeGeom = GetTimeGeometry();
190
191 assert(timeGeom != nullptr);
192
193 TimeStepType steps = timeGeom->CountTimeSteps();
194 for (TimeStepType timestep = 0; timestep < steps; ++timestep)
195 {
196 auto geometry = GetGeometry(timestep);
197 if (geometry != nullptr)
198 {
199 geometry->SetOrigin(origin);
200 }
201 }
202}
203
204itk::ModifiedTimeType mitk::BaseData::GetMTime() const
205{

Callers 15

CreateBinaryImageMethod · 0.45
DoReadMethod · 0.45
GenerateMethod · 0.45
InternalProcessingMethod · 0.45
GeneratePlaneMethod · 0.45
BuildImageMethod · 0.45
MakeLabeledImageMethod · 0.45
itkProbabilityMapMethod · 0.45
itkLogicalAndImagesMethod · 0.45

Calls 3

GetGeometryFunction · 0.85
GetTimeGeometryFunction · 0.50
CountTimeStepsMethod · 0.45