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

Method SetOrigin

Modules/Core/src/DataManagement/mitkBaseGeometry.cpp:74–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74void mitk::BaseGeometry::SetOrigin(const Point3D &origin)
75{
76 mitk::ModifiedLock lock(this);
77
78 if (origin != GetOrigin())
79 {
80 m_GeometryTransform->SetOrigin(origin);
81 Modified();
82 }
83}
84
85mitk::Vector3D mitk::BaseGeometry::GetSpacing() const
86{

Callers 1

TranslateMethod · 0.95

Calls 2

GetOriginFunction · 0.85
ModifiedFunction · 0.85

Tested by

no test coverage detected