18 #ifndef itkScalableAffineTransform_h
19 #define itkScalableAffineTransform_h
33 template <
typename TParametersValueType =
double,
unsigned int NDimensions = 3>
52 static constexpr
unsigned int InputSpaceDimension = NDimensions;
53 static constexpr
unsigned int OutputSpaceDimension = NDimensions;
54 static constexpr
unsigned int SpaceDimension = NDimensions;
55 static constexpr
unsigned int ParametersDimension = NDimensions * (NDimensions + 1);
90 SetIdentity()
override;
99 this->SetScale(scale);
104 SetScale(
const double scale[NDimensions]);
109 this->SetScale(scale);
113 virtual const double *
118 virtual const double *
127 GetInverse(Self * inverse)
const;
130 InverseTransformBasePointer
131 GetInverseTransform()
const override;
148 ComputeMatrix()
override;
155 PrintSelf(std::ostream & os,
Indent indent)
const override;
160 for (
int i = 0; i < InputSpaceDimension; i++)
162 m_Scale[i] = scale[i];
167 double m_Scale[NDimensions];
172 #ifndef ITK_MANUAL_INSTANTIATION
173 # include "itkScalableAffineTransform.hxx"