go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkGPUInterpolateImageFunction.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 __itkGPUInterpolateImageFunction_h
19 #define __itkGPUInterpolateImageFunction_h
20 
21 #include "itkInterpolateImageFunction.h"
22 #include "itkGPUInterpolatorBase.h"
23 
24 namespace itk
25 {
37 template< typename TInputImage, typename TCoordRep = float, typename TParentInterpolateImageFunction
38  = InterpolateImageFunction< TInputImage, TCoordRep > >
39 class ITK_EXPORT GPUInterpolateImageFunction :
40  public TParentInterpolateImageFunction, public GPUInterpolatorBase
41 {
42 public:
43 
46  typedef TParentInterpolateImageFunction CPUSuperclass;
49  typedef SmartPointer< const Self > ConstPointer;
50 
52  itkTypeMacro( GPUInterpolateImageFunction, TParentInterpolateImageFunction );
53 
55  itkStaticConstMacro( InputImageDimension, unsigned int,
56  TInputImage::ImageDimension );
57 
59  typedef typename CPUSuperclass::InputImageType InputImageType;
60  typedef typename CPUSuperclass::ContinuousIndexType ContinuousIndexType;
61  typedef typename CPUSuperclass::CoordRepType CoordRepType;
62 
63 protected:
64 
67  virtual void PrintSelf( std::ostream & os, Indent indent ) const ITK_OVERRIDE;
68 
70  virtual GPUDataManager::Pointer GetParametersDataManager( void ) const ITK_OVERRIDE;
71 
72 private:
73 
74  GPUInterpolateImageFunction( const Self & ); // purposely not implemented
75  void operator=( const Self & ); // purposely not implemented
76 
77 };
78 
79 } // end namespace itk
80 
81 #ifndef ITK_MANUAL_INSTANTIATION
82 #include "itkGPUInterpolateImageFunction.hxx"
83 #endif
84 
85 #endif /* __itkGPUInterpolateImageFunction_h */
TParentInterpolateImageFunction CPUSuperclass
GPU version of InterpolateImageFunction.
CPUSuperclass::ContinuousIndexType ContinuousIndexType
CPUSuperclass::InputImageType InputImageType
Base class fro all GPU interpolators.


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