Orfeo Toolbox  4.0
itkCenteredAffineTransform.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 __itkCenteredAffineTransform_h
19 #define __itkCenteredAffineTransform_h
20 
21 #include "itkAffineTransform.h"
22 
23 namespace itk
24 {
33 template <
34  typename TScalar = double, // Data type for scalars
35  unsigned int NDimensions = 3>
36 // Number of dimensions in the input space
38  NDimensions>
39 {
40 public:
46 
49 
51  itkNewMacro(Self);
52 
54  itkStaticConstMacro(SpaceDimension, unsigned int, NDimensions);
55  itkStaticConstMacro( ParametersDimension, unsigned int,
56  NDimensions * ( NDimensions + 2 ) );
57 
69 
79 
83  typedef typename InverseTransformBaseType::Pointer InverseTransformBasePointer;
84 
93  void SetParameters(const ParametersType & parameters);
94 
95  const ParametersType & GetParameters(void) const;
96 
103  virtual void ComputeJacobianWithRespectToParameters( const InputPointType & p, JacobianType & jacobian) const;
104 
106  bool GetInverse(Self *inverse) const;
107 
110 
111 protected:
114 
116  virtual ~CenteredAffineTransform();
117 
118 private:
119  CenteredAffineTransform(const Self & other);
120  const Self & operator=(const Self &);
121 
122 }; // class CenteredAffineTransform
123 } // namespace itk
124 
125 #ifndef ITK_MANUAL_INSTANTIATION
127 #endif
128 
129 #endif /* __itkCenteredAffineTransform_h */

Generated at Sat Mar 8 2014 14:25:46 for Orfeo Toolbox with doxygen 1.8.3.1