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

Method GetSpacing

Modules/Core/src/DataManagement/mitkGeometryTransformHolder.cpp:131–136  ·  view source on GitHub ↗

#Documentation # @brief Get the spacing (size of a pixel). #

Source from the content-addressed store, hash-verified

129 //## @brief Get the spacing (size of a pixel).
130 //##
131 mitk::Vector3D GeometryTransformHolder::GetSpacing() const
132 {
133 mitk::Vector3D spacing;
134 CopySpacingFromTransform(this->GetIndexToWorldTransform(), spacing);
135 return spacing;
136 }
137
138 //##Documentation
139 //## @brief Set the spacing.

Calls 1

Tested by

no test coverage detected