18 #ifndef itkUnaryGeneratorImageFilter_h
19 #define itkUnaryGeneratorImageFilter_h
54 template<
typename TInputImage,
typename TOutputImage >
87 #if !defined( ITK_WRAPPING_PARSER )
92 void SetFunctor(
const std::function<ConstRefFunctionType> &f)
99 void SetFunctor(
const std::function<ValueFunctionType> &f)
135 template <
typename TFunctor>
143 #endif // !defined( ITK_WRAPPING_PARSER )
169 template <
typename TFunctor>
179 #ifndef ITK_MANUAL_INSTANTIATION
180 #include "itkUnaryGeneratorImageFilter.hxx"
typename OutputImageType::Pointer OutputImagePointer
~UnaryGeneratorImageFilter() override=default
void SetFunctor(ConstRefFunctionType *funcPointer)
UnaryGeneratorImageFilter()
void SetFunctor(const std::function< ValueFunctionType > &f)
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
typename OutputImageType::RegionType OutputImageRegionType
Base class for all process objects that output image data.
void SetFunctor(const TFunctor &functor)
void SetFunctor(const std::function< ConstRefFunctionType > &f)
TInputImage InputImageType
typename OutputImageType::PixelType OutputImagePixelType
typename InputImageType::PixelType InputImagePixelType
typename InputImageType::Pointer InputImagePointer
void GenerateOutputInformation() override
OutputImagePixelType(const InputImagePixelType &) ConstRefFunctionType
typename OutputImageType::RegionType OutputImageRegionType
TOutputImage OutputImageType
std::function< void(const OutputImageRegionType &)> m_DynamicThreadedGenerateDataFunction
virtual void Modified() const
OutputImagePixelType(InputImagePixelType) ValueFunctionType
void DynamicThreadedGenerateDataWithFunctor(const TFunctor &, const OutputImageRegionType &outputRegionForThread)
void DynamicThreadedGenerateData(const OutputImageRegionType &outputRegionForThread) override
typename InputImageType::RegionType InputImageRegionType
typename OutputImageType::PixelType OutputImagePixelType
void SetFunctor(ValueFunctionType *funcPointer)
Base class for filters that take an image as input and overwrite that image as the output...
ImageBaseType::RegionType RegionType
Implements pixel-wise generic "operation" on one image.