Home
|
Main Page
|
Modules
|
Namespace List
|
Class Hierarchy
|
Alphabetical List
|
Data Structures
|
File List
|
Namespace Members
|
Data Fields
|
Globals
|
Related Pages
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
,
38
typename
TParentTransform =
Similarity3DTransform< TScalarType >
>
39
class
GPUSimilarity3DTransform
:
40
public
TParentTransform,
41
public
GPUMatrixOffsetTransformBase
< TScalarType, 3, 3 >
42
{
43
public
:
44
46
typedef
GPUSimilarity3DTransform
Self
;
47
typedef
TParentTransform
CPUSuperclass
;
48
typedef
GPUMatrixOffsetTransformBase< TScalarType, 3, 3 >
GPUSuperclass
;
49
typedef
SmartPointer< Self >
Pointer
;
50
typedef
SmartPointer< const Self >
ConstPointer
;
51
53
itkNewMacro(
Self
);
54
56
itkTypeMacro(
GPUSimilarity3DTransform
,
CPUSuperclass
);
57
59
typedef
typename
GPUSuperclass::CPUMatrixType
CPUMatrixType
;
60
typedef
typename
GPUSuperclass::CPUInverseMatrixType
CPUInverseMatrixType
;
61
typedef
typename
GPUSuperclass::CPUOutputVectorType
CPUOutputVectorType
;
62
64
virtual
const
CPUMatrixType
&
GetCPUMatrix
(
void
)
const
{
return
this->GetMatrix(); }
65
67
virtual
const
CPUInverseMatrixType
&
GetCPUInverseMatrix
(
void
)
const
{
return
this->GetInverseMatrix(); }
68
70
virtual
const
CPUOutputVectorType
&
GetCPUOffset
(
void
)
const
{
return
this->GetOffset(); }
71
72
protected
:
73
74
GPUSimilarity3DTransform
() {}
75
76
virtual
~GPUSimilarity3DTransform
() {}
77
78
private
:
79
80
GPUSimilarity3DTransform
(
const
Self
& other );
// purposely not implemented
81
const
Self
&
operator=
(
const
Self
& );
// purposely not implemented
82
83
};
84
85
}
// end namespace itk
86
87
#endif
/* __itkGPUSimilarity3DTransform_h */
Similarity3DTransform
SmartPointer< Self >
TScalarType
float
itk::GPUMatrixOffsetTransformBase
Base version of the GPU MatrixOffsetTransform.
Definition:
itkGPUMatrixOffsetTransformBase.h:46
itk::GPUMatrixOffsetTransformBase::CPUInverseMatrixType
Matrix< TScalarType, itkGetStaticConstMacro(InputSpaceDimension), itkGetStaticConstMacro(OutputSpaceDimension) > CPUInverseMatrixType
Definition:
itkGPUMatrixOffsetTransformBase.h:71
itk::GPUMatrixOffsetTransformBase::CPUOutputVectorType
Vector< TScalarType, itkGetStaticConstMacro(OutputSpaceDimension) > CPUOutputVectorType
Definition:
itkGPUMatrixOffsetTransformBase.h:73
itk::GPUMatrixOffsetTransformBase::CPUMatrixType
Matrix< TScalarType, itkGetStaticConstMacro(OutputSpaceDimension), itkGetStaticConstMacro(InputSpaceDimension) > CPUMatrixType
Definition:
itkGPUMatrixOffsetTransformBase.h:69
itk::GPUSimilarity3DTransform
GPU version of Similarity3DTransform.
Definition:
itkGPUSimilarity3DTransform.h:42
itk::GPUSimilarity3DTransform::Pointer
SmartPointer< Self > Pointer
Definition:
itkGPUSimilarity3DTransform.h:49
itk::GPUSimilarity3DTransform::GetCPUOffset
virtual const CPUOutputVectorType & GetCPUOffset(void) const
Definition:
itkGPUSimilarity3DTransform.h:70
itk::GPUSimilarity3DTransform::CPUInverseMatrixType
GPUSuperclass::CPUInverseMatrixType CPUInverseMatrixType
Definition:
itkGPUSimilarity3DTransform.h:60
itk::GPUSimilarity3DTransform::GPUSuperclass
GPUMatrixOffsetTransformBase< TScalarType, 3, 3 > GPUSuperclass
Definition:
itkGPUSimilarity3DTransform.h:48
itk::GPUSimilarity3DTransform::~GPUSimilarity3DTransform
virtual ~GPUSimilarity3DTransform()
Definition:
itkGPUSimilarity3DTransform.h:76
itk::GPUSimilarity3DTransform::CPUMatrixType
GPUSuperclass::CPUMatrixType CPUMatrixType
Definition:
itkGPUSimilarity3DTransform.h:59
itk::GPUSimilarity3DTransform::operator=
const Self & operator=(const Self &)
itk::GPUSimilarity3DTransform::GetCPUInverseMatrix
virtual const CPUInverseMatrixType & GetCPUInverseMatrix(void) const
Definition:
itkGPUSimilarity3DTransform.h:67
itk::GPUSimilarity3DTransform::CPUSuperclass
TParentTransform CPUSuperclass
Definition:
itkGPUSimilarity3DTransform.h:47
itk::GPUSimilarity3DTransform::GPUSimilarity3DTransform
GPUSimilarity3DTransform(const Self &other)
itk::GPUSimilarity3DTransform::CPUOutputVectorType
GPUSuperclass::CPUOutputVectorType CPUOutputVectorType
Definition:
itkGPUSimilarity3DTransform.h:61
itk::GPUSimilarity3DTransform::GPUSimilarity3DTransform
GPUSimilarity3DTransform()
Definition:
itkGPUSimilarity3DTransform.h:74
itk::GPUSimilarity3DTransform::Self
GPUSimilarity3DTransform Self
Definition:
itkGPUSimilarity3DTransform.h:46
itk::GPUSimilarity3DTransform::GetCPUMatrix
virtual const CPUMatrixType & GetCPUMatrix(void) const
Definition:
itkGPUSimilarity3DTransform.h:64
itk::GPUSimilarity3DTransform::ConstPointer
SmartPointer< const Self > ConstPointer
Definition:
itkGPUSimilarity3DTransform.h:50
itkGPUMatrixOffsetTransformBase.h
itk
Definition:
itkAdvancedImageToImageMetric.h:42
Generated on 1667476801 for elastix by
1.9.4