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
itkGPUAdvancedTranslationTransform.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 itkGPUAdvancedTranslationTransform_h
19
#define itkGPUAdvancedTranslationTransform_h
20
21
#include "
itkAdvancedTranslationTransform.h
"
22
#include "
itkGPUTranslationTransformBase.h
"
23
24
namespace
itk
25
{
37
template
<
typename
TScalarType
=
float
,
38
unsigned
int
NDimensions = 3,
39
typename
TParentTransform = AdvancedTranslationTransform<TScalarType, NDimensions>>
40
class
ITK_TEMPLATE_EXPORT
GPUAdvancedTranslationTransform
41
:
public
TParentTransform
42
,
public
GPUTranslationTransformBase
<TScalarType, NDimensions>
43
{
44
public
:
46
using
Self
=
GPUAdvancedTranslationTransform
;
47
using
CPUSuperclass
= TParentTransform;
48
using
GPUSuperclass
=
GPUTranslationTransformBase<TScalarType, NDimensions>
;
49
using
Pointer
= SmartPointer<Self>;
50
using
ConstPointer
= SmartPointer<const Self>;
51
53
itkNewMacro(
Self
);
54
56
itkTypeMacro(
GPUAdvancedTranslationTransform
,
CPUSuperclass
);
57
59
using
CPUOutputVectorType
=
typename
GPUSuperclass::CPUOutputVectorType
;
60
62
const
CPUOutputVectorType
&
63
GetCPUOffset
()
const override
64
{
65
return
this->GetOffset();
66
}
67
68
protected
:
69
GPUAdvancedTranslationTransform
() =
default
;
70
~GPUAdvancedTranslationTransform
()
override
=
default
;
71
72
private
:
73
GPUAdvancedTranslationTransform
(
const
Self
& other) =
delete
;
74
const
Self
&
75
operator=
(
const
Self
&) =
delete
;
76
};
77
78
}
// end namespace itk
79
80
#endif
/* itkGPUAdvancedTranslationTransform_h */
SmartPointer< Self >
TScalarType
float
itk::GPUAdvancedTranslationTransform
GPU version of AdvancedTranslationTransform.
Definition:
itkGPUAdvancedTranslationTransform.h:43
itk::GPUAdvancedTranslationTransform::ConstPointer
SmartPointer< const Self > ConstPointer
Definition:
itkGPUAdvancedTranslationTransform.h:50
itk::GPUAdvancedTranslationTransform::CPUOutputVectorType
typename GPUSuperclass::CPUOutputVectorType CPUOutputVectorType
Definition:
itkGPUAdvancedTranslationTransform.h:59
itk::GPUAdvancedTranslationTransform::GPUAdvancedTranslationTransform
GPUAdvancedTranslationTransform(const Self &other)=delete
itk::GPUAdvancedTranslationTransform::CPUSuperclass
TParentTransform CPUSuperclass
Definition:
itkGPUAdvancedTranslationTransform.h:47
itk::GPUAdvancedTranslationTransform::operator=
const Self & operator=(const Self &)=delete
itk::GPUAdvancedTranslationTransform::GPUAdvancedTranslationTransform
GPUAdvancedTranslationTransform()=default
itk::GPUAdvancedTranslationTransform::~GPUAdvancedTranslationTransform
~GPUAdvancedTranslationTransform() override=default
itk::GPUAdvancedTranslationTransform::GetCPUOffset
const CPUOutputVectorType & GetCPUOffset() const override
Definition:
itkGPUAdvancedTranslationTransform.h:63
itk::GPUTranslationTransformBase
Base class for all GPU translation transforms.
Definition:
itkGPUTranslationTransformBase.h:42
itk::GPUTranslationTransformBase::CPUOutputVectorType
Vector< TScalarType, NDimensions > CPUOutputVectorType
Definition:
itkGPUTranslationTransformBase.h:66
itkAdvancedTranslationTransform.h
itkGPUTranslationTransformBase.h
itk
Definition:
itkAdvancedImageToImageMetric.h:44
Generated on Wed 12 Apr 2023 for elastix by
1.9.6