18 #ifndef __otbTransform_h
19 #define __otbTransform_h
23 #include "vnl/vnl_vector_fixed.h"
33 template<
class TScalarType,
34 unsigned int NInputDimensions = 3,
35 unsigned int NOutputDimensions = 3 >
53 itkStaticConstMacro(InputSpaceDimension,
unsigned int, NInputDimensions);
54 itkStaticConstMacro(OutputSpaceDimension,
unsigned int, NOutputDimensions);
119 { itkExceptionMacro( <<
"Subclasses should override this method (SetParameters)" ) }
129 { this->SetParameters (p); }
139 { itkExceptionMacro( <<
"Subclasses should override this method (SetFixedParameters)" ) }
144 itkExceptionMacro( <<
"Subclasses should override this method (GetFixedParameters)" );
147 return this->m_FixedParameters;
179 itkExceptionMacro( <<
"Subclass should override this method (GetJacobian)" );
182 return this->m_Jacobian;
186 virtual unsigned int GetNumberOfParameters(
void)
const
187 {
return this->m_Parameters.Size(); }
193 Transform(
unsigned int Dimension,
unsigned int NumberOfParameters)
201 Superclass::PrintSelf(os, indent);
202 os << indent <<
"Parameters : " << m_Parameters << std::endl;
203 os << indent <<
"FixedParameters : " << m_FixedParameters << std::endl;
204 os << indent <<
"Jacobian : " << m_Jacobian << std::endl;
215 void operator=(
const Self &);