ITK  4.6.0
Insight Segmentation and Registration Toolkit
itkElasticBodySplineKernelTransform.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 __itkElasticBodySplineKernelTransform_h
19 #define __itkElasticBodySplineKernelTransform_h
20 
21 #include "itkKernelTransform.h"
22 
23 namespace itk
24 {
39 template< typename TScalar = double, // Data type for scalars (float or
40  // double)
41  unsigned int NDimensions = 3 >
42 // Number of dimensions
44  public KernelTransform< TScalar, NDimensions >
45 {
46 public:
49  typedef KernelTransform< TScalar,
50  NDimensions > Superclass;
51 
54 
57 
59  itkNewMacro(Self);
60 
62  typedef typename Superclass::ScalarType ScalarType;
63 
66 
69 
71  itkStaticConstMacro(SpaceDimension, unsigned int, Superclass::SpaceDimension);
72 
76  itkSetMacro(Alpha, TScalar);
77 
79  itkGetConstMacro(Alpha, TScalar);
80 
87 
88 protected:
91  void PrintSelf(std::ostream & os, Indent indent) const;
92 
105  virtual void ComputeG(const InputVectorType & landmarkVector, GMatrixType & gmatrix) const;
106 
110  TScalar m_Alpha;
111 
112 private:
113  ElasticBodySplineKernelTransform(const Self &); //purposely not implemented
114  void operator=(const Self &); //purposely not implemented
115 };
116 } // namespace itk
117 
118 #ifndef ITK_MANUAL_INSTANTIATION
119 #include "itkElasticBodySplineKernelTransform.hxx"
120 #endif
121 
122 #endif // __itkElasticBodySplineKernelTransform_h
virtual void ComputeG(const InputVectorType &landmarkVector, GMatrixType &gmatrix) const
Light weight base class for most itk classes.
static const unsigned int SpaceDimension
Superclass::OutputVectorType OutputVectorType
Superclass::JacobianType JacobianType
This class defines the elastic body spline (EBS) transformation.
Superclass::InputVectorType InputVectorType
KernelTransform< TScalar, NDimensions > Superclass
Superclass::OutputCovariantVectorType OutputCovariantVectorType
Superclass::ParametersType ParametersType
vnl_matrix_fixed< TScalar, NDimensions, NDimensions > GMatrixType
Superclass::InputPointType InputPointType
Superclass::ScalarType ScalarType
Superclass::OutputCovariantVectorType OutputCovariantVectorType
void PrintSelf(std::ostream &os, Indent indent) const
Superclass::InputCovariantVectorType InputCovariantVectorType
Control indentation during Print() invocation.
Definition: itkIndent.h:49
Superclass::OutputPointType OutputPointType
Superclass::InputCovariantVectorType InputCovariantVectorType