18 #ifndef __itkRigid3DTransform_h
19 #define __itkRigid3DTransform_h
47 template<
class TScalarType =
double >
59 #ifdef ITKV3_COMPATIBILITY
68 itkStaticConstMacro(SpaceDimension,
unsigned int, 3);
69 itkStaticConstMacro(InputSpaceDimension,
unsigned int, 3);
70 itkStaticConstMacro(OutputSpaceDimension,
unsigned int, 3);
71 itkStaticConstMacro(ParametersDimension,
unsigned int, 12);
116 virtual void SetMatrix(
const MatrixType & matrix);
125 void Translate(
const OffsetType & offset,
bool pre =
false);
131 bool MatrixIsOrthogonal(
const MatrixType & matrix,
double tol = 1
e-10);
133 #ifdef ITKV3_COMPATIBILITY
135 itkLegacyMacro(
bool GetInverse(
Self *inverse)
const);
148 itkLegacyMacro(
const MatrixType & GetRotationMatrix()
const);
160 itkLegacyMacro(
virtual void SetRotationMatrix(
const MatrixType & matrix) );
190 void PrintSelf(std::ostream & os,
Indent indent)
const;
194 void operator=(
const Self &);
199 #define ITK_TEMPLATE_Rigid3DTransform(_, EXPORT, TypeX, TypeY) \
202 _( 1 ( class EXPORT Rigid3DTransform< ITK_TEMPLATE_1 TypeX > ) ) \
203 namespace Templates \
205 typedef Rigid3DTransform< ITK_TEMPLATE_1 TypeX > Rigid3DTransform##TypeY; \
209 #if ITK_TEMPLATE_EXPLICIT
210 #include "Templates/itkRigid3DTransform+-.h"
214 #include "itkRigid3DTransform.hxx"