ITK  4.6.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 TScalar = double >
41 // Data type for scalars
43  public Rigid2DTransform< TScalar >
44 {
45 public:
51 
53  itkNewMacro(Self);
54 
56  itkTypeMacro(Euler2DTransform, Rigid2DTransform);
57 
59  itkStaticConstMacro(SpaceDimension, unsigned int, 2);
60  itkStaticConstMacro(ParametersDimension, unsigned int, 3);
62 
65 
68 
71 
75 
79 
83 
88 
92  typedef typename InverseTransformBaseType::Pointer InverseTransformBasePointer;
93 
98  void CloneInverseTo(Pointer & newinverse) const;
99 
101  bool GetInverse(Self *inverse) const;
102 
105 
110  void CloneTo(Pointer & clone) const;
111 
117  { this->ComputeMatrixParameters(); }
118 
119 protected:
120  Euler2DTransform(unsigned int parametersDimension);
123 
124  void PrintSelf(std::ostream & os, Indent indent) const;
125 
126 private:
127  Euler2DTransform(const Self &); //purposely not implemented
128  void operator=(const Self &); //purposely not implemented
129 }; //class Euler2DTransform
130 } // namespace itk
131 
132 #ifndef ITK_MANUAL_INSTANTIATION
133 #include "itkEuler2DTransform.hxx"
134 #endif
135 
136 #endif /* __itkEuler2DTransform_h */
Light weight base class for most itk classes.
Superclass::OutputVectorType OutputVectorType
Euler2DTransform of a vector space (e.g. space coordinates)
Superclass::InverseTransformBaseType InverseTransformBaseType
Superclass::OutputCovariantVectorType OutputCovariantVectorType
Superclass::MatrixType MatrixType
bool GetInverse(Self *inverse) const
static const unsigned int SpaceDimension
Superclass::OutputPointType OutputPointType
Superclass::OutputVnlVectorType OutputVnlVectorType
Superclass::InverseTransformBaseType InverseTransformBaseType
Superclass::JacobianType JacobianType
SmartPointer< const Self > ConstPointer
Superclass::OutputCovariantVectorType OutputCovariantVectorType
Rigid2DTransform< TScalar > Superclass
Superclass::ScalarType ScalarType
void CloneTo(Pointer &clone) const
Superclass::JacobianType JacobianType
Superclass::InputVectorType InputVectorType
Superclass::InputCovariantVectorType InputCovariantVectorType
SmartPointer< Self > Pointer
void CloneInverseTo(Pointer &newinverse) const
Superclass::InputVectorType InputVectorType
Superclass::ParametersType ParametersType
Superclass::OutputPointType OutputPointType
Superclass::InputVnlVectorType InputVnlVectorType
virtual InverseTransformBasePointer GetInverseTransform() const
void operator=(const Self &)
Superclass::ParametersType ParametersType
Superclass::OutputVnlVectorType OutputVnlVectorType
Superclass::OutputVectorType OutputVectorType
static const unsigned int ParametersDimension
void PrintSelf(std::ostream &os, Indent indent) const
InverseTransformBaseType::Pointer InverseTransformBasePointer
Rigid2DTransform of a vector space (e.g. space coordinates)
Superclass::InputPointType InputPointType
Control indentation during Print() invocation.
Definition: itkIndent.h:49
Superclass::InputPointType InputPointType
virtual void ComputeMatrixParameters(void)
Superclass::ScalarType ScalarType
Superclass::MatrixType MatrixType
Superclass::InputCovariantVectorType InputCovariantVectorType
Superclass::InputVnlVectorType InputVnlVectorType