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

Function SetSpacing

Wrapping/Python/mitk/GeometryHelpers.cpp:50–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50void SetSpacing(mitk::TimeGeometry* tg, const std::array<double, 3>& spacing, mitk::TimeStepType t)
51{
52 auto geom = GetGeometryForTimeStep(tg, t);
53 mitk::Vector3D v;
54 v[0] = spacing[0];
55 v[1] = spacing[1];
56 v[2] = spacing[2];
57 geom->SetSpacing(v);
58}
59
60std::tuple<double, double, double> GetOrigin(const mitk::TimeGeometry* tg, mitk::TimeStepType t)
61{

Callers 5

SlicedGeometry3DMethod · 0.85
ReinitializePlanesMethod · 0.85
ExecuteOperationMethod · 0.85
BindGeometryAccessorsFunction · 0.85
ImageFromNumpyFunction · 0.85

Calls 2

GetGeometryForTimeStepFunction · 0.85
SetSpacingMethod · 0.45

Tested by

no test coverage detected