18 #ifndef __itkSimilarity2DTransform_h
19 #define __itkSimilarity2DTransform_h
61 template <
class TScalarType =
double>
80 itkStaticConstMacro(SpaceDimension,
unsigned int, 2);
81 itkStaticConstMacro(InputSpaceDimension,
unsigned int, 2);
82 itkStaticConstMacro(OutputSpaceDimension,
unsigned int, 2);
83 itkStaticConstMacro(ParametersDimension,
unsigned int, 4);
129 itkGetConstReferenceMacro(Scale,
ScaleType);
159 virtual void SetIdentity(
void);
165 void CloneInverseTo(
Pointer & newinverse)
const;
168 bool GetInverse(
Self *inverse)
const;
177 void CloneTo(
Pointer & clone)
const;
192 virtual void SetMatrix(
const MatrixType & matrix);
202 void PrintSelf(std::ostream & os,
Indent indent)
const;
207 virtual void ComputeMatrix(
void);
213 virtual void ComputeMatrixParameters(
void);
222 void operator=(
const Self &);
230 #define ITK_TEMPLATE_Similarity2DTransform(_, EXPORT, TypeX, TypeY) \
233 _( 1 ( class EXPORT Similarity2DTransform<ITK_TEMPLATE_1 TypeX> ) ) \
234 namespace Templates \
236 typedef Similarity2DTransform<ITK_TEMPLATE_1 TypeX> Similarity2DTransform##TypeY; \
240 #if ITK_TEMPLATE_EXPLICIT
241 #include "Templates/itkSimilarity2DTransform+-.h"
245 #include "itkSimilarity2DTransform.hxx"