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
itkGPUAffineTransform.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 itkGPUAffineTransform_h
19
#define itkGPUAffineTransform_h
20
21
#include "itkAffineTransform.h"
22
#include "
itkGPUMatrixOffsetTransformBase.h
"
23
24
namespace
itk
25
{
37
template
<
typename
TScalarType
=
float
,
38
unsigned
int
NDimensions = 3,
39
typename
TParentTransform =
AffineTransform<TScalarType, NDimensions>
>
40
class
ITK_TEMPLATE_EXPORT
GPUAffineTransform
41
:
public
TParentTransform
42
,
public
GPUMatrixOffsetTransformBase
<TScalarType, NDimensions, NDimensions>
43
{
44
public
:
46
using
Self
=
GPUAffineTransform
;
47
using
CPUSuperclass
= TParentTransform;
48
using
GPUSuperclass
=
GPUMatrixOffsetTransformBase<TScalarType, NDimensions, NDimensions>
;
49
50
using
Pointer
= SmartPointer<Self>;
51
using
ConstPointer
= SmartPointer<const Self>;
52
54
itkNewMacro(
Self
);
55
57
itkTypeMacro(
GPUAffineTransform
,
CPUSuperclass
);
58
60
using
CPUMatrixType
=
typename
GPUSuperclass::CPUMatrixType
;
61
using
CPUInverseMatrixType
=
typename
GPUSuperclass::CPUInverseMatrixType
;
62
using
CPUOutputVectorType
=
typename
GPUSuperclass::CPUOutputVectorType
;
63
65
virtual
const
CPUMatrixType
&
66
GetCPUMatrix
()
const
67
{
68
return
this->GetMatrix();
69
}
70
72
virtual
const
CPUOutputVectorType &
73
GetCPUOffset
()
const
74
{
75
return
this->GetOffset();
76
}
77
78
protected
:
79
GPUAffineTransform
() {}
80
virtual
~GPUAffineTransform
() {}
81
82
private
:
83
GPUAffineTransform
(
const
Self
& other) =
delete
;
84
const
Self
&
85
operator=
(
const
Self
&) =
delete
;
86
};
87
88
}
// end namespace itk
89
90
#endif
/* itkGPUAffineTransform_h */
AffineTransform
SmartPointer< Self >
TScalarType
float
itk::GPUAffineTransform
GPU version of AffineTransform.
Definition:
itkGPUAffineTransform.h:43
itk::GPUAffineTransform::GetCPUMatrix
virtual const CPUMatrixType & GetCPUMatrix() const
Definition:
itkGPUAffineTransform.h:66
itk::GPUAffineTransform::CPUInverseMatrixType
typename GPUSuperclass::CPUInverseMatrixType CPUInverseMatrixType
Definition:
itkGPUAffineTransform.h:61
itk::GPUAffineTransform::GPUAffineTransform
GPUAffineTransform(const Self &other)=delete
itk::GPUAffineTransform::operator=
const Self & operator=(const Self &)=delete
itk::GPUAffineTransform::CPUSuperclass
TParentTransform CPUSuperclass
Definition:
itkGPUAffineTransform.h:47
itk::GPUAffineTransform::GPUAffineTransform
GPUAffineTransform()
Definition:
itkGPUAffineTransform.h:79
itk::GPUAffineTransform::CPUOutputVectorType
typename GPUSuperclass::CPUOutputVectorType CPUOutputVectorType
Definition:
itkGPUAffineTransform.h:62
itk::GPUAffineTransform::ConstPointer
SmartPointer< const Self > ConstPointer
Definition:
itkGPUAffineTransform.h:51
itk::GPUAffineTransform::GetCPUOffset
virtual const CPUOutputVectorType & GetCPUOffset() const
Definition:
itkGPUAffineTransform.h:73
itk::GPUAffineTransform::~GPUAffineTransform
virtual ~GPUAffineTransform()
Definition:
itkGPUAffineTransform.h:80
itk::GPUAffineTransform::CPUMatrixType
typename GPUSuperclass::CPUMatrixType CPUMatrixType
Definition:
itkGPUAffineTransform.h:60
itk::GPUMatrixOffsetTransformBase
Base version of the GPU MatrixOffsetTransform.
Definition:
itkGPUMatrixOffsetTransformBase.h:45
itk::GPUMatrixOffsetTransformBase::CPUInverseMatrixType
Matrix< TScalarType, Self::InputSpaceDimension, Self::OutputSpaceDimension > CPUInverseMatrixType
Definition:
itkGPUMatrixOffsetTransformBase.h:71
itk::GPUMatrixOffsetTransformBase::CPUMatrixType
Matrix< TScalarType, Self::OutputSpaceDimension, Self::InputSpaceDimension > CPUMatrixType
Definition:
itkGPUMatrixOffsetTransformBase.h:70
itk::GPUMatrixOffsetTransformBase::CPUOutputVectorType
Vector< TScalarType, Self::OutputSpaceDimension > CPUOutputVectorType
Definition:
itkGPUMatrixOffsetTransformBase.h:72
itkGPUMatrixOffsetTransformBase.h
itk
Definition:
itkAdvancedImageToImageMetric.h:44
Generated on 2023-01-13 for elastix by
1.9.6