go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkGPUBSplineTransform.h
Go to the documentation of this file.
1/*=========================================================================
2 *
3 * Copyright UMC Utrecht and contributors
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 itkGPUBSplineTransform_h
19#define itkGPUBSplineTransform_h
20
21#include "itkBSplineTransform.h"
23
24namespace itk
25{
37template <typename TScalarType = float,
38 unsigned int NDimensions = 3,
39 unsigned int VSplineOrder = 3,
41class ITK_EXPORT GPUBSplineTransform
42 : public TParentTransform
43 , public GPUBSplineBaseTransform<TScalarType, NDimensions>
44{
45public:
48 using CPUSuperclass = TParentTransform;
50 using Pointer = SmartPointer<Self>;
51 using ConstPointer = SmartPointer<const Self>;
52 using ParametersType = typename CPUSuperclass::ParametersType;
53 using CoefficientImageArray = typename CPUSuperclass::CoefficientImageArray;
54
56 itkNewMacro(Self);
57
59 itkTypeMacro(GPUBSplineTransform, TParentTransform);
60
62 itkStaticConstMacro(SpaceDimension, unsigned int, NDimensions);
63
65 void
66 SetParameters(const ParametersType & parameters);
67
69 void
71
72protected:
75
76 void
77 PrintSelf(std::ostream & os, Indent indent) const override;
78
79 void
81
82private:
83 GPUBSplineTransform(const Self & other) = delete;
84 const Self &
85 operator=(const Self &) = delete;
86};
87
88} // end namespace itk
89
90#ifndef ITK_MANUAL_INSTANTIATION
91# include "itkGPUBSplineTransform.hxx"
92#endif
93
94#endif /* itkGPUBSplineTransform_h */
GPU base class for the BSplineTransform.
GPU version of BSplineTransform.
SmartPointer< const Self > ConstPointer
void PrintSelf(std::ostream &os, Indent indent) const override
typename CPUSuperclass::CoefficientImageArray CoefficientImageArray
void SetParameters(const ParametersType &parameters)
GPUBSplineTransform(const Self &other)=delete
typename CPUSuperclass::ParametersType ParametersType
itkStaticConstMacro(SpaceDimension, unsigned int, NDimensions)
const Self & operator=(const Self &)=delete
void SetCoefficientImages(const CoefficientImageArray &images)


Generated on 2023-01-13 for elastix by doxygen 1.9.6 elastix logo