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;
66 using typename Superclass::FixedParametersType;
67
69 using typename Superclass::JacobianType;
70 using typename Superclass::JacobianPositionType;
71 using typename Superclass::InverseJacobianPositionType;
72
74 using typename Superclass::InputPointType;
75 using typename Superclass::OutputPointType;
76
78 using typename Superclass::InputVectorType;
79 using typename Superclass::OutputVectorType;
80
82 using typename Superclass::InputCovariantVectorType;
83 using typename Superclass::OutputCovariantVectorType;
84
86 using typename Superclass::InputVnlVectorType;
87 using typename Superclass::OutputVnlVectorType;
88 using typename Superclass::MatrixType;
89
92 using InverseTransformBaseType = typename Superclass::InverseTransformBaseType;
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 */
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
Light weight base class for most itk classes.
Rigid2DTransform of a vector space (e.g. space coordinates)
SmartPointer< Self > Pointer
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....