ITK  6.0.0
Insight Toolkit
itkVolumeSplineKernelTransform.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 itkVolumeSplineKernelTransform_h
19 #define itkVolumeSplineKernelTransform_h
20 
21 #include "itkKernelTransform.h"
22 
23 namespace itk
24 {
33 template <typename TParametersValueType, unsigned int VDimension = 3>
34 // Number of dimensions
35 class ITK_TEMPLATE_EXPORT VolumeSplineKernelTransform : public KernelTransform<TParametersValueType, VDimension>
36 {
37 public:
38  ITK_DISALLOW_COPY_AND_MOVE(VolumeSplineKernelTransform);
39 
45 
47  itkNewMacro(Self);
48 
50  itkOverrideGetNameOfClassMacro(VolumeSplineKernelTransform);
51 
53  using typename Superclass::ScalarType;
54 
56  using typename Superclass::ParametersType;
57  using typename Superclass::FixedParametersType;
58 
60  using typename Superclass::JacobianType;
61  using typename Superclass::JacobianPositionType;
63 
65  static constexpr unsigned int SpaceDimension = Superclass::SpaceDimension;
66 
68  using typename Superclass::InputPointType;
69  using typename Superclass::OutputPointType;
70  using typename Superclass::InputVectorType;
71  using typename Superclass::OutputVectorType;
74  using typename Superclass::PointsIterator;
75 
76 protected:
77  VolumeSplineKernelTransform() = default;
78  ~VolumeSplineKernelTransform() override = default;
79 
81  using typename Superclass::GMatrixType;
82 
91  void
92  ComputeG(const InputVectorType & x, GMatrixType & gmatrix) const override;
93 
96  void
97  ComputeDeformationContribution(const InputPointType & thisPoint, OutputPointType & result) const override;
98 };
99 } // namespace itk
100 
101 #ifndef ITK_MANUAL_INSTANTIATION
102 # include "itkVolumeSplineKernelTransform.hxx"
103 #endif
104 
105 #endif // itkVolumeSplineKernelTransform_h
itk::KernelTransform::GMatrixType
vnl_matrix_fixed< TParametersValueType, VDimension, VDimension > GMatrixType
Definition: itkKernelTransform.h:254
itk::Vector
A templated class holding a n-Dimensional vector.
Definition: itkVector.h:62
itk::VolumeSplineKernelTransform
Definition: itkVolumeSplineKernelTransform.h:35
itk::SmartPointer< Self >
itkKernelTransform.h
itk::Transform< TParametersValueType, VDimension, VDimension >::ScalarType
ParametersValueType ScalarType
Definition: itkTransform.h:127
itk::CovariantVector
A templated class holding a n-Dimensional covariant vector.
Definition: itkCovariantVector.h:70
itk::Transform< TParametersValueType, VDimension, VDimension >::JacobianPositionType
vnl_matrix_fixed< ParametersValueType, VOutputDimension, VInputDimension > JacobianPositionType
Definition: itkTransform.h:131
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition: itkAnatomicalOrientation.h:29
itk::Transform< TParametersValueType, VDimension, VDimension >::InverseJacobianPositionType
vnl_matrix_fixed< ParametersValueType, VInputDimension, VOutputDimension > InverseJacobianPositionType
Definition: itkTransform.h:132
itk::Point
A templated class holding a geometric point in n-Dimensional space.
Definition: itkPoint.h:53
itk::KernelTransform
Definition: itkKernelTransform.h:61
itk::Transform< TParametersValueType, VDimension, VDimension >
itk::Array2D
Array2D class representing a 2D array.
Definition: itkArray2D.h:42