go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkGPUAdvancedBSplineDeformableTransform.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 itkGPUAdvancedBSplineDeformableTransform_h
19#define itkGPUAdvancedBSplineDeformableTransform_h
20
23
24namespace itk
25{
37template <typename TScalarType = float,
38 unsigned int NDimensions = 3,
39 unsigned int VSplineOrder = 3,
40 typename TParentTransform = AdvancedBSplineDeformableTransform<TScalarType, NDimensions, VSplineOrder>>
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 ImagePointer = typename CPUSuperclass::ImagePointer;
54
56 itkNewMacro(Self);
57
59 itkStaticConstMacro(SpaceDimension, unsigned int, NDimensions);
60
62 itkTypeMacro(GPUAdvancedBSplineDeformableTransform, TParentTransform);
63
65 void
66 SetParameters(const ParametersType & parameters) override;
67
69 void
71
72protected:
75
76 void
77 PrintSelf(std::ostream & os, Indent indent) const override;
78
79 void
81
82private:
84 const Self &
85 operator=(const Self &) = delete;
86};
87
88} // end namespace itk
89
90#ifndef ITK_MANUAL_INSTANTIATION
91# include "itkGPUAdvancedBSplineDeformableTransform.hxx"
92#endif
93
94#endif /* itkGPUAdvancedBSplineDeformableTransform_h */
GPU version of AdvancedBSplineDeformableTransform.
void PrintSelf(std::ostream &os, Indent indent) const override
void SetCoefficientImages(ImagePointer images[]) override
void SetParameters(const ParametersType &parameters) override
GPUAdvancedBSplineDeformableTransform(const Self &other)=delete
~GPUAdvancedBSplineDeformableTransform() override=default
const Self & operator=(const Self &)=delete
itkStaticConstMacro(SpaceDimension, unsigned int, NDimensions)
GPU base class for the BSplineTransform.


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