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 
24 namespace itk
25 {
40 template <typename TParametersValueType = double>
41 class ITK_TEMPLATE_EXPORT Euler2DTransform : public Rigid2DTransform<TParametersValueType>
42 {
43 public:
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;
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;
87  using typename Superclass::OutputVnlVectorType;
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 
127 protected:
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 */
itk::Euler2DTransform::InverseTransformBasePointer
typename InverseTransformBaseType::Pointer InverseTransformBasePointer
Definition: itkEuler2DTransform.h:93
Pointer
SmartPointer< Self > Pointer
Definition: itkAddImageFilter.h:93
itkRigid2DTransform.h
itk::Transform::OutputVnlVectorType
vnl_vector_fixed< TParametersValueType, VOutputDimension > OutputVnlVectorType
Definition: itkTransform.h:157
itk::Vector
A templated class holding a n-Dimensional vector.
Definition: itkVector.h:62
itk::SmartPointer< Self >
itk::Indent
Control indentation during Print() invocation.
Definition: itkIndent.h:49
itk::Euler2DTransform::InverseTransformBaseType
typename Superclass::InverseTransformBaseType InverseTransformBaseType
Definition: itkEuler2DTransform.h:92
itk::Rigid2DTransform
Rigid2DTransform of a vector space (e.g. space coordinates)
Definition: itkRigid2DTransform.h:56
itk::Euler2DTransform::ComputeAngleFromMatrix
void ComputeAngleFromMatrix()
Definition: itkEuler2DTransform.h:122
itk::Euler2DTransform
Euler2DTransform of a vector space (e.g. space coordinates)
Definition: itkEuler2DTransform.h:41
itk::Transform::ScalarType
ParametersValueType ScalarType
Definition: itkTransform.h:127
itk::Matrix< TParametersValueType, Self::OutputSpaceDimension, Self::InputSpaceDimension >
itk::CovariantVector
A templated class holding a n-Dimensional covariant vector.
Definition: itkCovariantVector.h:70
itk::Transform::JacobianPositionType
vnl_matrix_fixed< ParametersValueType, VOutputDimension, VInputDimension > JacobianPositionType
Definition: itkTransform.h:131
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition: itkAnatomicalOrientation.h:29
itk::Transform::InverseJacobianPositionType
vnl_matrix_fixed< ParametersValueType, VInputDimension, VOutputDimension > InverseJacobianPositionType
Definition: itkTransform.h:132
itk::Point
A templated class holding a geometric point in n-Dimensional space.
Definition: itkPoint.h:53
itk::Array2D
Array2D class representing a 2D array.
Definition: itkArray2D.h:42
itk::Rigid2DTransform::InverseTransformBaseType
typename Superclass::InverseTransformBaseType InverseTransformBaseType
Definition: itkRigid2DTransform.h:119
itk::Transform::InputVnlVectorType
vnl_vector_fixed< TParametersValueType, VInputDimension > InputVnlVectorType
Definition: itkTransform.h:156