ITK  4.6.0
Insight Segmentation and Registration Toolkit
itkCenteredRigid2DTransform.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 __itkCenteredRigid2DTransform_h
19 #define __itkCenteredRigid2DTransform_h
20 
21 #include <iostream>
22 #include "itkRigid2DTransform.h"
23 
24 namespace itk
25 {
51 template< typename TScalar = double >
52 // Data type for scalars
54  public Rigid2DTransform< TScalar >
55 {
56 public:
62 
64  itkNewMacro(Self);
65 
68 
70  itkStaticConstMacro(SpaceDimension, unsigned int, 2);
71  itkStaticConstMacro(OutputSpaceDimension, unsigned int, 2);
72  itkStaticConstMacro(ParametersDimension, unsigned int, 5);
74 
77 
81 
84 
87 
92 
97 
103 
107 
111  typedef typename InverseTransformBaseType::Pointer InverseTransformBasePointer;
112 
121  void SetParameters(const ParametersType & parameters);
122 
131  const ParametersType & GetParameters(void) const;
132 
136  virtual void ComputeJacobianWithRespectToParameters( const InputPointType & p, JacobianType & jacobian) const;
137 
140  virtual void SetFixedParameters(const ParametersType &);
141 
144  virtual const ParametersType & GetFixedParameters(void) const;
145 
149  void CloneInverseTo(Pointer & newinverse) const;
150 
152  bool GetInverse(Self *inverse) const;
153 
156 
160  void CloneTo(Pointer & clone) const;
161 
162 protected:
165  {
166  }
167 
168  CenteredRigid2DTransform(unsigned int outputSpaceDimension, unsigned int parametersDimension);
169 
170  void PrintSelf(std::ostream & os, Indent indent) const;
171 
172 private:
173  CenteredRigid2DTransform(const Self &); // purposely not implemented
174  void operator=(const Self &); // purposely not implemented
175 
176 }; // class CenteredRigid2DTransform
177 } // namespace itk
178 
179 #ifndef ITK_MANUAL_INSTANTIATION
180 #include "itkCenteredRigid2DTransform.hxx"
181 #endif
182 
183 #endif /* __itkCenteredRigid2DTransform_h */
void SetParameters(const ParametersType &parameters)
Superclass::InverseTransformBaseType InverseTransformBaseType
Light weight base class for most itk classes.
Superclass::OutputCovariantVectorType OutputCovariantVectorType
Superclass::OutputVectorType OutputVectorType
Superclass::InputCovariantVectorType InputCovariantVectorType
Superclass::OutputPointType OutputPointType
bool GetInverse(Self *inverse) const
Superclass::OutputPointType OutputPointType
Superclass::OutputVnlVectorType OutputVnlVectorType
Superclass::ParametersValueType ParametersValueType
Superclass::InverseTransformBaseType InverseTransformBaseType
Superclass::InputPointType InputPointType
Rigid2DTransform< TScalar > Superclass
virtual void ComputeJacobianWithRespectToParameters(const InputPointType &p, JacobianType &jacobian) const
Superclass::JacobianType JacobianType
void PrintSelf(std::ostream &os, Indent indent) const
Superclass::ParametersValueType ParametersValueType
Superclass::OutputCovariantVectorType OutputCovariantVectorType
Superclass::InputVnlVectorType InputVnlVectorType
Superclass::ScalarType ScalarType
Superclass::OutputVectorValueType OutputVectorValueType
Superclass::InputPointValueType InputPointValueType
CenteredRigid2DTransform of a vector space (e.g. space coordinates)
Superclass::InputCovariantVectorType InputCovariantVectorType
Superclass::InputVectorType InputVectorType
Superclass::ParametersType ParametersType
Superclass::InputVectorType InputVectorType
Superclass::ParametersType ParametersType
Superclass::InputVnlVectorType InputVnlVectorType
static const unsigned int SpaceDimension
Superclass::OutputVectorType OutputVectorType
void operator=(const Self &)
virtual InverseTransformBasePointer GetInverseTransform() const
Superclass::OutputVnlVectorType OutputVnlVectorType
Rigid2DTransform of a vector space (e.g. space coordinates)
Superclass::InputPointType InputPointType
Control indentation during Print() invocation.
Definition: itkIndent.h:49
static const unsigned int ParametersDimension
static const unsigned int OutputSpaceDimension
virtual void SetFixedParameters(const ParametersType &)
Superclass::OffsetType OffsetType
virtual const ParametersType & GetFixedParameters(void) const
Superclass::OutputVectorValueType OutputVectorValueType
SmartPointer< const Self > ConstPointer
const ParametersType & GetParameters(void) const
InverseTransformBaseType::Pointer InverseTransformBasePointer
void CloneTo(Pointer &clone) const
void CloneInverseTo(Pointer &newinverse) const