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 Date: $Date: 2006-08-09 04:35:32 $
23 Version: $Revision: 1.27 $
24
25 Copyright (c) Insight Software Consortium. All rights reserved.
26 See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
27
28 This software is distributed WITHOUT ANY WARRANTY; without even
29 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
30 PURPOSE. See the above copyright notices for more information.
31
32=========================================================================*/
33#ifndef itkAdvancedVersorRigid3DTransform_h
34#define itkAdvancedVersorRigid3DTransform_h
35
36#include <iostream>
38
39namespace itk
40{
41
62template <class TScalarType = double>
63// Data type for scalars (float or double)
64class ITK_TEMPLATE_EXPORT AdvancedVersorRigid3DTransform : public AdvancedVersorTransform<TScalarType>
65{
66public:
68
72 using Pointer = SmartPointer<Self>;
73 using ConstPointer = SmartPointer<const Self>;
74
76 itkNewMacro(Self);
77
80
82 itkStaticConstMacro(SpaceDimension, unsigned int, 3);
83 itkStaticConstMacro(InputSpaceDimension, unsigned int, 3);
84 itkStaticConstMacro(OutputSpaceDimension, unsigned int, 3);
85 itkStaticConstMacro(ParametersDimension, unsigned int, 6);
86
88 using typename Superclass::ParametersType;
89 using typename Superclass::NumberOfParametersType;
90 using typename Superclass::JacobianType;
91 using typename Superclass::ScalarType;
92 using typename Superclass::InputPointType;
93 using typename Superclass::OutputPointType;
94 using typename Superclass::InputVectorType;
95 using typename Superclass::OutputVectorType;
96 using typename Superclass::InputVnlVectorType;
97 using typename Superclass::OutputVnlVectorType;
98 using typename Superclass::InputCovariantVectorType;
99 using typename Superclass::OutputCovariantVectorType;
100 using typename Superclass::MatrixType;
101 using typename Superclass::InverseMatrixType;
102 using typename Superclass::CenterType;
103 using typename Superclass::OffsetType;
104 using typename Superclass::TranslationType;
105
107 using typename Superclass::VersorType;
108 using typename Superclass::AxisType;
109 using typename Superclass::AngleType;
110
112 using typename Superclass::SpatialJacobianType;
114 using typename Superclass::SpatialHessianType;
116 using typename Superclass::InternalMatrixType;
117
122 void
123 SetParameters(const ParametersType & parameters) override;
124
125 const ParametersType &
126 GetParameters() const override;
127
129 void
130 GetJacobian(const InputPointType &, JacobianType &, NonZeroJacobianIndicesType &) const override;
131
132protected:
133 explicit AdvancedVersorRigid3DTransform(unsigned int paramDim);
134 AdvancedVersorRigid3DTransform(const MatrixType & matrix, const OutputVectorType & offset);
137
138 using Superclass::PrintSelf;
139};
140
141// class AdvancedVersorRigid3DTransform
142
143} // namespace itk
144
145#ifndef ITK_MANUAL_INSTANTIATION
146# include "itkAdvancedVersorRigid3DTransform.hxx"
147#endif
148
149#endif /* itkAdvancedVersorRigid3DTransform_h */
typename SpatialJacobianType::InternalMatrixType InternalMatrixType
FixedArray< Matrix< ScalarType, InputSpaceDimension, InputSpaceDimension >, OutputSpaceDimension > SpatialHessianType
Matrix< ScalarType, OutputSpaceDimension, InputSpaceDimension > SpatialJacobianType
AdvancedVersorRigid3DTransform of a vector space (e.g. space coordinates)
itkStaticConstMacro(SpaceDimension, unsigned int, 3)
itkStaticConstMacro(OutputSpaceDimension, unsigned int, 3)
const ParametersType & GetParameters() const override
void SetParameters(const ParametersType &parameters) override
void GetJacobian(const InputPointType &, JacobianType &, NonZeroJacobianIndicesType &) const override
AdvancedVersorRigid3DTransform(const MatrixType &matrix, const OutputVectorType &offset)
ITK_DISALLOW_COPY_AND_MOVE(AdvancedVersorRigid3DTransform)
AdvancedVersorRigid3DTransform(unsigned int paramDim)
~AdvancedVersorRigid3DTransform() override=default
itkStaticConstMacro(InputSpaceDimension, unsigned int, 3)
itkStaticConstMacro(ParametersDimension, unsigned int, 6)
typename VersorType::ValueType AngleType
typename VersorType::VectorType AxisType
Matrix< TScalarType, Self::InputSpaceDimension, Self::OutputSpaceDimension > InverseMatrixType
Matrix< TScalarType, Self::OutputSpaceDimension, Self::InputSpaceDimension > MatrixType


Generated on 2024-07-17 for elastix by doxygen 1.11.0 (9b424b03c9833626cd435af22a444888fbbb192d) elastix logo