28 #ifndef itkInPlaceLabelMapFilter_h
29 #define itkInPlaceLabelMapFilter_h
82 template <
typename TInputImage>
101 using typename Superclass::OutputImageType;
102 using typename Superclass::OutputImagePointer;
103 using typename Superclass::OutputImageRegionType;
104 using typename Superclass::OutputImagePixelType;
121 static constexpr
unsigned int InputImageDimension = TInputImage::ImageDimension;
122 static constexpr
unsigned int OutputImageDimension = TOutputImage::ImageDimension;
126 itkSetMacro(InPlace,
bool);
127 itkGetMacro(InPlace,
bool);
128 itkBooleanMacro(InPlace);
152 PrintSelf(std::ostream & os,
Indent indent)
const override;
167 AllocateOutputs()
override;
176 return this->GetOutput();
180 bool m_InPlace{
true };
184 #ifndef ITK_MANUAL_INSTANTIATION
185 # include "itkInPlaceLabelMapFilter.hxx"