Home
|
Main Page
|
Modules
|
Namespace List
|
Class Hierarchy
|
Alphabetical List
|
Data Structures
|
File List
|
Namespace Members
|
Data Fields
|
Globals
|
Related Pages
Src
elx
5.1.0
Common
OpenCL
Filters
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"
22
#include "
itkGPUBSplineBaseTransform.h
"
23
24
namespace
itk
25
{
37
template
<
typename
TScalarType
=
float
,
38
unsigned
int
NDimensions = 3,
39
unsigned
int
VSplineOrder = 3,
40
typename
TParentTransform =
BSplineTransform<TScalarType, NDimensions, VSplineOrder>
>
41
class
ITK_EXPORT
GPUBSplineTransform
42
:
public
TParentTransform
43
,
public
GPUBSplineBaseTransform
<TScalarType, NDimensions>
44
{
45
public
:
47
using
Self
=
GPUBSplineTransform
;
48
using
CPUSuperclass
= TParentTransform;
49
using
GPUSuperclass
=
GPUBSplineBaseTransform<TScalarType, NDimensions>
;
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
70
SetCoefficientImages
(
const
CoefficientImageArray
& images);
71
72
protected
:
73
GPUBSplineTransform
();
74
virtual
~GPUBSplineTransform
() {}
75
76
void
77
PrintSelf
(std::ostream & os, Indent indent)
const override
;
78
79
void
80
CopyCoefficientImagesToGPU
();
81
82
private
:
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 */
BSplineTransform
SmartPointer< Self >
TScalarType
float
itk::GPUBSplineBaseTransform
GPU base class for the BSplineTransform.
Definition:
itkGPUBSplineBaseTransform.h:43
itk::GPUBSplineTransform
GPU version of BSplineTransform.
Definition:
itkGPUBSplineTransform.h:44
itk::GPUBSplineTransform::ConstPointer
SmartPointer< const Self > ConstPointer
Definition:
itkGPUBSplineTransform.h:51
itk::GPUBSplineTransform::PrintSelf
void PrintSelf(std::ostream &os, Indent indent) const override
itk::GPUBSplineTransform::GPUBSplineTransform
GPUBSplineTransform()
itk::GPUBSplineTransform::CoefficientImageArray
typename CPUSuperclass::CoefficientImageArray CoefficientImageArray
Definition:
itkGPUBSplineTransform.h:53
itk::GPUBSplineTransform::SetParameters
void SetParameters(const ParametersType ¶meters)
itk::GPUBSplineTransform::GPUBSplineTransform
GPUBSplineTransform(const Self &other)=delete
itk::GPUBSplineTransform::ParametersType
typename CPUSuperclass::ParametersType ParametersType
Definition:
itkGPUBSplineTransform.h:52
itk::GPUBSplineTransform::itkStaticConstMacro
itkStaticConstMacro(SpaceDimension, unsigned int, NDimensions)
itk::GPUBSplineTransform::CPUSuperclass
TParentTransform CPUSuperclass
Definition:
itkGPUBSplineTransform.h:48
itk::GPUBSplineTransform::~GPUBSplineTransform
virtual ~GPUBSplineTransform()
Definition:
itkGPUBSplineTransform.h:74
itk::GPUBSplineTransform::operator=
const Self & operator=(const Self &)=delete
itk::GPUBSplineTransform::SetCoefficientImages
void SetCoefficientImages(const CoefficientImageArray &images)
itk::GPUBSplineTransform::CopyCoefficientImagesToGPU
void CopyCoefficientImagesToGPU()
itkGPUBSplineBaseTransform.h
itk
Definition:
itkAdvancedImageToImageMetric.h:44
Generated on 2023-01-13 for elastix by
1.9.6