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  * Copyright UMC Utrecht and contributors
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0.txt
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  *=========================================================================*/
18 /*=========================================================================
19 
20  Program: Insight Segmentation & Registration Toolkit
21  Module: $RCSfile: itkAdvancedVersorRigid3DTransform.h,v $
22  Language: C++
23  Date: $Date: 2006-08-09 04:35:32 $
24  Version: $Revision: 1.27 $
25 
26  Copyright (c) Insight Software Consortium. All rights reserved.
27  See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
28 
29  This software is distributed WITHOUT ANY WARRANTY; without even
30  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
31  PURPOSE. See the above copyright notices for more information.
32 
33 =========================================================================*/
34 #ifndef __itkAdvancedVersorRigid3DTransform_h
35 #define __itkAdvancedVersorRigid3DTransform_h
36 
37 #include <iostream>
39 
40 namespace itk
41 {
42 
63 template< class TScalarType = double >
64 //Data type for scalars (float or double)
66  public AdvancedVersorTransform< TScalarType >
67 {
68 public:
69 
74  typedef SmartPointer< const Self > ConstPointer;
75 
77  itkNewMacro( Self );
78 
81 
83  itkStaticConstMacro( SpaceDimension, unsigned int, 3 );
84  itkStaticConstMacro( InputSpaceDimension, unsigned int, 3 );
85  itkStaticConstMacro( OutputSpaceDimension, unsigned int, 3 );
86  itkStaticConstMacro( ParametersDimension, unsigned int, 6 );
87 
108 
110  typedef typename Superclass::VersorType VersorType;
111  typedef typename Superclass::AxisType AxisType;
112  typedef typename Superclass::AngleType AngleType;
113 
114  typedef typename Superclass
117  typedef typename Superclass
120  typedef typename Superclass
123 
128  void SetParameters( const ParametersType & parameters );
129 
130  virtual const ParametersType & GetParameters( void ) const;
131 
133  virtual void GetJacobian(
134  const InputPointType &,
135  JacobianType &,
136  NonZeroJacobianIndicesType & ) const;
137 
138 protected:
139 
140  AdvancedVersorRigid3DTransform( unsigned int outputSpaceDim,
141  unsigned int paramDim );
142  AdvancedVersorRigid3DTransform( const MatrixType & matrix,
143  const OutputVectorType & offset );
146 
147  void PrintSelf( std::ostream & os, Indent indent ) const;
148 
151  virtual void SetRotationMatrix( const MatrixType & matrix )
152  { this->Superclass::SetRotationMatrix( matrix ); }
153 
154 private:
155 
156  AdvancedVersorRigid3DTransform( const Self & ); //purposely not implemented
157  void operator=( const Self & ); //purposely not implemented
158 
159 };
160 
161 //class AdvancedVersorRigid3DTransform
162 
163 } // namespace itk
164 
165 #ifndef ITK_MANUAL_INSTANTIATION
166 #include "itkAdvancedVersorRigid3DTransform.hxx"
167 #endif
168 
169 #endif /* __itkAdvancedVersorRigid3DTransform_h */
AdvancedVersorRigid3DTransform of a vector space (e.g. space coordinates)
Superclass::NumberOfParametersType NumberOfParametersType
AdvancedVersorTransform< TScalarType > Superclass
Superclass::OutputCovariantVectorType OutputCovariantVectorType
Superclass::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
Superclass::JacobianOfSpatialHessianType JacobianOfSpatialHessianType
Superclass::JacobianOfSpatialJacobianType JacobianOfSpatialJacobianType
Superclass::InputCovariantVectorType InputCovariantVectorType
virtual void SetRotationMatrix(const MatrixType &matrix)
Superclass::OutputVnlVectorType OutputVnlVectorType


Generated on 04-09-2015 for elastix by doxygen 1.8.9.1 elastix logo