Loading...
Searching...
No Matches
itkGPUObjectFactoryBase.h
Go to the documentation of this file.
/*=========================================================================
*
* Copyright UMC Utrecht and contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0.txt
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*=========================================================================*/
#ifndef itkGPUObjectFactoryBase_h
#define itkGPUObjectFactoryBase_h
#include "itkGPUSupportedImages.h"
// ITK includes
#include "itkVersion.h"
#include "itkObjectFactoryBase.h"
namespace itk
{
template <typename NDimensions>
class ITK_TEMPLATE_EXPORT GPUObjectFactoryBase : public ObjectFactoryBase
{
public:
ITK_DISALLOW_COPY_AND_MOVE(GPUObjectFactoryBase);
using Self = GPUObjectFactoryBase;
using Superclass = ObjectFactoryBase;
using Pointer = SmartPointer<Self>;
using ConstPointer = SmartPointer<const Self>;
const char *
GetITKSourceVersion() const override
{
return ITK_SOURCE_VERSION;
}
itkTypeMacro(GPUObjectFactoryBase, ObjectFactoryBase);
itkStaticConstMacro(Support1D, bool, NDimensions::Support1D);
itkStaticConstMacro(Support2D, bool, NDimensions::Support2D);
itkStaticConstMacro(Support3D, bool, NDimensions::Support3D);
virtual void
RegisterAll();
protected:
GPUObjectFactoryBase() = default;
~GPUObjectFactoryBase() override = default;
virtual void
Register1D()
{}
virtual void
Register2D()
{}
virtual void
Register3D()
{}
};
} // end namespace itk
#ifndef ITK_MANUAL_INSTANTIATION
# include "itkGPUObjectFactoryBase.hxx"
#endif
#endif // end #ifndef itkGPUObjectFactoryBase_h
itk::GPUObjectFactoryBase::GPUObjectFactoryBase
GPUObjectFactoryBase()=default
itk::GPUObjectFactoryBase::Self
GPUObjectFactoryBase Self
Definition itkGPUObjectFactoryBase.h:45
itk::GPUObjectFactoryBase::Pointer
SmartPointer< Self > Pointer
Definition itkGPUObjectFactoryBase.h:47
itk::GPUObjectFactoryBase::GetITKSourceVersion
const char * GetITKSourceVersion() const override
Definition itkGPUObjectFactoryBase.h:52
itk::GPUObjectFactoryBase::Superclass
ObjectFactoryBase Superclass
Definition itkGPUObjectFactoryBase.h:46
itk::GPUObjectFactoryBase::Register2D
virtual void Register2D()
Definition itkGPUObjectFactoryBase.h:81
itk::GPUObjectFactoryBase::itkStaticConstMacro
itkStaticConstMacro(Support1D, bool, NDimensions::Support1D)
itk::GPUObjectFactoryBase::itkStaticConstMacro
itkStaticConstMacro(Support3D, bool, NDimensions::Support3D)
itk::GPUObjectFactoryBase::Register3D
virtual void Register3D()
Definition itkGPUObjectFactoryBase.h:86
itk::GPUObjectFactoryBase::itkStaticConstMacro
itkStaticConstMacro(Support2D, bool, NDimensions::Support2D)
itk::GPUObjectFactoryBase::RegisterAll
virtual void RegisterAll()
itk::GPUObjectFactoryBase::Register1D
virtual void Register1D()
Definition itkGPUObjectFactoryBase.h:76
itk::GPUObjectFactoryBase::~GPUObjectFactoryBase
~GPUObjectFactoryBase() override=default
itk::GPUObjectFactoryBase::ConstPointer
SmartPointer< const Self > ConstPointer
Definition itkGPUObjectFactoryBase.h:48
itk::GPUObjectFactoryBase::ITK_DISALLOW_COPY_AND_MOVE
ITK_DISALLOW_COPY_AND_MOVE(GPUObjectFactoryBase)
itkGPUSupportedImages.h
itk
Definition itkAdvancedImageToImageMetric.h:43

Generated on 1768596610 for elastix by 1.15.0 |