go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkAdvancedSimilarity2DTransform.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Insight Segmentation & Registration Toolkit
4  Module: $RCSfile: itkAdvancedSimilarity2DTransform.h,v $
5  Language: C++
6  Date: $Date: 2006-06-07 16:06:32 $
7  Version: $Revision: 1.11 $
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 #ifndef __itkAdvancedSimilarity2DTransform_h
18 #define __itkAdvancedSimilarity2DTransform_h
19 
20 #include <iostream>
22 
23 namespace itk
24 {
25 
60 template< class TScalarType = double >
61 // Data type for scalars (float or double)
63  public AdvancedRigid2DTransform< TScalarType >
64 {
65 public:
66 
70  typedef SmartPointer< Self > Pointer;
71  typedef SmartPointer< const Self > ConstPointer;
72 
74  itkNewMacro( Self );
75 
78 
80  itkStaticConstMacro( SpaceDimension, unsigned int, 2 );
81  itkStaticConstMacro( InputSpaceDimension, unsigned int, 2 );
82  itkStaticConstMacro( OutputSpaceDimension, unsigned int, 2 );
83  itkStaticConstMacro( ParametersDimension, unsigned int, 4 );
84 
87  typedef TScalarType ScaleType;
88 
92 
95 
98 
101 
105 
109 
113 
117 
118  typedef typename Superclass
121  typedef typename Superclass
124  typedef typename Superclass
127 
129  void SetScale( ScaleType scale );
130 
131  itkGetConstReferenceMacro( Scale, ScaleType );
132 
142  void SetParameters( const ParametersType & parameters );
143 
153  const ParametersType & GetParameters( void ) const;
154 
161  virtual void GetJacobian(
162  const InputPointType &,
163  JacobianType &,
164  NonZeroJacobianIndicesType & ) const;
165 
167  virtual void SetIdentity( void );
168 
173  void CloneInverseTo( Pointer & newinverse ) const;
174 
179  void CloneTo( Pointer & clone ) const;
180 
194  virtual void SetMatrix( const MatrixType & matrix );
195 
196 protected:
197 
199  AdvancedSimilarity2DTransform( unsigned int spaceDimension,
200  unsigned int parametersDimension );
201 
203  void PrintSelf( std::ostream & os, Indent indent ) const;
204 
208  virtual void ComputeMatrix( void );
209 
214  virtual void ComputeMatrixParameters( void );
215 
217  void SetVarScale( ScaleType scale )
218  { m_Scale = scale; }
219 
221  virtual void PrecomputeJacobianOfSpatialJacobian( void );
222 
223 private:
224 
225  AdvancedSimilarity2DTransform( const Self & ); //purposely not implemented
226  void operator=( const Self & ); //purposely not implemented
227 
229 
230 };
231 
232 //class AdvancedSimilarity2DTransform
233 
234 } // namespace itk
235 
236 #ifndef ITK_MANUAL_INSTANTIATION
237 #include "itkAdvancedSimilarity2DTransform.hxx"
238 #endif
239 
240 #endif /* __itkAdvancedSimilarity2DTransform_h */
AdvancedRigid2DTransform< TScalarType > Superclass
Superclass::JacobianOfSpatialHessianType JacobianOfSpatialHessianType
Superclass::InputCovariantVectorType InputCovariantVectorType
Superclass::OutputCovariantVectorType OutputCovariantVectorType
Superclass::SpatialJacobianType SpatialJacobianType
Superclass::OutputVnlVectorType OutputVnlVectorType
Superclass::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
AdvancedSimilarity2DTransform of a vector space (e.g. space coordinates)
Superclass::JacobianOfSpatialJacobianType JacobianOfSpatialJacobianType
Superclass::ParametersType ParametersType
AdvancedRigid2DTransform of a vector space (e.g. space coordinates)
Superclass::InputPointType InputPointType
Standard coordinate point type for this class.
Superclass::NumberOfParametersType NumberOfParametersType
Superclass::NonZeroJacobianIndicesType NonZeroJacobianIndicesType


Generated on 27-04-2014 for elastix by doxygen 1.8.6 elastix logo