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 GPUObjectFactoryBase : public ObjectFactoryBase
41{
42public:
43
45 typedef ObjectFactoryBase Superclass;
47 typedef SmartPointer< const Self > ConstPointer;
48
50 const char * GetITKSourceVersion() const override { return ITK_SOURCE_VERSION; }
51
53 itkTypeMacro( GPUObjectFactoryBase, ObjectFactoryBase );
54
56 itkStaticConstMacro( Support1D, bool, NDimensions::Support1D );
57 itkStaticConstMacro( Support2D, bool, NDimensions::Support2D );
58 itkStaticConstMacro( Support3D, bool, NDimensions::Support3D );
59
62 virtual void RegisterAll();
63
64protected:
65
68
70 virtual void Register1D() {}
71
73 virtual void Register2D() {}
74
76 virtual void Register3D() {}
77
78private:
79
80 GPUObjectFactoryBase( const Self & ); // purposely not implemented
81 void operator=( const Self & ); // purposely not implemented
82
83};
84
85} // end namespace itk
86
87#ifndef ITK_MANUAL_INSTANTIATION
88#include "itkGPUObjectFactoryBase.hxx"
89#endif
90
91#endif // end #ifndef __itkGPUObjectFactoryBase_h
Base class for all GPU factory classes.
GPUObjectFactoryBase(const Self &)
void operator=(const Self &)
const char * GetITKSourceVersion() const override
itkStaticConstMacro(Support1D, bool, NDimensions::Support1D)
itkStaticConstMacro(Support3D, bool, NDimensions::Support3D)
itkStaticConstMacro(Support2D, bool, NDimensions::Support2D)
SmartPointer< const Self > ConstPointer
virtual void RegisterAll()


Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo