|
OTB
9.0.0
Orfeo Toolbox
|
Go to the documentation of this file.
21 #ifndef otbTransform_h
22 #define otbTransform_h
24 #include "itkTransform.h"
25 #include "vnl/vnl_vector_fixed.h"
37 template <
class TScalarType,
unsigned int NInputDimensions = 3,
38 unsigned int NOutputDimensions = 3>
39 class ITK_EXPORT
Transform :
public itk::Transform<TScalarType,
46 typedef itk::Transform<TScalarType, NInputDimensions, NOutputDimensions>
Superclass;
54 itkStaticConstMacro(InputSpaceDimension,
unsigned int, NInputDimensions);
55 itkStaticConstMacro(OutputSpaceDimension,
unsigned int, NOutputDimensions);
61 return NInputDimensions;
67 return NOutputDimensions;
110 using Superclass::TransformVector;
123 using Superclass::TransformCovariantVector;
140 itkExceptionMacro(<<
"Subclasses should override this method (SetParameters)")
145 itkExceptionMacro(<<
"Subclasses should override this method (ComputeJacobianWithRespectToParameters)");
157 this->SetParameters(p);
169 itkExceptionMacro(<<
"Subclasses should override this method (SetFixedParameters)")
175 itkExceptionMacro(<<
"Subclasses should override this method (GetFixedParameters)");
178 return this->m_FixedParameters;
209 #ifdef ITKV3_COMPATIBILITY
210 const JacobianType& GetJacobian(
const InputPointType&)
const override
215 itkExceptionMacro(<<
"Subclass should override this method (GetJacobian)");
218 return this->m_Jacobian;
225 return this->m_Parameters.Size();
241 void PrintSelf(std::ostream& os, itk::Indent indent)
const override
243 Superclass::PrintSelf(os, indent);
245 os << indent <<
"Parameters : " << m_Parameters << std::endl;
246 os << indent <<
"FixedParameters : " << m_FixedParameters << std::endl;
247 os << indent <<
"Jacobian : " << m_Jacobian << std::endl;
259 void operator=(
const Self&) =
delete;
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.