go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkGPUBSplineInterpolateImageFunction.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 __itkGPUBSplineInterpolateImageFunction_h
19 #define __itkGPUBSplineInterpolateImageFunction_h
20 
22 #include "itkGPUDataManager.h"
23 #include "itkGPUImage.h"
24 
25 #include "itkBSplineInterpolateImageFunction.h"
26 #include "itkVersion.h"
27 
28 namespace itk
29 {
31 itkGPUKernelClassMacro( GPUBSplineInterpolateImageFunctionKernel );
32 
44 template< typename TInputImage, typename TCoordRep = float, typename TCoefficientType = float >
46  public GPUInterpolateImageFunction< TInputImage, TCoordRep,
47  BSplineInterpolateImageFunction< TInputImage, TCoordRep,
48  TCoefficientType > >
49 {
50 public:
51 
55  TInputImage, TCoordRep, BSplineInterpolateImageFunction<
56  TInputImage, TCoordRep, TCoefficientType > > GPUSuperclass;
57  typedef BSplineInterpolateImageFunction<
58  TInputImage, TCoordRep, BSplineInterpolateImageFunction<
59  TInputImage, TCoordRep, TCoefficientType > > CPUSuperclass;
62  typedef SmartPointer< const Self > ConstPointer;
63 
66 
68  itkNewMacro( Self );
69 
71  itkStaticConstMacro( InputImageDimension, unsigned int,
72  TInputImage::ImageDimension );
73 
77 
79  virtual void SetInputImage( const TInputImage * inputData );
80 
83 
86 
87 protected:
88 
91  virtual void PrintSelf( std::ostream & os, Indent indent ) const ITK_OVERRIDE;
92 
95  virtual bool GetSourceCode( std::string & source ) const ITK_OVERRIDE;
96 
97 private:
98 
99  GPUBSplineInterpolateImageFunction( const Self & ); // purposely not implemented
100  void operator=( const Self & ); // purposely not implemented
101 
104 
105  std::vector< std::string > m_Sources;
106 };
107 
108 } // end namespace itk
109 
110 #ifndef ITK_MANUAL_INSTANTIATION
111 #include "itkGPUBSplineInterpolateImageFunction.hxx"
112 #endif
113 
114 #endif /* __itkGPUBSplineInterpolateImageFunction_h */
itk::GPUBSplineInterpolateImageFunction::GPUBSplineInterpolateImageFunction
GPUBSplineInterpolateImageFunction(const Self &)
itk::GPUBSplineInterpolateImageFunction::CPUSuperclass
BSplineInterpolateImageFunction< TInputImage, TCoordRep, BSplineInterpolateImageFunction< TInputImage, TCoordRep, TCoefficientType > > CPUSuperclass
Definition: itkGPUBSplineInterpolateImageFunction.h:59
itk::GPUImage
Templated n-dimensional image class for the GPU.
Definition: itkGPUImage.h:64
SmartPointer< Self >
itk::GPUBSplineInterpolateImageFunction::m_Sources
std::vector< std::string > m_Sources
Definition: itkGPUBSplineInterpolateImageFunction.h:105
itk::GPUBSplineInterpolateImageFunction::GPUBSplineInterpolateImageFunction
GPUBSplineInterpolateImageFunction()
itk::GPUBSplineInterpolateImageFunction::itkStaticConstMacro
itkStaticConstMacro(InputImageDimension, unsigned int, TInputImage::ImageDimension)
itk::GPUBSplineInterpolateImageFunction::GPUDataManagerPointer
GPUDataManager::Pointer GPUDataManagerPointer
Definition: itkGPUBSplineInterpolateImageFunction.h:76
itk::GPUBSplineInterpolateImageFunction::GPUCoefficientImagePointer
GPUCoefficientImageType::Pointer GPUCoefficientImagePointer
Definition: itkGPUBSplineInterpolateImageFunction.h:75
itk::GPUBSplineInterpolateImageFunction::GetSourceCode
virtual bool GetSourceCode(std::string &source) const ITK_OVERRIDE
itk::GPUBSplineInterpolateImageFunction::GPUCoefficientImageType
GPUImage< TCoefficientType, InputImageDimension > GPUCoefficientImageType
Definition: itkGPUBSplineInterpolateImageFunction.h:74
itk::GPUBSplineInterpolateImageFunction::GetGPUCoefficients
const GPUCoefficientImagePointer GetGPUCoefficients() const
itk::GPUBSplineInterpolateImageFunction::GetGPUCoefficientsImageBase
const GPUDataManagerPointer GetGPUCoefficientsImageBase() const
itk::GPUBSplineInterpolateImageFunction::m_GPUCoefficientsImageBase
GPUDataManagerPointer m_GPUCoefficientsImageBase
Definition: itkGPUBSplineInterpolateImageFunction.h:103
itk::GPUBSplineInterpolateImageFunction::Superclass
GPUSuperclass Superclass
Definition: itkGPUBSplineInterpolateImageFunction.h:60
itk::GPUBSplineInterpolateImageFunction
GPU version of BSplineInterpolateImageFunction.
Definition: itkGPUBSplineInterpolateImageFunction.h:49
itkGPUImage.h
itk::itkGPUKernelClassMacro
itkGPUKernelClassMacro(GPUBSplineTransformKernel)
itk::GPUInterpolateImageFunction
GPU version of InterpolateImageFunction.
Definition: itkGPUInterpolateImageFunction.h:41
itk::GPUBSplineInterpolateImageFunction::~GPUBSplineInterpolateImageFunction
~GPUBSplineInterpolateImageFunction()
Definition: itkGPUBSplineInterpolateImageFunction.h:90
itk::GPUBSplineInterpolateImageFunction::GPUSuperclass
GPUInterpolateImageFunction< TInputImage, TCoordRep, BSplineInterpolateImageFunction< TInputImage, TCoordRep, TCoefficientType > > GPUSuperclass
Definition: itkGPUBSplineInterpolateImageFunction.h:56
itk::GPUBSplineInterpolateImageFunction::Pointer
SmartPointer< Self > Pointer
Definition: itkGPUBSplineInterpolateImageFunction.h:61
itk::GPUBSplineInterpolateImageFunction::PrintSelf
virtual void PrintSelf(std::ostream &os, Indent indent) const ITK_OVERRIDE
itk
Definition: itkAdvancedImageToImageMetric.h:40
itk::GPUBSplineInterpolateImageFunction::SetInputImage
virtual void SetInputImage(const TInputImage *inputData)
itkGPUInterpolateImageFunction.h
itk::GPUBSplineInterpolateImageFunction::Self
GPUBSplineInterpolateImageFunction Self
Definition: itkGPUBSplineInterpolateImageFunction.h:53
itk::GPUBSplineInterpolateImageFunction::m_GPUCoefficients
GPUCoefficientImagePointer m_GPUCoefficients
Definition: itkGPUBSplineInterpolateImageFunction.h:102
itk::GPUBSplineInterpolateImageFunction::ConstPointer
SmartPointer< const Self > ConstPointer
Definition: itkGPUBSplineInterpolateImageFunction.h:62
itk::GPUBSplineInterpolateImageFunction::operator=
void operator=(const Self &)
itkGPUDataManager.h


Generated on OURCE_DATE_EPOCH for elastix by doxygen 1.8.18 elastix logo