ITK  6.0.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 * https://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
23namespace itk
24{
37template <typename TParametersValueType = double, unsigned int VDimension = 3>
39 : public KernelTransform<TParametersValueType, VDimension>
40{
41public:
42 ITK_DISALLOW_COPY_AND_MOVE(ElasticBodyReciprocalSplineKernelTransform);
43
47
50
52 itkOverrideGetNameOfClassMacro(ElasticBodyReciprocalSplineKernelTransform);
53
55 itkNewMacro(Self);
56
58 using typename Superclass::ScalarType;
59
61 using typename Superclass::ParametersType;
63
65 using typename Superclass::JacobianType;
68
70 static constexpr unsigned int SpaceDimension = Superclass::SpaceDimension;
71
75 itkSetMacro(Alpha, TParametersValueType);
76
78 itkGetConstMacro(Alpha, TParametersValueType);
79
80 using typename Superclass::InputPointType;
81 using typename Superclass::OutputPointType;
82 using typename Superclass::InputVectorType;
83 using typename Superclass::OutputVectorType;
86
87protected:
90 void
91 PrintSelf(std::ostream & os, Indent indent) const override;
92
93 using 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
OptimizerParameters< FixedParametersValueType > FixedParametersType
OptimizerParameters< ParametersValueType > ParametersType
Array2D class representing a 2D array.
Definition: itkArray2D.h:43
A templated class holding a n-Dimensional covariant vector.
void ComputeG(const InputVectorType &x, GMatrixType &gmatrix) const override
vnl_matrix_fixed< TParametersValueType, VDimension, VDimension > GMatrixType
void PrintSelf(std::ostream &os, Indent indent) const override
~ElasticBodyReciprocalSplineKernelTransform() override=default
Control indentation during Print() invocation.
Definition: itkIndent.h:50
vnl_matrix_fixed< TParametersValueType, VDimension, VDimension > GMatrixType
A templated class holding a geometric point in n-Dimensional space.
Definition: itkPoint.h:54
vnl_matrix_fixed< ParametersValueType, VOutputDimension, VInputDimension > JacobianPositionType
Definition: itkTransform.h:131
vnl_matrix_fixed< ParametersValueType, VInputDimension, VOutputDimension > InverseJacobianPositionType
Definition: itkTransform.h:132
A templated class holding a n-Dimensional vector.
Definition: itkVector.h:63
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....