ITK  5.0.0
Insight Segmentation and Registration Toolkit
itkEuler2DTransform.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright Insight Software Consortium
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  * http://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:
42  public Rigid2DTransform<TParametersValueType>
43 {
44 public:
45  ITK_DISALLOW_COPY_AND_ASSIGN(Euler2DTransform);
46 
52 
54  itkNewMacro(Self);
55 
57  itkTypeMacro(Euler2DTransform, Rigid2DTransform);
58 
60  static constexpr unsigned int SpaceDimension = 2;
61  static constexpr unsigned int ParametersDimension = 3;
62 
63 
65  using ScalarType = typename Superclass::ScalarType;
66  using ParametersType = typename Superclass::ParametersType;
67  using FixedParametersType = typename Superclass::FixedParametersType;
68 
70  using JacobianType = typename Superclass::JacobianType;
71  using JacobianPositionType = typename Superclass::JacobianPositionType;
72  using InverseJacobianPositionType = typename Superclass::InverseJacobianPositionType;
73 
75  using InputPointType = typename Superclass::InputPointType;
76  using OutputPointType = typename Superclass::OutputPointType;
77 
79  using InputVectorType = typename Superclass::InputVectorType;
80  using OutputVectorType = typename Superclass::OutputVectorType;
81 
83  using InputCovariantVectorType = typename Superclass::InputCovariantVectorType;
84  using OutputCovariantVectorType = typename Superclass::OutputCovariantVectorType;
85 
87  using InputVnlVectorType = typename Superclass::InputVnlVectorType;
88  using OutputVnlVectorType = typename Superclass::OutputVnlVectorType;
89  using MatrixType = typename Superclass::MatrixType;
90 
93  using InverseTransformBaseType = typename Superclass::InverseTransformBaseType;
94  using InverseTransformBasePointer = typename InverseTransformBaseType::Pointer;
95 
100  void CloneInverseTo(Pointer & newinverse) const;
101 
103  bool GetInverse(Self *inverse) const;
104 
106  InverseTransformBasePointer GetInverseTransform() const override;
107 
112  void CloneTo(Pointer & clone) const;
113 
119  { this->ComputeMatrixParameters(); }
120 
121 protected:
122  Euler2DTransform(unsigned int parametersDimension);
124  ~Euler2DTransform() override = default;
125 
126  void PrintSelf(std::ostream & os, Indent indent) const override;
127 }; //class Euler2DTransform
128 } // namespace itk
129 
130 #ifndef ITK_MANUAL_INSTANTIATION
131 #include "itkEuler2DTransform.hxx"
132 #endif
133 
134 #endif /* itkEuler2DTransform_h */
typename Superclass::InputPointType InputPointType
typename Superclass::InputVectorType InputVectorType
Light weight base class for most itk classes.
Euler2DTransform of a vector space (e.g. space coordinates)
typename Superclass::OutputVnlVectorType OutputVnlVectorType
typename Superclass::OutputVectorType OutputVectorType
typename Superclass::InverseTransformBaseType InverseTransformBaseType
typename InverseTransformBaseType::Pointer InverseTransformBasePointer
typename Superclass::InputVnlVectorType InputVnlVectorType
typename Superclass::InputCovariantVectorType InputCovariantVectorType
typename Superclass::ScalarType ScalarType
typename Superclass::InverseJacobianPositionType InverseJacobianPositionType
typename Superclass::JacobianType JacobianType
Rigid2DTransform of a vector space (e.g. space coordinates)
typename Superclass::MatrixType MatrixType
Control indentation during Print() invocation.
Definition: itkIndent.h:49
typename Superclass::JacobianPositionType JacobianPositionType
typename Superclass::FixedParametersType FixedParametersType
typename Superclass::OutputPointType OutputPointType
typename Superclass::ParametersType ParametersType
typename Superclass::OutputCovariantVectorType OutputCovariantVectorType