ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
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{
36template <typename TParametersValueType = double, unsigned int VDimension = 3>
38 : public KernelTransform<TParametersValueType, VDimension>
39{
40public:
42
46
49
52
54 itkNewMacro(Self);
55
57 using typename Superclass::ScalarType;
58
60 using typename Superclass::ParametersType;
62
64 using typename Superclass::JacobianType;
67
69 static constexpr unsigned int SpaceDimension = Superclass::SpaceDimension;
70
74 itkSetMacro(Alpha, TParametersValueType);
75
77 itkGetConstMacro(Alpha, TParametersValueType);
78
79 using typename Superclass::InputPointType;
80 using typename Superclass::OutputPointType;
81 using typename Superclass::InputVectorType;
82 using typename Superclass::OutputVectorType;
85
86protected:
89 void
90 PrintSelf(std::ostream & os, Indent indent) const override;
91
92 using typename Superclass::GMatrixType;
103 void
104 ComputeG(const InputVectorType & x, GMatrixType & gmatrix) const override;
105
107 TParametersValueType m_Alpha{};
108};
109} // namespace itk
110
111#ifndef ITK_MANUAL_INSTANTIATION
112# include "itkElasticBodyReciprocalSplineKernelTransform.hxx"
113#endif
114
115#endif // itkElasticBodyReciprocalSplineKernelTransform_h
OptimizerParameters< FixedParametersValueType > FixedParametersType
itkSetMacro(InputSpaceName, std::string)
OptimizerParameters< ParametersValueType > ParametersType
itkOverrideGetNameOfClassMacro(TransformBaseTemplate)
ITK_DISALLOW_COPY_AND_MOVE(TransformBaseTemplate)
void ComputeG(const InputVectorType &x, GMatrixType &gmatrix) const override
vnl_matrix_fixed< TParametersValueType, VDimension, VDimension > GMatrixType
KernelTransform< TParametersValueType, VDimension > Superclass
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
Array2D< ParametersValueType > JacobianType
vnl_matrix_fixed< ParametersValueType, VOutputDimension, VInputDimension > JacobianPositionType
Point< TParametersValueType, VInputDimension > InputPointType
CovariantVector< TParametersValueType, VOutputDimension > OutputCovariantVectorType
static constexpr unsigned int SpaceDimension
ParametersValueType ScalarType
Point< TParametersValueType, VOutputDimension > OutputPointType
Vector< TParametersValueType, VInputDimension > InputVectorType
CovariantVector< TParametersValueType, VInputDimension > InputCovariantVectorType
Vector< TParametersValueType, VOutputDimension > OutputVectorType
vnl_matrix_fixed< ParametersValueType, VInputDimension, VOutputDimension > InverseJacobianPositionType
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....