Loading...
Searching...
No Matches
itkGPUIdentityTransformFactory.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 itkGPUIdentityTransformFactory_h
#define itkGPUIdentityTransformFactory_h
#include "itkGPUObjectFactoryBase.h"
#include "itkGPUIdentityTransform.h"
namespace itk
{
template <typename NDimensions>
class ITK_TEMPLATE_EXPORT GPUIdentityTransformFactory2 : public GPUObjectFactoryBase<NDimensions>
{
public:
ITK_DISALLOW_COPY_AND_MOVE(GPUIdentityTransformFactory2);
using Self = GPUIdentityTransformFactory2;
using Superclass = GPUObjectFactoryBase<NDimensions>;
using Pointer = SmartPointer<Self>;
using ConstPointer = SmartPointer<const Self>;
const char *
GetDescription() const override
{
return "A Factory for GPUIdentityTransform";
}
itkFactorylessNewMacro(Self);
itkTypeMacro(GPUIdentityTransformFactory2, GPUObjectFactoryBase);
static void
RegisterOneFactory();
template <typename TType, unsigned int VImageDimension>
void
operator()()
{
this->RegisterOverride(typeid(IdentityTransform<TType, VImageDimension>).name(),
typeid(GPUIdentityTransform<TType, VImageDimension>).name(),
"GPU IdentityTransform override",
true,
CreateObjectFunction<GPUIdentityTransform<TType, VImageDimension>>::New());
}
protected:
GPUIdentityTransformFactory2();
~GPUIdentityTransformFactory2() override = default;
using RealTypeList = typelist::MakeTypeList<float, double>::Type;
void
Register1D() override;
void
Register2D() override;
void
Register3D() override;
};
} // end namespace itk
#ifndef ITK_MANUAL_INSTANTIATION
# include "itkGPUIdentityTransformFactory.hxx"
#endif
#endif /* itkGPUIdentityTransformFactory_h */
IdentityTransform
itk::GPUIdentityTransformFactory2::Self
GPUIdentityTransformFactory2 Self
Definition itkGPUIdentityTransformFactory.h:42
itk::GPUIdentityTransformFactory2::itkFactorylessNewMacro
itkFactorylessNewMacro(Self)
itk::GPUIdentityTransformFactory2::ITK_DISALLOW_COPY_AND_MOVE
ITK_DISALLOW_COPY_AND_MOVE(GPUIdentityTransformFactory2)
itk::GPUIdentityTransformFactory2::~GPUIdentityTransformFactory2
~GPUIdentityTransformFactory2() override=default
itk::GPUIdentityTransformFactory2::operator()
void operator()()
Definition itkGPUIdentityTransformFactory.h:67
itk::GPUIdentityTransformFactory2::RegisterOneFactory
static void RegisterOneFactory()
itk::GPUIdentityTransformFactory2::ConstPointer
SmartPointer< const Self > ConstPointer
Definition itkGPUIdentityTransformFactory.h:45
itk::GPUIdentityTransformFactory2::Superclass
GPUObjectFactoryBase< NDimensions > Superclass
Definition itkGPUIdentityTransformFactory.h:43
itk::GPUIdentityTransformFactory2::Register3D
void Register3D() override
itk::GPUIdentityTransformFactory2::Register1D
void Register1D() override
itk::GPUIdentityTransformFactory2::Pointer
SmartPointer< Self > Pointer
Definition itkGPUIdentityTransformFactory.h:44
itk::GPUIdentityTransformFactory2::Register2D
void Register2D() override
itk::GPUIdentityTransformFactory2::GPUIdentityTransformFactory2
GPUIdentityTransformFactory2()
itk::GPUIdentityTransformFactory2::GetDescription
const char * GetDescription() const override
Definition itkGPUIdentityTransformFactory.h:49
itk::GPUIdentityTransformFactory2::RealTypeList
typelist::MakeTypeList< float, double >::Type RealTypeList
Definition itkGPUIdentityTransformFactory.h:82
itk::GPUIdentityTransform
GPU version of IdentityTransform.
Definition itkGPUIdentityTransform.h:48
itk::GPUObjectFactoryBase::GPUObjectFactoryBase
GPUObjectFactoryBase()=default
itkGPUIdentityTransform.h
itkGPUObjectFactoryBase.h
itk
Definition itkAdvancedImageToImageMetric.h:43

Generated on 1768596610 for elastix by 1.15.0 |