Home
|
Main Page
|
Modules
|
Namespace List
|
Class Hierarchy
|
Alphabetical List
|
Data Structures
|
File List
|
Namespace Members
|
Data Fields
|
Globals
|
Related Pages
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
,
unsigned
int
NDimensions = 3,
unsigned
int
VSplineOrder = 3,
38
typename
TParentTransform =
BSplineTransform< TScalarType, NDimensions, VSplineOrder >
>
39
class
GPUBSplineTransform
:
40
public
TParentTransform,
public
GPUBSplineBaseTransform
< TScalarType, NDimensions >
41
{
42
public
:
43
45
typedef
GPUBSplineTransform
Self
;
46
typedef
TParentTransform
CPUSuperclass
;
47
typedef
GPUBSplineBaseTransform
<
48
TScalarType
, NDimensions >
GPUSuperclass
;
49
typedef
SmartPointer< Self >
Pointer
;
50
typedef
SmartPointer< const Self >
ConstPointer
;
51
typedef
typename
CPUSuperclass::ParametersType
ParametersType
;
52
typedef
typename
CPUSuperclass::CoefficientImageArray
CoefficientImageArray
;
53
55
itkNewMacro(
Self
);
56
58
itkTypeMacro(
GPUBSplineTransform
, TParentTransform );
59
61
itkStaticConstMacro
( SpaceDimension,
unsigned
int
, NDimensions );
62
64
void
SetParameters
(
const
ParametersType
& parameters );
65
67
void
SetCoefficientImages
(
const
CoefficientImageArray
& images );
68
69
protected
:
70
71
GPUBSplineTransform
();
72
virtual
~GPUBSplineTransform
() {}
73
74
void
PrintSelf
( std::ostream & os, Indent indent )
const override
;
75
76
void
CopyCoefficientImagesToGPU
();
77
78
private
:
79
80
GPUBSplineTransform
(
const
Self
& other );
// purposely not implemented
81
const
Self
&
operator=
(
const
Self
& );
// purposely not implemented
82
83
};
84
85
}
// end namespace itk
86
87
#ifndef ITK_MANUAL_INSTANTIATION
88
#include "itkGPUBSplineTransform.hxx"
89
#endif
90
91
#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:41
itk::GPUBSplineTransform::PrintSelf
void PrintSelf(std::ostream &os, Indent indent) const override
itk::GPUBSplineTransform::GPUBSplineTransform
GPUBSplineTransform()
itk::GPUBSplineTransform::CoefficientImageArray
CPUSuperclass::CoefficientImageArray CoefficientImageArray
Definition:
itkGPUBSplineTransform.h:52
itk::GPUBSplineTransform::Pointer
SmartPointer< Self > Pointer
Definition:
itkGPUBSplineTransform.h:49
itk::GPUBSplineTransform::SetParameters
void SetParameters(const ParametersType ¶meters)
itk::GPUBSplineTransform::CPUSuperclass
TParentTransform CPUSuperclass
Definition:
itkGPUBSplineTransform.h:46
itk::GPUBSplineTransform::GPUSuperclass
GPUBSplineBaseTransform< TScalarType, NDimensions > GPUSuperclass
Definition:
itkGPUBSplineTransform.h:48
itk::GPUBSplineTransform::GPUBSplineTransform
GPUBSplineTransform(const Self &other)
itk::GPUBSplineTransform::ConstPointer
SmartPointer< const Self > ConstPointer
Definition:
itkGPUBSplineTransform.h:50
itk::GPUBSplineTransform::itkStaticConstMacro
itkStaticConstMacro(SpaceDimension, unsigned int, NDimensions)
itk::GPUBSplineTransform::Self
GPUBSplineTransform Self
Definition:
itkGPUBSplineTransform.h:45
itk::GPUBSplineTransform::~GPUBSplineTransform
virtual ~GPUBSplineTransform()
Definition:
itkGPUBSplineTransform.h:72
itk::GPUBSplineTransform::SetCoefficientImages
void SetCoefficientImages(const CoefficientImageArray &images)
itk::GPUBSplineTransform::ParametersType
CPUSuperclass::ParametersType ParametersType
Definition:
itkGPUBSplineTransform.h:51
itk::GPUBSplineTransform::operator=
const Self & operator=(const Self &)
itk::GPUBSplineTransform::CopyCoefficientImagesToGPU
void CopyCoefficientImagesToGPU()
itkGPUBSplineBaseTransform.h
itk
Definition:
itkAdvancedImageToImageMetric.h:42
Generated on 1667476801 for elastix by
1.9.4