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 
73  typedef SmartPointer< Self > Pointer;
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 
89  typedef typename Superclass::ParametersType ParametersType;
90  typedef typename Superclass::NumberOfParametersType NumberOfParametersType;
91  typedef typename Superclass::JacobianType JacobianType;
92  typedef typename Superclass::ScalarType ScalarType;
93  typedef typename Superclass::InputPointType InputPointType;
94  typedef typename Superclass::OutputPointType OutputPointType;
95  typedef typename Superclass::InputVectorType InputVectorType;
96  typedef typename Superclass::OutputVectorType OutputVectorType;
97  typedef typename Superclass::InputVnlVectorType InputVnlVectorType;
98  typedef typename Superclass::OutputVnlVectorType OutputVnlVectorType;
99  typedef typename Superclass::InputCovariantVectorType
101  typedef typename Superclass::OutputCovariantVectorType
103  typedef typename Superclass::MatrixType MatrixType;
104  typedef typename Superclass::InverseMatrixType InverseMatrixType;
105  typedef typename Superclass::CenterType CenterType;
106  typedef typename Superclass::OffsetType OffsetType;
107  typedef typename Superclass::TranslationType TranslationType;
108 
110  typedef typename Superclass::VersorType VersorType;
111  typedef typename Superclass::AxisType AxisType;
112  typedef typename Superclass::AngleType AngleType;
113 
114  typedef typename Superclass
115  ::NonZeroJacobianIndicesType NonZeroJacobianIndicesType;
116  typedef typename Superclass::SpatialJacobianType SpatialJacobianType;
117  typedef typename Superclass
118  ::JacobianOfSpatialJacobianType JacobianOfSpatialJacobianType;
119  typedef typename Superclass::SpatialHessianType SpatialHessianType;
120  typedef typename Superclass
121  ::JacobianOfSpatialHessianType JacobianOfSpatialHessianType;
122  typedef typename Superclass::InternalMatrixType InternalMatrixType;
123 
128  void SetParameters( const ParametersType & parameters ) override;
129 
130  const ParametersType & GetParameters( void ) const override;
131 
134  const InputPointType &,
135  JacobianType &,
136  NonZeroJacobianIndicesType & ) const override;
137 
138 protected:
139 
140  AdvancedVersorRigid3DTransform( unsigned int outputSpaceDim,
141  unsigned int paramDim );
143  const OutputVectorType & offset );
146 
147  void PrintSelf( std::ostream & os, Indent indent ) const override;
148 
151  void SetRotationMatrix( const MatrixType & matrix ) override
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 */
Transform maps points, vectors and covariant vectors from an input space to an output space.
Superclass::OutputVectorType OutputVectorType
Superclass::ParametersType ParametersType
Superclass::JacobianType JacobianType
Superclass::InputPointType InputPointType
std::vector< unsigned long > NonZeroJacobianIndicesType
AdvancedVersorRigid3DTransform of a vector space (e.g. space coordinates)
AdvancedVersorTransform< TScalarType > Superclass
itkStaticConstMacro(SpaceDimension, unsigned int, 3)
Superclass::OutputCovariantVectorType OutputCovariantVectorType
AdvancedVersorRigid3DTransform(unsigned int outputSpaceDim, unsigned int paramDim)
Superclass ::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
itkStaticConstMacro(OutputSpaceDimension, unsigned int, 3)
void SetParameters(const ParametersType &parameters) override
void PrintSelf(std::ostream &os, Indent indent) const override
void GetJacobian(const InputPointType &, JacobianType &, NonZeroJacobianIndicesType &) const override
AdvancedVersorRigid3DTransform(const MatrixType &matrix, const OutputVectorType &offset)
Superclass::NumberOfParametersType NumberOfParametersType
void SetRotationMatrix(const MatrixType &matrix) override
Superclass ::JacobianOfSpatialJacobianType JacobianOfSpatialJacobianType
Superclass::OutputVnlVectorType OutputVnlVectorType
Superclass::InputCovariantVectorType InputCovariantVectorType
itkStaticConstMacro(InputSpaceDimension, unsigned int, 3)
itkStaticConstMacro(ParametersDimension, unsigned int, 6)
Superclass ::JacobianOfSpatialHessianType JacobianOfSpatialHessianType
const ParametersType & GetParameters(void) const override


Generated on 1652341256 for elastix by doxygen 1.9.1 elastix logo