18#ifndef itkUnaryGeneratorImageFilter_h
19#define itkUnaryGeneratorImageFilter_h
53template <
typename TInputImage,
typename TOutputImage>
85#if !defined(ITK_WRAPPING_PARSER)
92 SetFunctor(
const std::function<ConstRefFunctionType> & f)
145 template <
typename TFunctor>
184 template <
typename TFunctor>
195#ifndef ITK_MANUAL_INSTANTIATION
196# include "itkUnaryGeneratorImageFilter.hxx"
InPlaceImageFilter()=default
virtual void Modified() const
Implements transparent reference counting.
UnaryGeneratorImageFilter()
UnaryGeneratorImageFilter Self
OutputImagePixelType(InputImagePixelType) ValueFunctionType
void SetFunctor(const TFunctor &functor)
~UnaryGeneratorImageFilter() override=default
typename OutputImageType::RegionType OutputImageRegionType
typename InputImageType::ConstPointer InputImagePointer
void SetFunctor(ConstRefFunctionType *funcPointer)
typename OutputImageType::Pointer OutputImagePointer
void DynamicThreadedGenerateData(const OutputImageRegionType &outputRegionForThread) override
OutputImagePixelType(const InputImagePixelType &) ConstRefFunctionType
void GenerateOutputInformation() override
void SetFunctor(ValueFunctionType *funcPointer)
SmartPointer< Self > Pointer
void SetFunctor(const std::function< ConstRefFunctionType > &f)
SmartPointer< const Self > ConstPointer
TOutputImage OutputImageType
TInputImage InputImageType
typename InputImageType::RegionType InputImageRegionType
InPlaceImageFilter< TInputImage, TOutputImage > Superclass
std::function< void(const OutputImageRegionType &)> m_DynamicThreadedGenerateDataFunction
void SetFunctor(const std::function< ValueFunctionType > &f)
void DynamicThreadedGenerateDataWithFunctor(const TFunctor &, const OutputImageRegionType &outputRegionForThread)
typename OutputImageType::PixelType OutputImagePixelType
typename InputImageType::PixelType InputImagePixelType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....