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

Function SetOrigin

Wrapping/Python/mitk/GeometryHelpers.cpp:67–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67void SetOrigin(mitk::TimeGeometry* tg, const std::array<double, 3>& origin, mitk::TimeStepType t)
68{
69 auto geom = GetGeometryForTimeStep(tg, t);
70 mitk::Point3D p;
71 p[0] = origin[0];
72 p[1] = origin[1];
73 p[2] = origin[2];
74 geom->SetOrigin(p);
75}
76
77py::array_t<double> ExtractDirection(const mitk::BaseGeometry& geom)
78{

Callers 4

InitializePlaneMethod · 0.85
BindGeometryAccessorsFunction · 0.85
ImageFromNumpyFunction · 0.85

Calls 2

GetGeometryForTimeStepFunction · 0.85
SetOriginMethod · 0.45

Tested by

no test coverage detected