ITK  6.0.0
Insight Toolkit
itkEuler2DTransform.h
Go to the documentation of this file.
1/*=========================================================================
2 *
3 * Copyright NumFOCUS
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 * https://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#ifndef itkEuler2DTransform_h
19#define itkEuler2DTransform_h
20
21#include <iostream>
22#include "itkRigid2DTransform.h"
23
24namespace itk
25{
40template <typename TParametersValueType = double>
41class ITK_TEMPLATE_EXPORT Euler2DTransform : public Rigid2DTransform<TParametersValueType>
42{
43public:
44 ITK_DISALLOW_COPY_AND_MOVE(Euler2DTransform);
45
51
53 itkNewMacro(Self);
54
56 itkOverrideGetNameOfClassMacro(Euler2DTransform);
57
59 static constexpr unsigned int SpaceDimension = 2;
60 static constexpr unsigned int ParametersDimension = 3;
61
62
64 using typename Superclass::ScalarType;
65 using typename Superclass::ParametersType;
67
69 using typename Superclass::JacobianType;
72
74 using typename Superclass::InputPointType;
75 using typename Superclass::OutputPointType;
76
78 using typename Superclass::InputVectorType;
79 using typename Superclass::OutputVectorType;
80
84
86 using typename Superclass::InputVnlVectorType;
88 using typename Superclass::MatrixType;
89
94
99 void
100 CloneInverseTo(Pointer & result) const;
101
103 bool
104 GetInverse(Self * inverse) const;
105
108 GetInverseTransform() const override;
109
114 void
115 CloneTo(Pointer & result) const;
116
121 void
123 {
124 this->ComputeMatrixParameters();
125 }
126
127protected:
128 Euler2DTransform(unsigned int parametersDimension);
130 ~Euler2DTransform() override = default;
131
132 void
133 PrintSelf(std::ostream & os, Indent indent) const override;
134}; // class Euler2DTransform
135} // namespace itk
136
137#ifndef ITK_MANUAL_INSTANTIATION
138# include "itkEuler2DTransform.hxx"
139#endif
140
141#endif /* itkEuler2DTransform_h */
Array2D class representing a 2D array.
Definition: itkArray2D.h:43
A templated class holding a n-Dimensional covariant vector.
Euler2DTransform of a vector space (e.g. space coordinates)
void CloneTo(Pointer &result) const
typename InverseTransformBaseType::Pointer InverseTransformBasePointer
Euler2DTransform(unsigned int parametersDimension)
~Euler2DTransform() override=default
bool GetInverse(Self *inverse) const
void PrintSelf(std::ostream &os, Indent indent) const override
typename Superclass::InverseTransformBaseType InverseTransformBaseType
InverseTransformBasePointer GetInverseTransform() const override
void CloneInverseTo(Pointer &result) const
Control indentation during Print() invocation.
Definition: itkIndent.h:50
A templated class holding a M x N size Matrix.
Definition: itkMatrix.h:53
Class to hold and manage different parameter types used during optimization.
A templated class holding a geometric point in n-Dimensional space.
Definition: itkPoint.h:54
Rigid2DTransform of a vector space (e.g. space coordinates)
vnl_vector_fixed< TParametersValueType, Self::InputSpaceDimension > InputVnlVectorType
vnl_vector_fixed< TParametersValueType, Self::OutputSpaceDimension > OutputVnlVectorType
typename Superclass::InverseTransformBaseType InverseTransformBaseType
vnl_matrix_fixed< ParametersValueType, VOutputDimension, VInputDimension > JacobianPositionType
Definition: itkTransform.h:131
vnl_matrix_fixed< ParametersValueType, VInputDimension, VOutputDimension > InverseJacobianPositionType
Definition: itkTransform.h:132
ParametersValueType ScalarType
Definition: itkTransform.h:127
A templated class holding a n-Dimensional vector.
Definition: itkVector.h:63
SmartPointer< Self > Pointer
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....