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
itkGPUCompositeTransform.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 itkGPUCompositeTransform_h
19
#define itkGPUCompositeTransform_h
20
21
#include "itkCompositeTransform.h"
22
#include "
itkGPUCompositeTransformBase.h
"
23
24
namespace
itk
25
{
37
template
<
typename
TScalarType
=
float
,
38
unsigned
int
NDimensions = 3,
39
typename
TParentTransform =
CompositeTransform<TScalarType, NDimensions>
>
40
class
ITK_TEMPLATE_EXPORT
GPUCompositeTransform
41
:
public
TParentTransform
42
,
public
GPUCompositeTransformBase
<TScalarType, NDimensions>
43
{
44
public
:
46
using
Self
=
GPUCompositeTransform
;
47
using
CPUSuperclass
= TParentTransform;
48
using
GPUSuperclass
=
GPUCompositeTransformBase<TScalarType, NDimensions>
;
49
using
Pointer
= SmartPointer<Self>;
50
using
ConstPointer
= SmartPointer<const Self>;
51
53
itkNewMacro(
Self
);
54
56
itkTypeMacro(
GPUCompositeTransform
, TParentTransform);
57
59
using
GPUTransformType
=
typename
GPUSuperclass::TransformType
;
60
using
TransformTypePointer
=
typename
GPUSuperclass::TransformTypePointer
;
61
using
TransformTypeConstPointer
=
typename
GPUSuperclass::TransformTypeConstPointer
;
62
64
virtual
SizeValueType
65
GetNumberOfTransforms
()
const
66
{
67
return
CPUSuperclass::GetNumberOfTransforms();
68
}
69
71
virtual
const
TransformTypePointer
72
GetNthTransform
(SizeValueType n)
const
73
{
74
return
CPUSuperclass::GetNthTransform(n);
75
}
76
77
protected
:
78
GPUCompositeTransform
() {}
79
virtual
~GPUCompositeTransform
() {}
80
void
81
PrintSelf
(std::ostream & s, Indent indent)
const
82
{
83
CPUSuperclass::PrintSelf(s, indent);
84
}
85
86
private
:
87
GPUCompositeTransform
(
const
Self
& other) =
delete
;
88
const
Self
&
89
operator=
(
const
Self
&) =
delete
;
90
};
91
92
}
// end namespace itk
93
94
#endif
/* itkGPUCompositeTransform_h */
CompositeTransform
SmartPointer< Self >
TScalarType
float
itk::GPUCompositeTransformBase
Definition:
itkGPUCompositeTransformBase.h:39
itk::GPUCompositeTransformBase::TransformTypeConstPointer
typename TransformType::ConstPointer TransformTypeConstPointer
Definition:
itkGPUCompositeTransformBase.h:52
itk::GPUCompositeTransformBase::TransformTypePointer
typename TransformType::Pointer TransformTypePointer
Definition:
itkGPUCompositeTransformBase.h:51
itk::GPUCompositeTransformBase::TransformType
Transform< TScalarType, NDimensions, NDimensions > TransformType
Definition:
itkGPUCompositeTransformBase.h:50
itk::GPUCompositeTransform
GPU version of CompositeTransform.
Definition:
itkGPUCompositeTransform.h:43
itk::GPUCompositeTransform::~GPUCompositeTransform
virtual ~GPUCompositeTransform()
Definition:
itkGPUCompositeTransform.h:79
itk::GPUCompositeTransform::GPUTransformType
typename GPUSuperclass::TransformType GPUTransformType
Definition:
itkGPUCompositeTransform.h:59
itk::GPUCompositeTransform::GetNthTransform
virtual const TransformTypePointer GetNthTransform(SizeValueType n) const
Definition:
itkGPUCompositeTransform.h:72
itk::GPUCompositeTransform::PrintSelf
void PrintSelf(std::ostream &s, Indent indent) const
Definition:
itkGPUCompositeTransform.h:81
itk::GPUCompositeTransform::operator=
const Self & operator=(const Self &)=delete
itk::GPUCompositeTransform::GPUCompositeTransform
GPUCompositeTransform(const Self &other)=delete
itk::GPUCompositeTransform::GPUCompositeTransform
GPUCompositeTransform()
Definition:
itkGPUCompositeTransform.h:78
itk::GPUCompositeTransform::TransformTypeConstPointer
typename GPUSuperclass::TransformTypeConstPointer TransformTypeConstPointer
Definition:
itkGPUCompositeTransform.h:61
itk::GPUCompositeTransform::TransformTypePointer
typename GPUSuperclass::TransformTypePointer TransformTypePointer
Definition:
itkGPUCompositeTransform.h:60
itk::GPUCompositeTransform::CPUSuperclass
TParentTransform CPUSuperclass
Definition:
itkGPUCompositeTransform.h:47
itk::GPUCompositeTransform::GetNumberOfTransforms
virtual SizeValueType GetNumberOfTransforms() const
Definition:
itkGPUCompositeTransform.h:65
itk::GPUCompositeTransform::ConstPointer
SmartPointer< const Self > ConstPointer
Definition:
itkGPUCompositeTransform.h:50
itkGPUCompositeTransformBase.h
itk
Definition:
itkAdvancedImageToImageMetric.h:44
Generated on Wed 12 Apr 2023 for elastix by
1.9.6