Loading...
Searching...
No Matches
itkGPULinearInterpolateImageFunction.h
Go to the documentation of this file.
/*=========================================================================
*
* Copyright UMC Utrecht and contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0.txt
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*=========================================================================*/
#ifndef itkGPULinearInterpolateImageFunction_h
#define itkGPULinearInterpolateImageFunction_h
#include "itkLinearInterpolateImageFunction.h"
#include "itkVersion.h"
#include "itkGPUInterpolateImageFunction.h"
#include "itkGPUImage.h"
namespace itk
{
itkGPUKernelClassMacro(GPULinearInterpolateImageFunctionKernel);
template <typename TInputImage, typename TCoordRep = float>
class ITK_EXPORT GPULinearInterpolateImageFunction
: public GPUInterpolateImageFunction<TInputImage, TCoordRep, LinearInterpolateImageFunction<TInputImage, TCoordRep>>
{
public:
ITK_DISALLOW_COPY_AND_MOVE(GPULinearInterpolateImageFunction);
using Self = GPULinearInterpolateImageFunction;
using CPUSuperclass = LinearInterpolateImageFunction<TInputImage, TCoordRep>;
using GPUSuperclass = GPUInterpolateImageFunction<TInputImage, TCoordRep, CPUSuperclass>;
using Pointer = SmartPointer<Self>;
using ConstPointer = SmartPointer<const Self>;
itkNewMacro(Self);
itkTypeMacro(GPULinearInterpolateImageFunction, GPUSuperclass);
protected:
GPULinearInterpolateImageFunction();
~GPULinearInterpolateImageFunction() override = default;
void
PrintSelf(std::ostream & os, Indent indent) const override;
bool
GetSourceCode(std::string & source) const override;
private:
std::vector<std::string> m_Sources{};
};
} // end namespace itk
#ifndef ITK_MANUAL_INSTANTIATION
# include "itkGPULinearInterpolateImageFunction.hxx"
#endif
#endif /* itkGPULinearInterpolateImageFunction_h */
itk::GPUInterpolateImageFunction< TInputImage, float, LinearInterpolateImageFunction< TInputImage, float > >::GPUInterpolateImageFunction
GPUInterpolateImageFunction()
itk::GPULinearInterpolateImageFunction::GetSourceCode
bool GetSourceCode(std::string &source) const override
itk::GPULinearInterpolateImageFunction::CPUSuperclass
LinearInterpolateImageFunction< TInputImage, TCoordRep > CPUSuperclass
Definition itkGPULinearInterpolateImageFunction.h:52
itk::GPULinearInterpolateImageFunction::GPUSuperclass
GPUInterpolateImageFunction< TInputImage, TCoordRep, CPUSuperclass > GPUSuperclass
Definition itkGPULinearInterpolateImageFunction.h:53
itk::GPULinearInterpolateImageFunction::ConstPointer
SmartPointer< const Self > ConstPointer
Definition itkGPULinearInterpolateImageFunction.h:55
itk::GPULinearInterpolateImageFunction::Self
GPULinearInterpolateImageFunction Self
Definition itkGPULinearInterpolateImageFunction.h:51
itk::GPULinearInterpolateImageFunction::GPULinearInterpolateImageFunction
GPULinearInterpolateImageFunction()
itk::GPULinearInterpolateImageFunction::~GPULinearInterpolateImageFunction
~GPULinearInterpolateImageFunction() override=default
itk::GPULinearInterpolateImageFunction::Pointer
SmartPointer< Self > Pointer
Definition itkGPULinearInterpolateImageFunction.h:54
itk::GPULinearInterpolateImageFunction::PrintSelf
void PrintSelf(std::ostream &os, Indent indent) const override
itk::GPULinearInterpolateImageFunction::m_Sources
std::vector< std::string > m_Sources
Definition itkGPULinearInterpolateImageFunction.h:75
itk::GPULinearInterpolateImageFunction::ITK_DISALLOW_COPY_AND_MOVE
ITK_DISALLOW_COPY_AND_MOVE(GPULinearInterpolateImageFunction)
itkGPUImage.h
itkGPUInterpolateImageFunction.h
itk
Definition itkAdvancedImageToImageMetric.h:43
itk::itkGPUKernelClassMacro
itkGPUKernelClassMacro(GPUBSplineTransformKernel)

Generated on 1768596610 for elastix by 1.15.0 |