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

Generated on 1768596610 for elastix by 1.15.0 |