Home
|
Main Page
|
Modules
|
Namespace List
|
Class Hierarchy
|
Alphabetical List
|
Data Structures
|
File List
|
Namespace Members
|
Data Fields
|
Globals
|
Related Pages
Src
E
elastix
Common
OpenCL
Filters
itkGPUTranslationTransform.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 itkGPUTranslationTransform_h
19
#define itkGPUTranslationTransform_h
20
21
#include "itkTranslationTransform.h"
22
#include "
itkGPUTranslationTransformBase.h
"
23
24
namespace
itk
25
{
37
template
<
typename
TScalarType
=
float
,
38
unsigned
int
NDimensions = 3,
39
typename
TParentTransform =
TranslationTransform<TScalarType, NDimensions>
>
40
class
ITK_TEMPLATE_EXPORT
GPUTranslationTransform
41
:
public
TParentTransform
42
,
public
GPUTranslationTransformBase
<TScalarType, NDimensions>
43
{
44
public
:
46
using
Self
=
GPUTranslationTransform
;
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(
GPUTranslationTransform
,
CPUSuperclass
);
57
59
using
CPUOutputVectorType
=
typename
GPUSuperclass::CPUOutputVectorType
;
60
62
virtual
const
CPUOutputVectorType
&
63
GetCPUOffset
()
const
64
{
65
return
this->GetOffset();
66
}
67
68
protected
:
69
GPUTranslationTransform
() {}
70
virtual
~GPUTranslationTransform
() {}
71
72
private
:
73
GPUTranslationTransform
(
const
Self
& other) =
delete
;
74
const
Self
&
75
operator=
(
const
Self
&) =
delete
;
76
};
77
78
}
// end namespace itk
79
80
#endif
/* itkGPUTranslationTransform_h */
SmartPointer< Self >
TScalarType
TranslationTransform
float
itk::GPUTranslationTransformBase
Base class for all GPU translation transforms.
Definition
itkGPUTranslationTransformBase.h:42
itk::GPUTranslationTransformBase::CPUOutputVectorType
Vector< TScalarType, NDimensions > CPUOutputVectorType
Definition
itkGPUTranslationTransformBase.h:66
itk::GPUTranslationTransform
GPU version of TranslationTransform.
Definition
itkGPUTranslationTransform.h:43
itk::GPUTranslationTransform::operator=
const Self & operator=(const Self &)=delete
itk::GPUTranslationTransform::CPUOutputVectorType
typename GPUSuperclass::CPUOutputVectorType CPUOutputVectorType
Definition
itkGPUTranslationTransform.h:59
itk::GPUTranslationTransform::GPUTranslationTransform
GPUTranslationTransform()
Definition
itkGPUTranslationTransform.h:69
itk::GPUTranslationTransform::GPUTranslationTransform
GPUTranslationTransform(const Self &other)=delete
itk::GPUTranslationTransform::GetCPUOffset
virtual const CPUOutputVectorType & GetCPUOffset() const
Definition
itkGPUTranslationTransform.h:63
itk::GPUTranslationTransform::ConstPointer
SmartPointer< const Self > ConstPointer
Definition
itkGPUTranslationTransform.h:50
itk::GPUTranslationTransform::CPUSuperclass
TParentTransform CPUSuperclass
Definition
itkGPUTranslationTransform.h:47
itk::GPUTranslationTransform::~GPUTranslationTransform
virtual ~GPUTranslationTransform()
Definition
itkGPUTranslationTransform.h:70
itkGPUTranslationTransformBase.h
itk
Definition
itkAdvancedImageToImageMetric.h:43
Generated on 2024-07-17 for elastix by
1.11.0 (9b424b03c9833626cd435af22a444888fbbb192d)