ITK  6.0.0
Insight Toolkit
itkCenteredRigid2DTransform.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 itkCenteredRigid2DTransform_h
19#define itkCenteredRigid2DTransform_h
20
21#include <iostream>
22#include "itkRigid2DTransform.h"
23
24namespace itk
25{
51template <typename TParametersValueType = double>
52class ITK_TEMPLATE_EXPORT CenteredRigid2DTransform : public Rigid2DTransform<TParametersValueType>
53{
54public:
55 ITK_DISALLOW_COPY_AND_MOVE(CenteredRigid2DTransform);
56
62
64 itkNewMacro(Self);
65
67 itkOverrideGetNameOfClassMacro(CenteredRigid2DTransform);
68
70 static constexpr unsigned int SpaceDimension = 2;
71 static constexpr unsigned int OutputSpaceDimension = 2;
72 static constexpr unsigned int ParametersDimension = 5;
73
75 using typename Superclass::ScalarType;
76 using typename Superclass::FixedParametersType;
77 using typename Superclass::FixedParametersValueType;
78 using typename Superclass::ParametersType;
79 using typename Superclass::ParametersValueType;
80
82 using typename Superclass::JacobianType;
83 using typename Superclass::JacobianPositionType;
84 using typename Superclass::InverseJacobianPositionType;
85
87 using typename Superclass::OffsetType;
88
90 using typename Superclass::InputPointType;
91 using typename Superclass::OutputPointType;
92 using typename Superclass::InputPointValueType;
93
95 using typename Superclass::InputVectorType;
96 using typename Superclass::OutputVectorType;
97 using typename Superclass::OutputVectorValueType;
98
100 using typename Superclass::InputCovariantVectorType;
101 using typename Superclass::OutputCovariantVectorType;
102
104 using typename Superclass::InputVnlVectorType;
105 using typename Superclass::OutputVnlVectorType;
106
109 using InverseTransformBaseType = typename Superclass::InverseTransformBaseType;
111
120 void
121 SetParameters(const ParametersType & parameters) override;
122
131 const ParametersType &
132 GetParameters() const override;
133
137 void
139
142 void
144
147 const FixedParametersType &
148 GetFixedParameters() const override;
149
153 void
154 CloneInverseTo(Pointer & result) const;
155
157 bool
158 GetInverse(Self * inverse) const;
159
162 GetInverseTransform() const override;
163
167 void
168 CloneTo(Pointer & result) const;
169
170protected:
172 ~CenteredRigid2DTransform() override = default;
173
174 CenteredRigid2DTransform(unsigned int spaceDimension, unsigned int parametersDimension);
175
176 void
177 PrintSelf(std::ostream & os, Indent indent) const override;
178}; // class CenteredRigid2DTransform
179} // namespace itk
180
181#ifndef ITK_MANUAL_INSTANTIATION
182# include "itkCenteredRigid2DTransform.hxx"
183#endif
184
185#endif /* itkCenteredRigid2DTransform_h */
Array2D class representing a 2D array.
Definition: itkArray2D.h:43
CenteredRigid2DTransform of a vector space (e.g. space coordinates)
void SetFixedParameters(const FixedParametersType &) override
void CloneInverseTo(Pointer &result) const
CenteredRigid2DTransform(unsigned int spaceDimension, unsigned int parametersDimension)
const FixedParametersType & GetFixedParameters() const override
void CloneTo(Pointer &result) const
const ParametersType & GetParameters() const override
~CenteredRigid2DTransform() override=default
void SetParameters(const ParametersType &parameters) override
typename InverseTransformBaseType::Pointer InverseTransformBasePointer
typename Superclass::InverseTransformBaseType InverseTransformBaseType
bool GetInverse(Self *inverse) const
InverseTransformBasePointer GetInverseTransform() const override
void PrintSelf(std::ostream &os, Indent indent) const override
void ComputeJacobianWithRespectToParameters(const InputPointType &p, JacobianType &jacobian) const override
Control indentation during Print() invocation.
Definition: itkIndent.h:50
Light weight base class for most itk classes.
Class to hold and manage different parameter types used during optimization.
Rigid2DTransform of a vector space (e.g. space coordinates)
SmartPointer< Self > Pointer
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....