go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkAdvancedVersorRigid3DTransform.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Insight Segmentation & Registration Toolkit
4  Module: $RCSfile: itkAdvancedVersorRigid3DTransform.h,v $
5  Language: C++
6  Date: $Date: 2006-08-09 04:35:32 $
7  Version: $Revision: 1.27 $
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 __itkAdvancedVersorRigid3DTransform_h
19 #define __itkAdvancedVersorRigid3DTransform_h
20 
21 #include <iostream>
23 
24 namespace itk
25 {
26 
47 template < class TScalarType=double >//Data type for scalars (float or double)
49  public AdvancedVersorTransform< TScalarType >
50 {
51 public:
55  typedef SmartPointer<Self> Pointer;
56  typedef SmartPointer<const Self> ConstPointer;
57 
59  itkNewMacro( Self );
60 
63 
65  itkStaticConstMacro(SpaceDimension, unsigned int, 3);
66  itkStaticConstMacro(InputSpaceDimension, unsigned int, 3);
67  itkStaticConstMacro(OutputSpaceDimension, unsigned int, 3);
68  itkStaticConstMacro(ParametersDimension, unsigned int, 6);
69 
89 
91  typedef typename Superclass::VersorType VersorType;
92  typedef typename Superclass::AxisType AxisType;
93  typedef typename Superclass::AngleType AngleType;
94 
95  typedef typename Superclass
98  typedef typename Superclass
101  typedef typename Superclass
104 
109  void SetParameters( const ParametersType & parameters );
110  virtual const ParametersType& GetParameters(void) const;
111 
113  virtual void GetJacobian(
114  const InputPointType &,
115  JacobianType &,
116  NonZeroJacobianIndicesType & ) const;
117 
118 protected:
119  AdvancedVersorRigid3DTransform(unsigned int outputSpaceDim,
120  unsigned int paramDim);
122  const OutputVectorType & offset);
125 
126  void PrintSelf(std::ostream &os, Indent indent) const;
127 
130  virtual void SetRotationMatrix(const MatrixType & matrix)
131  { this->Superclass::SetRotationMatrix( matrix ); }
132 
133 private:
134  AdvancedVersorRigid3DTransform(const Self&); //purposely not implemented
135  void operator=(const Self&); //purposely not implemented
136 
137 }; //class AdvancedVersorRigid3DTransform
138 
139 
140 } // namespace itk
141 
142 // Define instantiation macro for this template.
143 #define ITK_TEMPLATE_AdvancedVersorRigid3DTransform(_, EXPORT, x, y) namespace itk { \
144  _(1(class EXPORT AdvancedVersorRigid3DTransform< ITK_TEMPLATE_1 x >)) \
145  namespace Templates { typedef AdvancedVersorRigid3DTransform< ITK_TEMPLATE_1 x > AdvancedVersorRigid3DTransform##y; } \
146  }
147 
148 #if ITK_TEMPLATE_EXPLICIT
149 # include "Templates/itkAdvancedVersorRigid3DTransform+-.h"
150 #endif
151 
152 #if ITK_TEMPLATE_TXX
153 # include "itkAdvancedVersorRigid3DTransform.txx"
154 #endif
155 
156 #endif /* __itkAdvancedVersorRigid3DTransform_h */


Generated on 27-06-2013 for elastix by doxygen 1.8.3.1 elastix logo