Orfeo Toolbox  3.16
itkCenteredSimilarity2DTransform.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Insight Segmentation & Registration Toolkit
4  Module: $RCSfile: itkCenteredSimilarity2DTransform.h,v $
5  Language: C++
6  Date: $Date: 2009-11-29 01:38:00 $
7  Version: $Revision: 1.9 $
8 
9  Copyright (c) Insight Software Consortium. All rights reserved.
10  See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
11 
12  This software is distributed WITHOUT ANY WARRANTY; without even
13  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14  PURPOSE. See the above copyright notices for more information.
15 
16 =========================================================================*/
17 
18 #ifndef __itkCenteredSimilarity2DTransform_h
19 #define __itkCenteredSimilarity2DTransform_h
20 
21 #include <iostream>
23 
24 namespace itk
25 {
26 
56 template < class TScalarType=double > // Data type for scalars
58  public Similarity2DTransform< TScalarType >
59 {
60 public:
66 
68  itkNewMacro( Self );
69 
72 
74  itkStaticConstMacro(SpaceDimension, unsigned int, 2);
75  itkStaticConstMacro(InputSpaceDimension, unsigned int, 2);
76  itkStaticConstMacro(OutputSpaceDimension, unsigned int, 2);
77  itkStaticConstMacro(ParametersDimension, unsigned int, 6);
78 
81 
85 
88 
92 
96  typedef typename InputPointType::ValueType InputPointValueType;
97 
101 
103  typedef typename Superclass::InputCovariantVectorType
105  typedef typename Superclass::OutputCovariantVectorType
107 
111 
116 
126  void SetParameters( const ParametersType & parameters );
127 
137  const ParametersType & GetParameters( void ) const;
138 
143  const JacobianType & GetJacobian(const InputPointType &point ) const;
144 
147  virtual void SetFixedParameters( const ParametersType & );
148 
151  virtual const ParametersType& GetFixedParameters(void) const;
152 
156  void CloneInverseTo( Pointer & newinverse ) const;
157 
159  bool GetInverse(Self* inverse) const;
160 
162  virtual InverseTransformBasePointer GetInverseTransform() const;
163 
167  void CloneTo( Pointer & clone ) const;
168 
169 protected:
171  CenteredSimilarity2DTransform( unsigned int spaceDimension,
172  unsigned int parametersDimension);
173 
175  void PrintSelf(std::ostream &os, Indent indent) const;
176 
177 private:
178  CenteredSimilarity2DTransform(const Self&); //purposely not implemented
179  void operator=(const Self&); //purposely not implemented
180 
181 }; //class CenteredSimilarity2DTransform
182 
183 
184 } // namespace itk
185 
186 /* Define instantiation macro for this template. */
187 #define ITK_TEMPLATE_CenteredSimilarity2DTransform(_, EXPORT, x, y) namespace itk { \
188  _(1(class EXPORT CenteredSimilarity2DTransform< ITK_TEMPLATE_1 x >)) \
189  namespace Templates { typedef CenteredSimilarity2DTransform< ITK_TEMPLATE_1 x > \
190  CenteredSimilarity2DTransform##y; } \
191  }
192 
193 #if ITK_TEMPLATE_EXPLICIT
194 # include "Templates/itkCenteredSimilarity2DTransform+-.h"
195 #endif
196 
197 #if ITK_TEMPLATE_TXX
199 #endif
200 
201 #endif /* __itkCenteredSimilarity2DTransform_h */

Generated at Sat Feb 2 2013 23:31:40 for Orfeo Toolbox with doxygen 1.8.1.1