ITK  4.9.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 TParametersValueType=double,
40  unsigned int NDimensions=3>
42  public KernelTransform<TParametersValueType, NDimensions>
43 {
44 public:
47  typedef KernelTransform<TParametersValueType,
48  NDimensions> Superclass;
49 
52 
55 
57  itkNewMacro(Self);
58 
60  typedef typename Superclass::ScalarType ScalarType;
61 
65 
68 
70  itkStaticConstMacro(SpaceDimension, unsigned int, Superclass::SpaceDimension);
71 
75  itkSetMacro(Alpha, TParametersValueType);
76 
78  itkGetConstMacro(Alpha, TParametersValueType);
79 
86 
87 protected:
90  void PrintSelf(std::ostream & os, Indent indent) const ITK_OVERRIDE;
91 
104  virtual void ComputeG(const InputVectorType & landmarkVector, GMatrixType & gmatrix) const ITK_OVERRIDE;
105 
109  TParametersValueType m_Alpha;
110 
111 private:
112  ElasticBodySplineKernelTransform(const Self &) ITK_DELETE_FUNCTION;
113  void operator=(const Self &) ITK_DELETE_FUNCTION;
114 };
115 } // namespace itk
116 
117 #ifndef ITK_MANUAL_INSTANTIATION
118 #include "itkElasticBodySplineKernelTransform.hxx"
119 #endif
120 
121 #endif // itkElasticBodySplineKernelTransform_h
Light weight base class for most itk classes.
Superclass::InputVectorType InputVectorType
Superclass::InputPointType InputPointType
This class defines the elastic body spline (EBS) transformation.
Superclass::OutputCovariantVectorType OutputCovariantVectorType
Superclass::ScalarType ScalarType
void PrintSelf(std::ostream &os, Indent indent) const override
Superclass::ParametersType ParametersType
Superclass::FixedParametersType FixedParametersType
Superclass::OutputCovariantVectorType OutputCovariantVectorType
Superclass::OutputVectorType OutputVectorType
vnl_matrix_fixed< TParametersValueType, NDimensions, NDimensions > GMatrixType
Superclass::InputCovariantVectorType InputCovariantVectorType
static const unsigned int SpaceDimension
virtual void ComputeG(const InputVectorType &landmarkVector, GMatrixType &gmatrix) const override
Superclass::JacobianType JacobianType
Superclass::InputCovariantVectorType InputCovariantVectorType
Control indentation during Print() invocation.
Definition: itkIndent.h:49
KernelTransform< TParametersValueType, NDimensions > Superclass
Superclass::OutputPointType OutputPointType