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

Generated on 1768596610 for elastix by 1.15.0 |