Home
|
Main Page
|
Modules
|
Namespace List
|
Class Hierarchy
|
Alphabetical List
|
Data Structures
|
File List
|
Namespace Members
|
Data Fields
|
Globals
|
Related Pages
Common
OpenCL
Filters
itkGPUIdentityTransform.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 __itkGPUIdentityTransform_h
19
#define __itkGPUIdentityTransform_h
20
21
#include "itkIdentityTransform.h"
22
#include "itkVersion.h"
23
24
#include "
itkGPUTransformBase.h
"
25
26
namespace
itk
27
{
29
itkGPUKernelClassMacro
( GPUIdentityTransformKernel );
30
42
template
<
typename
TScalarType
=
float
,
unsigned
int
NDimensions = 3,
43
typename
TParentTransform =
IdentityTransform< TScalarType, NDimensions >
>
44
class
GPUIdentityTransform
:
public
TParentTransform,
public
GPUTransformBase
45
{
46
public
:
47
49
typedef
GPUIdentityTransform
Self
;
50
typedef
TParentTransform
CPUSuperclass
;
51
typedef
GPUTransformBase
GPUSuperclass
;
52
typedef
SmartPointer< Self >
Pointer
;
53
typedef
SmartPointer< const Self >
ConstPointer
;
54
56
itkNewMacro(
Self
);
57
59
itkTypeMacro(
GPUIdentityTransform
, TParentTransform );
60
63
bool
IsIdentityTransform
(
void
)
const override
{
return
true
; }
64
65
protected
:
66
67
GPUIdentityTransform
();
68
~GPUIdentityTransform
()
override
{}
69
void
PrintSelf
( std::ostream & os, Indent indent )
const override
;
70
73
bool
GetSourceCode
( std::string & source )
const override
;
74
75
private
:
76
77
GPUIdentityTransform
(
const
Self
& other );
// purposely not implemented
78
const
Self
&
operator=
(
const
Self
& );
// purposely not implemented
79
80
std::vector< std::string >
m_Sources
;
81
};
82
83
}
// end namespace itk
84
85
#ifndef ITK_MANUAL_INSTANTIATION
86
#include "itkGPUIdentityTransform.hxx"
87
#endif
88
89
#endif
/* __itkGPUIdentityTransform_h */
IdentityTransform
SmartPointer< Self >
TScalarType
float
itk::GPUIdentityTransform
GPU version of IdentityTransform.
Definition:
itkGPUIdentityTransform.h:45
itk::GPUIdentityTransform::PrintSelf
void PrintSelf(std::ostream &os, Indent indent) const override
itk::GPUIdentityTransform::~GPUIdentityTransform
~GPUIdentityTransform() override
Definition:
itkGPUIdentityTransform.h:68
itk::GPUIdentityTransform::ConstPointer
SmartPointer< const Self > ConstPointer
Definition:
itkGPUIdentityTransform.h:53
itk::GPUIdentityTransform::m_Sources
std::vector< std::string > m_Sources
Definition:
itkGPUIdentityTransform.h:80
itk::GPUIdentityTransform::GPUIdentityTransform
GPUIdentityTransform()
itk::GPUIdentityTransform::IsIdentityTransform
bool IsIdentityTransform(void) const override
Definition:
itkGPUIdentityTransform.h:63
itk::GPUIdentityTransform::Self
GPUIdentityTransform Self
Definition:
itkGPUIdentityTransform.h:49
itk::GPUIdentityTransform::CPUSuperclass
TParentTransform CPUSuperclass
Definition:
itkGPUIdentityTransform.h:50
itk::GPUIdentityTransform::operator=
const Self & operator=(const Self &)
itk::GPUIdentityTransform::Pointer
SmartPointer< Self > Pointer
Definition:
itkGPUIdentityTransform.h:52
itk::GPUIdentityTransform::GPUSuperclass
GPUTransformBase GPUSuperclass
Definition:
itkGPUIdentityTransform.h:51
itk::GPUIdentityTransform::GetSourceCode
bool GetSourceCode(std::string &source) const override
itk::GPUIdentityTransform::GPUIdentityTransform
GPUIdentityTransform(const Self &other)
itk::GPUTransformBase
Base class for all GPU transforms.
Definition:
itkGPUTransformBase.h:37
itkGPUTransformBase.h
itk
Definition:
itkAdvancedImageToImageMetric.h:42
itk::itkGPUKernelClassMacro
itkGPUKernelClassMacro(GPUBSplineTransformKernel)
Generated on 1667476801 for elastix by
1.9.4