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