go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkGPUObjectFactoryBase.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 itkGPUObjectFactoryBase_h
19#define itkGPUObjectFactoryBase_h
20
22
23// ITK includes
24#include "itkVersion.h"
25#include "itkObjectFactoryBase.h"
26
27namespace itk
28{
39template <typename NDimensions>
40class ITK_TEMPLATE_EXPORT GPUObjectFactoryBase : public ObjectFactoryBase
41{
42public:
44
46 using Superclass = ObjectFactoryBase;
47 using Pointer = SmartPointer<Self>;
48 using ConstPointer = SmartPointer<const Self>;
49
51 const char *
52 GetITKSourceVersion() const override
53 {
54 return ITK_SOURCE_VERSION;
55 }
56
58 itkTypeMacro(GPUObjectFactoryBase, ObjectFactoryBase);
59
61 itkStaticConstMacro(Support1D, bool, NDimensions::Support1D);
62 itkStaticConstMacro(Support2D, bool, NDimensions::Support2D);
63 itkStaticConstMacro(Support3D, bool, NDimensions::Support3D);
64
67 virtual void
69
70protected:
72 ~GPUObjectFactoryBase() override = default;
73
75 virtual void
77 {}
78
80 virtual void
82 {}
83
85 virtual void
87 {}
88};
89
90} // end namespace itk
91
92#ifndef ITK_MANUAL_INSTANTIATION
93# include "itkGPUObjectFactoryBase.hxx"
94#endif
95
96#endif // end #ifndef itkGPUObjectFactoryBase_h
Base class for all GPU factory classes.
const char * GetITKSourceVersion() const override
itkStaticConstMacro(Support1D, bool, NDimensions::Support1D)
itkStaticConstMacro(Support3D, bool, NDimensions::Support3D)
itkStaticConstMacro(Support2D, bool, NDimensions::Support2D)
virtual void RegisterAll()
~GPUObjectFactoryBase() override=default
SmartPointer< const Self > ConstPointer
ITK_DISALLOW_COPY_AND_MOVE(GPUObjectFactoryBase)


Generated on 2023-01-13 for elastix by doxygen 1.9.6 elastix logo