15 #ifndef itkMIDASImageUpdatePasteRegionProcessor_h
16 #define itkMIDASImageUpdatePasteRegionProcessor_h
28 template <
class TPixel,
unsigned int VImageDimension>
54 itkSetObjectMacro(SourceImage, ImageType);
55 itkGetObjectMacro(SourceImage, ImageType);
58 itkSetMacro(SourceRegionOfInterest, RegionType);
59 itkGetMacro(SourceRegionOfInterest, RegionType);
62 void SetSourceRegionOfInterest(std::vector<int> ®ion);
65 itkSetMacro(CopyBackground,
bool);
66 itkGetMacro(CopyBackground,
bool);
70 void PrintSelf(std::ostream& os, Indent indent)
const;
74 virtual void ApplyUpdateToAfterImage();
78 void operator=(
const Self&);
80 ImagePointer m_SourceImage;
81 RegionType m_SourceRegionOfInterest;
83 bool m_CopyBackground;
88 #ifndef ITK_MANUAL_INSTANTIATION
89 #include "itkMIDASImageUpdatePasteRegionProcessor.txx"
Image< TPixel, VImageDimension > ImageType
Definition: itkMIDASImageUpdatePasteRegionProcessor.h:47
ImageType::SizeType SizeType
Definition: itkMIDASImageUpdatePasteRegionProcessor.h:50
ImageType::SizeType SizeType
Definition: niftkMakeLapUSProbeBasicModel.cxx:31
MIDASImageUpdatePasteRegionProcessor Self
Definition: itkMIDASImageUpdatePasteRegionProcessor.h:34
ImageType::IndexType IndexType
Definition: itkMIDASImageUpdatePasteRegionProcessor.h:49
SmartPointer< const Self > ConstPointer
Definition: itkMIDASImageUpdatePasteRegionProcessor.h:37
Definition: niftkITKAffineResampleImage.cxx:74
ImageType::IndexType IndexType
Definition: niftkMakeLapUSProbeBasicModel.cxx:32
Class to support undo/redo of a paste operation, within a given region, where we take non-zero pixels...
Definition: itkMIDASImageUpdatePasteRegionProcessor.h:29
virtual ~MIDASImageUpdatePasteRegionProcessor()
Definition: itkMIDASImageUpdatePasteRegionProcessor.h:71
SmartPointer< Self > Pointer
Definition: itkMIDASImageUpdatePasteRegionProcessor.h:36
ImageType::Pointer ImagePointer
Definition: itkMIDASImageUpdatePasteRegionProcessor.h:48
ImageType::RegionType RegionType
Definition: niftkMakeLapUSProbeBasicModel.cxx:30
MIDASImageUpdateRegionProcessor< TPixel, VImageDimension > Superclass
Definition: itkMIDASImageUpdatePasteRegionProcessor.h:35
TPixel PixelType
Definition: itkMIDASImageUpdatePasteRegionProcessor.h:43
ImageType::RegionType RegionType
Definition: itkMIDASImageUpdatePasteRegionProcessor.h:51
Provides methods to do Undo/Redo within a specific Region.
Definition: itkMIDASImageUpdateRegionProcessor.h:30