go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkGPUAdvancedBSplineDeformableTransform.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 __itkGPUAdvancedBSplineDeformableTransform_h
19 #define __itkGPUAdvancedBSplineDeformableTransform_h
20 
23 
24 namespace itk
25 {
37 template< typename TScalarType = float, unsigned int NDimensions = 3, unsigned int VSplineOrder = 3,
38 typename TParentTransform = AdvancedBSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder > >
40  public TParentTransform, public GPUBSplineBaseTransform< TScalarType, NDimensions >
41 {
42 public:
43 
48  TScalarType, NDimensions > GPUSuperclass;
50  typedef SmartPointer< const Self > ConstPointer;
51  typedef typename CPUSuperclass::ParametersType ParametersType;
52  typedef typename CPUSuperclass::ImagePointer ImagePointer;
53 
55  itkNewMacro( Self );
56 
58  itkStaticConstMacro( SpaceDimension, unsigned int, NDimensions );
59 
62 
64  void SetParameters( const ParametersType & parameters );
65 
67  void SetCoefficientImages( ImagePointer images[] );
68 
69 protected:
70 
73 
74  virtual void PrintSelf( std::ostream & os, Indent indent ) const ITK_OVERRIDE;
75 
76  void CopyCoefficientImagesToGPU( void );
77 
78 private:
79 
80  GPUAdvancedBSplineDeformableTransform( const Self & other ); // purposely not implemented
81  const Self & operator=( const Self & ); // purposely not implemented
82 
83 };
84 
85 } // end namespace itk
86 
87 #ifndef ITK_MANUAL_INSTANTIATION
88 #include "itkGPUAdvancedBSplineDeformableTransform.hxx"
89 #endif
90 
91 #endif /* __itkGPUAdvancedBSplineDeformableTransform_h */
const Self & operator=(const Self &)
GPU base class for the BSplineTransform.
itkStaticConstMacro(SpaceDimension, unsigned int, NDimensions)
GPU version of AdvancedBSplineDeformableTransform.
virtual void PrintSelf(std::ostream &os, Indent indent) const ITK_OVERRIDE
GPUBSplineBaseTransform< TScalarType, NDimensions > GPUSuperclass
void SetParameters(const ParametersType &parameters)
void SetCoefficientImages(ImagePointer images[])


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