18 #ifndef itkImageDuplicator_h
19 #define itkImageDuplicator_h
53 template<
typename TInputImage >
78 static constexpr
unsigned int ImageDimension = ImageType::ImageDimension;
80 itkSetConstObjectMacro(InputImage,
ImageType);
97 #if !defined(ITK_LEGACY_REMOVE)
99 virtual ImageType * GetModifiableOutput() {
return this->m_DuplicateImage.GetPointer(); }
107 ~ImageDuplicator()
override =
default;
108 void PrintSelf(std::ostream & os, Indent indent)
const override;
117 #ifndef ITK_MANUAL_INSTANTIATION
118 #include "itkImageDuplicator.hxx"
ImagePointer m_DuplicateImage
typename TInputImage::PixelType PixelType
ModifiedTimeType m_InternalImageTime
typename TInputImage::IndexType IndexType
A helper class which creates an image which is perfect copy of the input image.
ImageConstPointer m_InputImage
ImageBaseType::IndexType IndexType
virtual ImageType * GetOutput()
unsigned long ModifiedTimeType
virtual const ImageType * GetOutput() const
typename TInputImage::ConstPointer ImageConstPointer
Base class for most ITK classes.
typename TInputImage::Pointer ImagePointer