go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkGPUAdvancedBSplineDeformableTransformFactory.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 __itkGPUAdvancedBSplineDeformableTransformFactory_h
19 #define __itkGPUAdvancedBSplineDeformableTransformFactory_h
20 
23 
24 namespace itk
25 {
36 template< typename NDimensions >
38 {
39 public:
40 
44  typedef SmartPointer< const Self > ConstPointer;
45 
47  const char * GetDescription() const { return "A Factory for GPUAdvancedBSplineDeformableTransform"; }
48 
50  itkFactorylessNewMacro( Self );
51 
54 
56  static void RegisterOneFactory();
57 
59  template< typename TType, unsigned int VImageDimension >
60  void operator()( void )
61  {
62  // Override for spline order equal 1
63  this->RegisterOverride(
66  "GPU AdvancedBSplineDeformableTransform override, spline order 1", true,
68  );
69 
70  // Override for spline order equal 2
71  this->RegisterOverride(
74  "GPU AdvancedBSplineDeformableTransform override, spline order 2", true,
76  );
77 
78  // Override for spline order equal 3
79  this->RegisterOverride(
82  "GPU AdvancedBSplineDeformableTransform override, spline order 3", true,
84  );
85  }
86 
87 
88 protected:
89 
92 
95 
97  virtual void Register1D();
98 
100  virtual void Register2D();
101 
103  virtual void Register3D();
104 
105 private:
106 
107  GPUAdvancedBSplineDeformableTransformFactory2( const Self & ); // purposely not implemented
108  void operator=( const Self & ); // purposely not implemented
109 
110 };
111 
112 } // end namespace itk
113 
114 #ifndef ITK_MANUAL_INSTANTIATION
115 #include "itkGPUAdvancedBSplineDeformableTransformFactory.hxx"
116 #endif
117 
118 #endif /* __itkGPUAdvancedBSplineDeformableTransformFactory_h */
Deformable transform using a B-spline representation.
The building block of typelists of any length.
Definition: TypeList.h:82
GPU version of AdvancedBSplineDeformableTransform.
Base class for all GPU factory classes.


Generated on 04-09-2015 for elastix by doxygen 1.8.9.1 elastix logo