18 #ifndef __itkIdentityTransform_h
19 #define __itkIdentityTransform_h
24 #include "vnl/vnl_vector_fixed.h"
49 template <
class TScalarType,
50 unsigned int NDimensions = 3>
67 itkStaticConstMacro(InputSpaceDimension,
unsigned int, NDimensions);
68 itkStaticConstMacro(OutputSpaceDimension,
unsigned int, NDimensions);
81 typedef Vector<TScalarType,
83 typedef Vector<TScalarType,
95 typedef vnl_vector_fixed<TScalarType,
97 typedef vnl_vector_fixed<TScalarType,
102 typedef Point<TScalarType,
104 typedef Point<TScalarType,
120 using Superclass::TransformVector;
133 using Superclass::TransformCovariantVector;
144 void SetIdentity(
void)
179 jacobian = this->m_IdentityJacobian;
189 jac.SetSize( NDimensions, NDimensions );
191 for(
unsigned int dim = 0; dim < NDimensions; dim++ )
202 return this->New().GetPointer();
210 virtual bool IsLinear()
const
218 return this->m_FixedParameters;
229 return this->m_Parameters;
238 m_IdentityJacobian(NDimensions, 0)
242 this->m_IdentityJacobian.Fill(0.0);
251 void operator=(
const Self &);