go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkGPUEuler2DTransformFactory.h
Go to the documentation of this file.
1/*=========================================================================
2 *
3 * Copyright UMC Utrecht and contributors
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0.txt
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 *
17 *=========================================================================*/
18#ifndef __itkGPUEuler2DTransformFactory_h
19#define __itkGPUEuler2DTransformFactory_h
20
23
24namespace itk
25{
36template< typename NDimensions >
38{
39public:
40
44 typedef SmartPointer< const Self > ConstPointer;
45
47 const char * GetDescription() const { return "A Factory for GPUEuler2DTransform"; }
48
51
54
56 static void RegisterOneFactory();
57
59 template< typename TType >
60 void operator()( void )
61 {
62 this->RegisterOverride(
63 typeid( Euler2DTransform< TType > ).name(),
64 typeid( GPUEuler2DTransform< TType > ).name(),
65 "GPU Euler2DTransform override", true,
66 CreateObjectFunction< GPUEuler2DTransform< TType > >::New()
67 );
68 }
69
70
71protected:
72
75
77 typedef typelist::MakeTypeList< float, double >::Type RealTypeList;
78
80 virtual void Register2D();
81
82private:
83
84 GPUEuler2DTransformFactory2( const Self & ); // purposely not implemented
85 void operator=( const Self & ); // purposely not implemented
86
87};
88
89} // end namespace itk
90
91#ifndef ITK_MANUAL_INSTANTIATION
92#include "itkGPUEuler2DTransformFactory.hxx"
93#endif
94
95#endif /* __itkGPUEuler2DTransformFactory_h */
GPUObjectFactoryBase< NDimensions > Superclass
typelist::MakeTypeList< float, double >::Type RealTypeList
GPUEuler2DTransformFactory2(const Self &)
GPU version of Euler2DTransform.
Base class for all GPU factory classes.


Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo