28#ifndef itkInPlaceImageFilter_h
29#define itkInPlaceImageFilter_h
76template <
typename TInputImage,
typename TOutputImage = TInputImage>
113 itkSetMacro(InPlace,
bool);
114 itkGetConstMacro(InPlace,
bool);
115 itkBooleanMacro(InPlace);
151 if (std::is_same_v<TInputImage, TOutputImage>)
179 itkGetConstMacro(RunningInPlace,
bool);
190#ifndef ITK_MANUAL_INSTANTIATION
191# include "itkInPlaceImageFilter.hxx"
virtual void AllocateOutputs()
TOutputImage OutputImageType
typename OutputImageType::Pointer OutputImagePointer
typename OutputImageType::PixelType OutputImagePixelType
typename OutputImageType::RegionType OutputImageRegionType
~InPlaceImageFilter() override=default
typename InputImageType::Pointer InputImagePointer
void InternalAllocateOutputs()
static constexpr unsigned int OutputImageDimension
virtual bool CanRunInPlace() const
void PrintSelf(std::ostream &os, Indent indent) const override
void AllocateOutputs() override
typename InputImageType::ConstPointer InputImageConstPointer
SmartPointer< Self > Pointer
typename InputImageType::PixelType InputImagePixelType
void ReleaseInputs() override
SmartPointer< const Self > ConstPointer
ImageToImageFilter< TInputImage, TOutputImage > Superclass
TInputImage InputImageType
static constexpr unsigned int InputImageDimension
InPlaceImageFilter()=default
typename InputImageType::RegionType InputImageRegionType
Control indentation during Print() invocation.
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....