go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkAdvancedSimilarity3DTransform.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Insight Segmentation & Registration Toolkit
4  Module: $RCSfile: itkAdvancedSimilarity3DTransform.h,v $
5  Language: C++
6  Date: $Date: 2006-08-09 04:35:32 $
7  Version: $Revision: 1.3 $
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 __itkAdvancedSimilarity3DTransform_h
19 #define __itkAdvancedSimilarity3DTransform_h
20 
21 #include <iostream>
23 
24 namespace itk
25 {
26 
46 template < class TScalarType=double > // Data type for scalars (float or double)
48  public AdvancedVersorRigid3DTransform< TScalarType >
49 {
50 public:
54  typedef SmartPointer<Self> Pointer;
55  typedef SmartPointer<const Self> ConstPointer;
56 
58  itkNewMacro( Self );
59 
62 
64  itkStaticConstMacro(SpaceDimension, unsigned int, 3);
65  itkStaticConstMacro(InputSpaceDimension, unsigned int, 3);
66  itkStaticConstMacro(OutputSpaceDimension, unsigned int, 3);
67  itkStaticConstMacro(ParametersDimension, unsigned int, 7);
68 
88 
90  typedef typename Superclass::VersorType VersorType;
91  typedef typename Superclass::AxisType AxisType;
92  typedef typename Superclass::AngleType AngleType;
93  typedef TScalarType ScaleType;
94 
95  typedef typename Superclass
98  typedef typename Superclass
101  typedef typename Superclass
104 
110  virtual void SetMatrix(const MatrixType &matrix);
111 
116  void SetParameters( const ParametersType & parameters );
117  virtual const ParametersType& GetParameters(void) const;
118 
120  void SetScale( ScaleType scale );
121  itkGetConstReferenceMacro( Scale, ScaleType );
122 
124  virtual void GetJacobian(
125  const InputPointType &,
126  JacobianType &,
127  NonZeroJacobianIndicesType & ) const;
128 
129 protected:
130  AdvancedSimilarity3DTransform(unsigned int outputSpaceDim,
131  unsigned int paramDim);
133  const OutputVectorType & offset);
136 
137  void PrintSelf(std::ostream &os, Indent indent) const;
138 
141  void ComputeMatrix();
142 
144  void ComputeMatrixParameters();
145 
147  virtual void PrecomputeJacobianOfSpatialJacobian(void);
148 
149 private:
150  AdvancedSimilarity3DTransform(const Self&); //purposely not implemented
151  void operator=(const Self&); //purposely not implemented
152 
154 
155 }; //class AdvancedSimilarity3DTransform
156 
157 
158 } // namespace itk
159 
160 // Define instantiation macro for this template.
161 #define ITK_TEMPLATE_AdvancedSimilarity3DTransform(_, EXPORT, x, y) namespace itk { \
162  _(1(class EXPORT AdvancedSimilarity3DTransform< ITK_TEMPLATE_1 x >)) \
163  namespace Templates { typedef AdvancedSimilarity3DTransform< ITK_TEMPLATE_1 x > AdvancedSimilarity3DTransform##y; } \
164  }
165 
166 #if ITK_TEMPLATE_EXPLICIT
167 # include "Templates/itkAdvancedSimilarity3DTransform+-.h"
168 #endif
169 
170 #if ITK_TEMPLATE_TXX
171 # include "itkAdvancedSimilarity3DTransform.txx"
172 #endif
173 
174 #endif /* __itkAdvancedSimilarity3DTransform_h */
AdvancedVersorRigid3DTransform of a vector space (e.g. space coordinates)
Superclass::OutputVnlVectorType OutputVnlVectorType
Superclass::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
Superclass::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
AdvancedSimilarity3DTransform of a vector space (e.g. space coordinates)
Superclass::OutputVectorType OutputVectorType
AdvancedRigid3DTransform of a vector space (e.g. space coordinates)
Superclass::InputVnlVectorType InputVnlVectorType
Superclass::JacobianOfSpatialHessianType JacobianOfSpatialHessianType
AdvancedVersorRigid3DTransform< TScalarType > Superclass
Superclass::ParametersType ParametersType
Superclass::OutputCovariantVectorType OutputCovariantVectorType
Superclass::InputPointType InputPointType
Superclass::SpatialJacobianType SpatialJacobianType
Superclass::JacobianOfSpatialJacobianType JacobianOfSpatialJacobianType
Superclass::InputCovariantVectorType InputCovariantVectorType


Generated on 06-12-2013 for elastix by doxygen 1.8.5 elastix logo