ITK  5.2.0
Insight Toolkit
itkElasticBodyReciprocalSplineKernelTransform.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright NumFOCUS
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, unsigned int NDimensions = 3>
39  : public KernelTransform<TParametersValueType, NDimensions>
40 {
41 public:
42  ITK_DISALLOW_COPY_AND_MOVE(ElasticBodyReciprocalSplineKernelTransform);
43 
47 
50 
53 
55  itkNewMacro(Self);
56 
58  using ScalarType = typename Superclass::ScalarType;
59 
61  using ParametersType = typename Superclass::ParametersType;
62  using FixedParametersType = typename Superclass::FixedParametersType;
63 
65  using JacobianType = typename Superclass::JacobianType;
66  using JacobianPositionType = typename Superclass::JacobianPositionType;
67  using InverseJacobianPositionType = typename Superclass::InverseJacobianPositionType;
68 
70  static constexpr unsigned int SpaceDimension = Superclass::SpaceDimension;
71 
75  itkSetMacro(Alpha, TParametersValueType);
76 
78  itkGetConstMacro(Alpha, TParametersValueType);
79 
80  using InputPointType = typename Superclass::InputPointType;
81  using OutputPointType = typename Superclass::OutputPointType;
82  using InputVectorType = typename Superclass::InputVectorType;
83  using OutputVectorType = typename Superclass::OutputVectorType;
84  using InputCovariantVectorType = typename Superclass::InputCovariantVectorType;
85  using OutputCovariantVectorType = typename Superclass::OutputCovariantVectorType;
86 
87 protected:
89  ~ElasticBodyReciprocalSplineKernelTransform() override = default;
90  void
91  PrintSelf(std::ostream & os, Indent indent) const override;
92 
93  using GMatrixType = typename Superclass::GMatrixType;
104  void
105  ComputeG(const InputVectorType & x, 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
itk::ElasticBodyReciprocalSplineKernelTransform::InputCovariantVectorType
typename Superclass::InputCovariantVectorType InputCovariantVectorType
Definition: itkElasticBodyReciprocalSplineKernelTransform.h:84
itk::ElasticBodyReciprocalSplineKernelTransform::JacobianPositionType
typename Superclass::JacobianPositionType JacobianPositionType
Definition: itkElasticBodyReciprocalSplineKernelTransform.h:66
itk::ElasticBodyReciprocalSplineKernelTransform
Definition: itkElasticBodyReciprocalSplineKernelTransform.h:38
itk::ElasticBodyReciprocalSplineKernelTransform::FixedParametersType
typename Superclass::FixedParametersType FixedParametersType
Definition: itkElasticBodyReciprocalSplineKernelTransform.h:62
itk::ElasticBodyReciprocalSplineKernelTransform::InputVectorType
typename Superclass::InputVectorType InputVectorType
Definition: itkElasticBodyReciprocalSplineKernelTransform.h:82
itk::SmartPointer< Self >
itk::Indent
Control indentation during Print() invocation.
Definition: itkIndent.h:49
itkKernelTransform.h
itk::ElasticBodyReciprocalSplineKernelTransform::OutputCovariantVectorType
typename Superclass::OutputCovariantVectorType OutputCovariantVectorType
Definition: itkElasticBodyReciprocalSplineKernelTransform.h:85
itk::ElasticBodyReciprocalSplineKernelTransform::JacobianType
typename Superclass::JacobianType JacobianType
Definition: itkElasticBodyReciprocalSplineKernelTransform.h:65
itk::LightObject
Light weight base class for most itk classes.
Definition: itkLightObject.h:59
itk::ElasticBodyReciprocalSplineKernelTransform::ParametersType
typename Superclass::ParametersType ParametersType
Definition: itkElasticBodyReciprocalSplineKernelTransform.h:61
itk::ElasticBodyReciprocalSplineKernelTransform::ScalarType
typename Superclass::ScalarType ScalarType
Definition: itkElasticBodyReciprocalSplineKernelTransform.h:58
itk::ElasticBodyReciprocalSplineKernelTransform::InverseJacobianPositionType
typename Superclass::InverseJacobianPositionType InverseJacobianPositionType
Definition: itkElasticBodyReciprocalSplineKernelTransform.h:67
itk::ElasticBodyReciprocalSplineKernelTransform::OutputPointType
typename Superclass::OutputPointType OutputPointType
Definition: itkElasticBodyReciprocalSplineKernelTransform.h:81
itk::ElasticBodyReciprocalSplineKernelTransform::m_Alpha
TParametersValueType m_Alpha
Definition: itkElasticBodyReciprocalSplineKernelTransform.h:108
itk::ElasticBodyReciprocalSplineKernelTransform::InputPointType
typename Superclass::InputPointType InputPointType
Definition: itkElasticBodyReciprocalSplineKernelTransform.h:80
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition: itkAnnulusOperator.h:24
itk::KernelTransform
Definition: itkKernelTransform.h:61
itk::ElasticBodyReciprocalSplineKernelTransform::GMatrixType
typename Superclass::GMatrixType GMatrixType
Definition: itkElasticBodyReciprocalSplineKernelTransform.h:93
itk::ElasticBodyReciprocalSplineKernelTransform::OutputVectorType
typename Superclass::OutputVectorType OutputVectorType
Definition: itkElasticBodyReciprocalSplineKernelTransform.h:83