ITK  4.9.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>
42  public Rigid2DTransform<TParametersValueType>
43 {
44 public:
50 
52  itkNewMacro(Self);
53 
55  itkTypeMacro(Euler2DTransform, Rigid2DTransform);
56 
58  itkStaticConstMacro(SpaceDimension, unsigned int, 2);
59  itkStaticConstMacro(ParametersDimension, unsigned int, 3);
61 
62 
67 
70 
74 
78 
82 
87 
91  typedef typename InverseTransformBaseType::Pointer InverseTransformBasePointer;
92 
97  void CloneInverseTo(Pointer & newinverse) const;
98 
100  bool GetInverse(Self *inverse) const;
101 
103  virtual InverseTransformBasePointer GetInverseTransform() const ITK_OVERRIDE;
104 
109  void CloneTo(Pointer & clone) const;
110 
116  { this->ComputeMatrixParameters(); }
117 
118 protected:
119  Euler2DTransform(unsigned int parametersDimension);
122 
123  void PrintSelf(std::ostream & os, Indent indent) const ITK_OVERRIDE;
124 
125 private:
126  Euler2DTransform(const Self &) ITK_DELETE_FUNCTION;
127  void operator=(const Self &) ITK_DELETE_FUNCTION;
128 }; //class Euler2DTransform
129 } // namespace itk
130 
131 #ifndef ITK_MANUAL_INSTANTIATION
132 #include "itkEuler2DTransform.hxx"
133 #endif
134 
135 #endif /* itkEuler2DTransform_h */
Superclass::ParametersType ParametersType
Superclass::ScalarType ScalarType
Light weight base class for most itk classes.
Superclass::FixedParametersType FixedParametersType
Euler2DTransform of a vector space (e.g. space coordinates)
Superclass::InputPointType InputPointType
Superclass::InputVnlVectorType InputVnlVectorType
Superclass::MatrixType MatrixType
Superclass::JacobianType JacobianType
Superclass::OutputVnlVectorType OutputVnlVectorType
static const unsigned int SpaceDimension
Superclass::InputCovariantVectorType InputCovariantVectorType
Superclass::InputPointType InputPointType
void CloneTo(Pointer &clone) const
Superclass::ParametersType ParametersType
Superclass::JacobianType JacobianType
void CloneInverseTo(Pointer &newinverse) const
virtual InverseTransformBasePointer GetInverseTransform() const override
SmartPointer< const Self > ConstPointer
Superclass::InputVnlVectorType InputVnlVectorType
Superclass::OutputCovariantVectorType OutputCovariantVectorType
InverseTransformBaseType::Pointer InverseTransformBasePointer
Superclass::InputCovariantVectorType InputCovariantVectorType
Superclass::InputVectorType InputVectorType
Superclass::OutputVectorType OutputVectorType
Superclass::OutputCovariantVectorType OutputCovariantVectorType
bool GetInverse(Self *inverse) const
Rigid2DTransform< TParametersValueType > Superclass
Superclass::FixedParametersType FixedParametersType
static const unsigned int ParametersDimension
SmartPointer< Self > Pointer
void PrintSelf(std::ostream &os, Indent indent) const override
Superclass::OutputPointType OutputPointType
Rigid2DTransform of a vector space (e.g. space coordinates)
Superclass::OutputPointType OutputPointType
Control indentation during Print() invocation.
Definition: itkIndent.h:49
Superclass::InputVectorType InputVectorType
Superclass::MatrixType MatrixType
Superclass::OutputVectorType OutputVectorType
virtual void ComputeMatrixParameters() override
Superclass::OutputVnlVectorType OutputVnlVectorType
Superclass::InverseTransformBaseType InverseTransformBaseType
Superclass::ScalarType ScalarType
Superclass::InverseTransformBaseType InverseTransformBaseType