Orfeo Toolbox  4.0
itkCenteredSimilarity2DTransform.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 __itkCenteredSimilarity2DTransform_h
19 #define __itkCenteredSimilarity2DTransform_h
20 
21 #include <iostream>
23 
24 namespace itk
25 {
55 template< typename TScalar = double >
56 // Data type for scalars
58  public Similarity2DTransform<TScalar>
59 {
60 public:
66 
68  itkNewMacro(Self);
69 
72 
74  itkStaticConstMacro(SpaceDimension, unsigned int, 2);
75  itkStaticConstMacro(InputSpaceDimension, unsigned int, 2);
76  itkStaticConstMacro(OutputSpaceDimension, unsigned int, 2);
77  itkStaticConstMacro(ParametersDimension, unsigned int, 6);
78 
81 
85 
88 
92 
96  typedef typename InputPointType::ValueType InputPointValueType;
97 
101 
103  typedef typename Superclass::InputCovariantVectorType
107 
111 
116 
126  void SetParameters(const ParametersType & parameters);
127 
137  const ParametersType & GetParameters(void) const;
138 
140  virtual void ComputeJacobianWithRespectToParameters( const InputPointType & p, JacobianType & jacobian) const;
141 
144  virtual void SetFixedParameters(const ParametersType &);
145 
148  virtual const ParametersType & GetFixedParameters(void) const;
149 
153  void CloneInverseTo(Pointer & newinverse) const;
154 
156  bool GetInverse(Self *inverse) const;
157 
160 
164  void CloneTo(Pointer & clone) const;
165 
166 protected:
168  CenteredSimilarity2DTransform(unsigned int spaceDimension, unsigned int parametersDimension);
169 
171  {
172  }
173  void PrintSelf(std::ostream & os, Indent indent) const;
174 
175 private:
176  CenteredSimilarity2DTransform(const Self &); // purposely not implemented
177  void operator=(const Self &); // purposely not implemented
178 
179 }; // class
180  // CenteredSimilarity2DTransform
181 } // namespace itk
182 
183 #ifndef ITK_MANUAL_INSTANTIATION
185 #endif
186 
187 #endif /* __itkCenteredSimilarity2DTransform_h */

Generated at Sat Mar 8 2014 14:26:15 for Orfeo Toolbox with doxygen 1.8.3.1