18 #ifndef itkImageDuplicator_h
19 #define itkImageDuplicator_h
53 template <
typename TInputImage>
78 static constexpr
unsigned int ImageDimension = ImageType::ImageDimension;
80 itkSetConstObjectMacro(InputImage,
ImageType);
96 return this->m_DuplicateImage.GetPointer();
101 return this->m_DuplicateImage.GetPointer();
105 #if !defined(ITK_LEGACY_REMOVE)
108 GetModifiableOutput()
110 return this->m_DuplicateImage.GetPointer();
119 ImageDuplicator() =
default;
120 ~ImageDuplicator()
override =
default;
122 PrintSelf(std::ostream & os, Indent indent)
const override;
131 #ifndef ITK_MANUAL_INSTANTIATION
132 # include "itkImageDuplicator.hxx"