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

Generated on 1768596610 for elastix by 1.15.0 |