MCPcopy Create free account
hub / github.com/SuperElastix/elastix / SetMatrix

Function SetMatrix

Common/Transforms/itkAdvancedMatrixOffsetTransformBase.h:169–177  ·  view source on GitHub ↗

Set matrix of an AdvancedMatrixOffsetTransformBase * * This method sets the matrix of an AdvancedMatrixOffsetTransformBase to a * value specified by the user. * * This updates the Offset wrt to current translation * and center. See the warning regarding offset-versus-translation * in the documentation for SetCenter. * * To define an affine transform, you must set the ma

Source from the content-addressed store, hash-verified

167 * center, and translation OR the matrix and offset.
168 */
169 virtual void
170 SetMatrix(const MatrixType & matrix)
171 {
172 this->m_Matrix = matrix;
173 this->ComputeOffset();
174 this->ComputeMatrixParameters();
175 this->m_MatrixMTime.Modified();
176 this->Modified();
177 }
178
179
180 /** Get matrix of an AdvancedMatrixOffsetTransformBase

Callers 1

itkStaticConstMacroFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected