Home
|
Main Page
|
Modules
|
Namespace List
|
Class Hierarchy
|
Alphabetical List
|
Data Structures
|
File List
|
Namespace Members
|
Data Fields
|
Globals
|
Related Pages
Src
E
elastix
Common
OpenCL
ITKimprovements
itkGPUFunctorBase.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
/*=========================================================================
19
*
20
* Copyright Insight Software Consortium
21
*
22
* Licensed under the Apache License, Version 2.0 (the "License");
23
* you may not use this file except in compliance with the License.
24
* You may obtain a copy of the License at
25
*
26
* http://www.apache.org/licenses/LICENSE-2.0.txt
27
*
28
* Unless required by applicable law or agreed to in writing, software
29
* distributed under the License is distributed on an "AS IS" BASIS,
30
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
31
* See the License for the specific language governing permissions and
32
* limitations under the License.
33
*
34
*=========================================================================*/
35
#ifndef itkGPUFunctorBase_h
36
#define itkGPUFunctorBase_h
37
38
#include "
itkOpenCLKernelManager.h
"
39
40
namespace
itk
41
{
42
namespace
Functor
43
{
50
class
GPUFunctorBase
51
{
52
public
:
53
// constructor
54
GPUFunctorBase
() =
default
;
55
56
// destructor
57
virtual
~GPUFunctorBase
() =
default
;
58
61
virtual
int
62
SetGPUKernelArguments
(
OpenCLKernelManager::Pointer
KernelManager,
int
KernelHandle) = 0;
63
};
64
65
}
// end of namespace Functor
66
}
// end of namespace itk
67
68
#endif
SmartPointer< Self >
itk::Functor::GPUFunctorBase
Base functor class for GPU functor image filters.
Definition
itkGPUFunctorBase.h:51
itk::Functor::GPUFunctorBase::GPUFunctorBase
GPUFunctorBase()=default
itk::Functor::GPUFunctorBase::~GPUFunctorBase
virtual ~GPUFunctorBase()=default
itk::Functor::GPUFunctorBase::SetGPUKernelArguments
virtual int SetGPUKernelArguments(OpenCLKernelManager::Pointer KernelManager, int KernelHandle)=0
itkOpenCLKernelManager.h
itk
Definition
itkAdvancedImageToImageMetric.h:43
Generated on 2024-07-17 for elastix by
1.11.0 (9b424b03c9833626cd435af22a444888fbbb192d)