ITK  4.13.0
Insight Segmentation and Registration Toolkit
itkElasticBodyReciprocalSplineKernelTransform.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 itkElasticBodyReciprocalSplineKernelTransform_h
19 #define itkElasticBodyReciprocalSplineKernelTransform_h
20 
21 #include "itkKernelTransform.h"
22 
23 namespace itk
24 {
37 template<typename TParametersValueType=double,
38  unsigned int NDimensions=3>
40  public KernelTransform<TParametersValueType, NDimensions>
41 {
42 public:
45  typedef KernelTransform<TParametersValueType,
46  NDimensions> Superclass;
47 
50 
53 
55  itkNewMacro(Self);
56 
58  typedef typename Superclass::ScalarType ScalarType;
59 
61  typedef typename Superclass::ParametersType ParametersType;
62  typedef typename Superclass::FixedParametersType FixedParametersType;
63 
65  typedef typename Superclass::JacobianType JacobianType;
66 
68  itkStaticConstMacro(SpaceDimension, unsigned int, Superclass::SpaceDimension);
69 
73  itkSetMacro(Alpha, TParametersValueType);
74 
76  itkGetConstMacro(Alpha, TParametersValueType);
77 
78  typedef typename Superclass::InputPointType InputPointType;
79  typedef typename Superclass::OutputPointType OutputPointType;
80  typedef typename Superclass::InputVectorType InputVectorType;
81  typedef typename Superclass::OutputVectorType OutputVectorType;
82  typedef typename Superclass::InputCovariantVectorType InputCovariantVectorType;
83  typedef typename Superclass::OutputCovariantVectorType OutputCovariantVectorType;
84 
85 protected:
87  virtual ~ElasticBodyReciprocalSplineKernelTransform() ITK_OVERRIDE;
88  void PrintSelf(std::ostream & os, Indent indent) const ITK_OVERRIDE;
89 
90  typedef typename Superclass::GMatrixType GMatrixType;
101  virtual void ComputeG(const InputVectorType & landmarkVector, GMatrixType & gmatrix) const ITK_OVERRIDE;
102 
104  TParametersValueType m_Alpha;
105 
106 private:
107  ITK_DISALLOW_COPY_AND_ASSIGN(ElasticBodyReciprocalSplineKernelTransform);
108 };
109 } // namespace itk
110 
111 #ifndef ITK_MANUAL_INSTANTIATION
112 #include "itkElasticBodyReciprocalSplineKernelTransform.hxx"
113 #endif
114 
115 #endif // itkElasticBodyReciprocalSplineKernelTransform_h
Light weight base class for most itk classes.
Control indentation during Print() invocation.
Definition: itkIndent.h:49
KernelTransform< TParametersValueType, NDimensions > Superclass