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