ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
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:
45
51
53 itkNewMacro(Self);
54
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
93 using InverseTransformBasePointer = typename InverseTransformBaseType::Pointer;
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
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 */
OptimizerParameters< FixedParametersValueType > FixedParametersType
OptimizerParameters< ParametersValueType > ParametersType
itkOverrideGetNameOfClassMacro(TransformBaseTemplate)
ITK_DISALLOW_COPY_AND_MOVE(TransformBaseTemplate)
void CloneTo(Pointer &result) const
static constexpr unsigned int SpaceDimension
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
Rigid2DTransform< TParametersValueType > Superclass
SmartPointer< const Self > ConstPointer
typename Superclass::InverseTransformBaseType InverseTransformBaseType
InverseTransformBasePointer GetInverseTransform() const override
SmartPointer< Self > Pointer
static constexpr unsigned int ParametersDimension
void CloneInverseTo(Pointer &result) const
Control indentation during Print() invocation.
Definition itkIndent.h:50
void ComputeMatrixParameters() override
Rigid2DTransform(unsigned int outputSpaceDimension, unsigned int parametersDimension)
vnl_matrix_fixed< ParametersValueType, VInputDimension, VOutputDimension > InverseJacobianPositionType
Array2D< ParametersValueType > JacobianType
typename Superclass::InverseTransformBaseType InverseTransformBaseType
vnl_matrix_fixed< ParametersValueType, VOutputDimension, VInputDimension > JacobianPositionType
Implements transparent reference counting.
Matrix< TParametersValueType, Self::OutputSpaceDimension, Self::InputSpaceDimension > MatrixType
Point< TParametersValueType, VOutputDimension > OutputPointType
CovariantVector< TParametersValueType, VOutputDimension > OutputCovariantVectorType
vnl_vector_fixed< TParametersValueType, VInputDimension > InputVnlVectorType
Point< TParametersValueType, VInputDimension > InputPointType
CovariantVector< TParametersValueType, VInputDimension > InputCovariantVectorType
Vector< TParametersValueType, VInputDimension > InputVectorType
Vector< TParametersValueType, VOutputDimension > OutputVectorType
vnl_vector_fixed< TParametersValueType, VOutputDimension > OutputVnlVectorType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....