go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkAdvancedRigid3DTransform.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Insight Segmentation & Registration Toolkit
4  Module: $RCSfile: itkAdvancedRigid3DTransform.h,v $
5  Language: C++
6  Date: $Date: 2007-02-13 21:46:04 $
7  Version: $Revision: 1.38 $
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 __itkAdvancedRigid3DTransform_h
18 #define __itkAdvancedRigid3DTransform_h
19 
20 #include <iostream>
22 #include "itkExceptionObject.h"
23 #include "itkMatrix.h"
24 #include "itkVersor.h"
25 
26 namespace itk
27 {
28 
48 template< class TScalarType = double >
49 // type for scalars (float or double)
51  public AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >
52 {
53 public:
54 
58  typedef SmartPointer< Self > Pointer;
59  typedef SmartPointer< const Self > ConstPointer;
60 
63 
65  itkNewMacro( Self );
66 
68  itkStaticConstMacro( SpaceDimension, unsigned int, 3 );
69  itkStaticConstMacro( InputSpaceDimension, unsigned int, 3 );
70  itkStaticConstMacro( OutputSpaceDimension, unsigned int, 3 );
71  itkStaticConstMacro( ParametersDimension, unsigned int, 12 );
72 
92 
93  typedef typename Superclass
96  typedef typename Superclass
99  typedef typename Superclass
102 
113  virtual void SetParameters( const ParametersType & parameters );
114 
120  virtual void SetMatrix( const MatrixType & matrix );
121 
131  { return this->GetMatrix(); }
132 
143  virtual void SetRotationMatrix( const MatrixType & matrix )
144  { this->SetMatrix( matrix ); }
145 
153  void Translate( const OffsetType & offset, bool pre = false );
154 
167  & point ) const;
168 
170  & vector ) const;
171 
173  & vector ) const;
174 
176  & vector ) const;
177 
182  bool MatrixIsOrthogonal( const MatrixType & matrix, double tol = 1e-10 );
183 
184 protected:
185 
186  AdvancedRigid3DTransform( unsigned int paramDim );
187  AdvancedRigid3DTransform( const MatrixType & matrix,
188  const OutputVectorType & offset );
191 
195  void PrintSelf( std::ostream & os, Indent indent ) const;
196 
197 private:
198 
199  AdvancedRigid3DTransform( const Self & ); // purposely not implemented
200  void operator=( const Self & ); // purposely not implemented
201 
202 };
203 
204 } // namespace itk
205 
206 #ifndef ITK_MANUAL_INSTANTIATION
207 #include "itkAdvancedRigid3DTransform.hxx"
208 #endif
209 
210 #endif /* __itkAdvancedRigid3DTransform_h */
virtual void SetParameters(const ParametersType &parameters)
Superclass::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
Superclass::SpatialHessianType SpatialHessianType
SmartPointer< const Self > ConstPointer
Superclass::SpatialJacobianType SpatialJacobianType
Superclass::TranslationType TranslationType
Superclass::OutputVnlVectorType OutputVnlVectorType
Superclass::JacobianOfSpatialJacobianType JacobianOfSpatialJacobianType
Superclass::OutputVectorType OutputVectorType
AdvancedRigid3DTransform of a vector space (e.g. space coordinates)
Superclass::InternalMatrixType InternalMatrixType
Superclass::JacobianOfSpatialHessianType JacobianOfSpatialHessianType
virtual void SetMatrix(const MatrixType &matrix)
void operator=(const Self &)
Superclass::InputCovariantVectorType InputCovariantVectorType
void Translate(const OffsetType &offset, bool pre=false)
Superclass::InputVectorType InputVectorType
virtual void SetRotationMatrix(const MatrixType &matrix)
AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 > Superclass
void PrintSelf(std::ostream &os, Indent indent) const
Superclass::NumberOfParametersType NumberOfParametersType
Superclass::OutputCovariantVectorType OutputCovariantVectorType
Superclass::ParametersType ParametersType
itkStaticConstMacro(SpaceDimension, unsigned int, 3)
InputPointType BackTransform(const OutputPointType &point) const
bool MatrixIsOrthogonal(const MatrixType &matrix, double tol=1e-10)
Superclass::OutputPointType OutputPointType
Superclass::InputPointType InputPointType
Superclass::InverseMatrixType InverseMatrixType
Superclass::InputVnlVectorType InputVnlVectorType


Generated on 11-03-2014 for elastix by doxygen 1.8.6 elastix logo