ITK  5.0.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:
43  ITK_DISALLOW_COPY_AND_ASSIGN(ElasticBodyReciprocalSplineKernelTransform);
44 
47  using Superclass = KernelTransform<TParametersValueType,
48  NDimensions>;
49 
52 
55 
57  itkNewMacro(Self);
58 
60  using ScalarType = typename Superclass::ScalarType;
61 
63  using ParametersType = typename Superclass::ParametersType;
64  using FixedParametersType = typename Superclass::FixedParametersType;
65 
67  using JacobianType = typename Superclass::JacobianType;
68  using JacobianPositionType = typename Superclass::JacobianPositionType;
69  using InverseJacobianPositionType = typename Superclass::InverseJacobianPositionType;
70 
72  static constexpr unsigned int SpaceDimension = Superclass::SpaceDimension;
73 
77  itkSetMacro(Alpha, TParametersValueType);
78 
80  itkGetConstMacro(Alpha, TParametersValueType);
81 
82  using InputPointType = typename Superclass::InputPointType;
83  using OutputPointType = typename Superclass::OutputPointType;
84  using InputVectorType = typename Superclass::InputVectorType;
85  using OutputVectorType = typename Superclass::OutputVectorType;
86  using InputCovariantVectorType = typename Superclass::InputCovariantVectorType;
87  using OutputCovariantVectorType = typename Superclass::OutputCovariantVectorType;
88 
89 protected:
91  ~ElasticBodyReciprocalSplineKernelTransform() override = default;
92  void PrintSelf(std::ostream & os, Indent indent) const override;
93 
94  using GMatrixType = typename Superclass::GMatrixType;
105  void ComputeG(const InputVectorType & landmarkVector, GMatrixType & gmatrix) const override;
106 
108  TParametersValueType m_Alpha;
109 };
110 } // namespace itk
111 
112 #ifndef ITK_MANUAL_INSTANTIATION
113 #include "itkElasticBodyReciprocalSplineKernelTransform.hxx"
114 #endif
115 
116 #endif // itkElasticBodyReciprocalSplineKernelTransform_h
Light weight base class for most itk classes.
typename Superclass::OutputCovariantVectorType OutputCovariantVectorType
typename Superclass::InputCovariantVectorType InputCovariantVectorType
Control indentation during Print() invocation.
Definition: itkIndent.h:49
typename Superclass::InverseJacobianPositionType InverseJacobianPositionType