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

Function GetSpacing

Wrapping/Python/mitk/GeometryHelpers.cpp:43–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43std::tuple<double, double, double> GetSpacing(const mitk::TimeGeometry* tg, mitk::TimeStepType t)
44{
45 auto geom = GetConstGeometryForTimeStep(tg, t);
46 const auto s = geom->GetSpacing();
47 return {s[0], s[1], s[2]};
48}
49
50void SetSpacing(mitk::TimeGeometry* tg, const std::array<double, 3>& spacing, mitk::TimeStepType t)
51{

Callers 2

BindGeometryAccessorsFunction · 0.85
InitImageFunction · 0.85

Calls 2

GetSpacingMethod · 0.45

Tested by

no test coverage detected