go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkGPUAffineTransformFactory.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 __itkGPUAffineTransformFactory_h
19 #define __itkGPUAffineTransformFactory_h
20 
22 #include "itkGPUAffineTransform.h"
23 
24 namespace itk
25 {
36 template< typename NDimensions >
37 class GPUAffineTransformFactory2 : public GPUObjectFactoryBase< NDimensions >
38 {
39 public:
40 
43  typedef SmartPointer< Self > Pointer;
44  typedef SmartPointer< const Self > ConstPointer;
45 
47  const char * GetDescription() const { return "A Factory for GPUAffineTransform"; }
48 
51 
54 
56  static void RegisterOneFactory();
57 
59  template< typename TType, unsigned int VImageDimension >
60  void operator()( void )
61  {
62  this->RegisterOverride(
65  "GPU AffineTransform override", true,
66  CreateObjectFunction< GPUAffineTransform< TType, VImageDimension > >::New()
67  );
68  }
69 
70 
71 protected:
72 
75 
77  typedef typelist::MakeTypeList< float, double >::Type RealTypeList;
78 
80  virtual void Register1D();
81 
83  virtual void Register2D();
84 
86  virtual void Register3D();
87 
88 private:
89 
90  GPUAffineTransformFactory2( const Self & ); // purposely not implemented
91  void operator=( const Self & ); // purposely not implemented
92 
93 };
94 
95 } // end namespace itk
96 
97 #ifndef ITK_MANUAL_INSTANTIATION
98 #include "itkGPUAffineTransformFactory.hxx"
99 #endif
100 
101 #endif /* __itkGPUAffineTransformFactory_h */
void operator=(const Self &)
GPUObjectFactoryBase< NDimensions > Superclass
typelist::MakeTypeList< float, double >::Type RealTypeList
GPUAffineTransformFactory2(const Self &)
GPU version of AffineTransform.
Base class for all GPU factory classes.


Generated on OURCE_DATE_EPOCH for elastix by doxygen 1.9.1 elastix logo