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

Generated on 1768596610 for elastix by 1.15.0 |