18#ifndef itkGPUImageToImageFilter_h
19#define itkGPUImageToImageFilter_h
38template <
typename TInputImage,
39 typename TOutputImage,
40 typename TParentImageFilter = ImageToImageFilter<TInputImage, TOutputImage>>
59 using typename Superclass::OutputImageRegionType;
60 using typename Superclass::OutputImagePixelType;
70 static constexpr unsigned int InputImageDimension = TInputImage::ImageDimension;
71 static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension;
74 itkSetMacro(GPUEnabled,
bool);
75 itkGetConstMacro(GPUEnabled,
bool);
76 itkBooleanMacro(GPUEnabled);
108 bool m_GPUEnabled{
true };
113#ifndef ITK_MANUAL_INSTANTIATION
114# include "itkGPUImageToImageFilter.hxx"
Base class for all data objects in ITK.
class to abstract the behaviour of the GPU filters.
void GenerateData() override
void GraftOutput(DataObject *output) override
~GPUImageToImageFilter() override
virtual void GraftOutput(const DataObjectIdentifierType &key, typename itk::GPUTraits< TOutputImage >::Type *output)
void GraftOutput(const DataObjectIdentifierType &key, DataObject *output) override
void PrintSelf(std::ostream &os, Indent indent) const override
virtual void GraftOutput(typename itk::GPUTraits< TOutputImage >::Type *output)
virtual void GPUGenerateData()
Base class for all process objects that output image data.
Superclass::DataObjectIdentifierType DataObjectIdentifierType
TInputImage InputImageType
typename InputImageType::ConstPointer InputImageConstPointer
typename InputImageType::Pointer InputImagePointer
typename InputImageType::PixelType InputImagePixelType
typename InputImageType::RegionType InputImageRegionType
Control indentation during Print() invocation.
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
DataObject::DataObjectIdentifierType DataObjectIdentifierType
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
ImageBaseType::RegionType RegionType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....