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