18#ifndef itkBinaryGeneratorImageFilter_h
19#define itkBinaryGeneratorImageFilter_h
55template <
typename TInputImage1,
typename TInputImage2,
typename TOutputImage>
132 const Input2ImagePixelType &
141 virtual const Input2ImagePixelType &
144#if !defined(ITK_WRAPPING_PARSER)
204 template <
typename TFunctor>
242 template <
typename TFunctor>
264#ifndef ITK_MANUAL_INSTANTIATION
265# include "itkBinaryGeneratorImageFilter.hxx"
typename Input2ImageType::PixelType Input2ImagePixelType
OutputImagePixelType(Input1ImagePixelType, Input2ImagePixelType) ValueFunctionType
BinaryGeneratorImageFilter()
std::function< void(const OutputImageRegionType &)> m_DynamicThreadedGenerateDataFunction
TInputImage2 Input2ImageType
virtual const Input2ImagePixelType & GetConstant2() const
virtual void SetInput1(const DecoratedInput1ImagePixelType *input1)
typename Input1ImageType::ConstPointer Input1ImagePointer
OutputImagePixelType(*)(const Input1ImagePixelType &, const Input2ImagePixelType &) FunctionType
SimpleDataObjectDecorator< Input2ImagePixelType > DecoratedInput2ImagePixelType
void DynamicThreadedGenerateData(const OutputImageRegionType &outputRegionForThread) override
void SetConstant(Input2ImagePixelType ct)
static constexpr unsigned int OutputImageDimension
void DynamicThreadedGenerateDataWithFunctor(const TFunctor &, const OutputImageRegionType &outputRegionForThread)
static constexpr unsigned int InputImage2Dimension
typename Input2ImageType::ConstPointer Input2ImagePointer
typename OutputImageType::PixelType OutputImagePixelType
virtual void SetInput2(const DecoratedInput2ImagePixelType *input2)
SmartPointer< const Self > ConstPointer
static constexpr unsigned int InputImage1Dimension
virtual void SetConstant1(const Input1ImagePixelType &input1)
void AfterThreadedGenerateData() override
virtual void SetInput2(const TInputImage2 *image2)
void SetFunctor(const TFunctor &functor)
~BinaryGeneratorImageFilter() override=default
virtual void SetConstant2(const Input2ImagePixelType &input2)
virtual void SetInput1(const Input1ImagePixelType &input1)
typename Input1ImageType::RegionType Input1ImageRegionType
virtual const Input1ImagePixelType & GetConstant1() const
TOutputImage OutputImageType
void SetFunctor(ValueFunctionType *funcPointer)
void SetFunctor(const std::function< ValueFunctionType > &f)
void GenerateOutputInformation() override
SmartPointer< Self > Pointer
TInputImage1 Input1ImageType
InPlaceImageFilter< TInputImage1, TOutputImage > Superclass
BinaryGeneratorImageFilter Self
typename OutputImageType::RegionType OutputImageRegionType
typename OutputImageType::Pointer OutputImagePointer
SimpleDataObjectDecorator< Input1ImagePixelType > DecoratedInput1ImagePixelType
OutputImagePixelType(const Input1ImagePixelType &, const Input2ImagePixelType &) ConstRefFunctionType
virtual void SetInput2(const Input2ImagePixelType &input2)
typename Input1ImageType::PixelType Input1ImagePixelType
typename Input2ImageType::RegionType Input2ImageRegionType
void SetFunctor(const std::function< ConstRefFunctionType > &f)
virtual void SetInput1(const TInputImage1 *image1)
const Input2ImagePixelType & GetConstant() const
void SetFunctor(ConstRefFunctionType *funcPointer)
InPlaceImageFilter()=default
virtual void Modified() const
void UpdateProgress(float progress)
Update the progress of the process object.
Decorates any "simple" data type (data types without smart pointers) with a DataObject API.
Implements transparent reference counting.
#define itkConceptMacro(name, concept)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....