15 #ifndef itkMIDASImageUpdateRegionProcessor_h
16 #define itkMIDASImageUpdateRegionProcessor_h
19 #include <itkExtractImageFilter.h>
20 #include <itkPasteImageFilter.h>
29 template <
class TPixel,
unsigned int VImageDimension>
56 itkSetMacro(DestinationRegionOfInterest, RegionType);
57 itkGetMacro(DestinationRegionOfInterest, RegionType);
60 void SetDestinationRegionOfInterest(std::vector<int> ®ion);
70 void PrintSelf(std::ostream& os, Indent indent)
const;
74 itkGetObjectMacro(AfterImage, ImageType);
75 itkSetObjectMacro(AfterImage, ImageType);
78 virtual void ApplyUpdateToAfterImage() = 0;
80 virtual void ValidateInputs();
84 void operator=(
const Self&);
86 void CopyImageRegionToDestination(ImagePointer sourceImage);
88 bool m_UpdateCalculated;
89 RegionType m_DestinationRegionOfInterest;
90 ImagePointer m_BeforeImage;
91 ImagePointer m_AfterImage;
97 #ifndef ITK_MANUAL_INSTANTIATION
98 #include "itkMIDASImageUpdateRegionProcessor.txx"
virtual ~MIDASImageUpdateRegionProcessor()
Definition: itkMIDASImageUpdateRegionProcessor.h:71
itk::ExtractImageFilter< ImageType, ImageType > ExtractImageFilterType
Definition: itkMIDASImageUpdateRegionProcessor.h:50
Class that takes a pointer to a destination image, and applies changes directly to it and enablng und...
Definition: itkMIDASImageUpdateProcessor.h:36
ImageType::SizeType SizeType
Definition: niftkMakeLapUSProbeBasicModel.cxx:31
TPixel PixelType
Definition: itkMIDASImageUpdateRegionProcessor.h:41
SmartPointer< Self > Pointer
Definition: itkMIDASImageUpdateRegionProcessor.h:37
ExtractImageFilterType::Pointer ExtractImageFilterPointer
Definition: itkMIDASImageUpdateRegionProcessor.h:51
Image< TPixel, VImageDimension > ImageType
Definition: itkMIDASImageUpdateRegionProcessor.h:45
MIDASImageUpdateProcessor< TPixel, VImageDimension > Superclass
Definition: itkMIDASImageUpdateRegionProcessor.h:36
Definition: niftkITKAffineResampleImage.cxx:74
itk::PasteImageFilter< ImageType, ImageType > PasteImageFilterType
Definition: itkMIDASImageUpdateRegionProcessor.h:52
ImageType::IndexType IndexType
Definition: niftkMakeLapUSProbeBasicModel.cxx:32
MIDASImageUpdateRegionProcessor Self
Definition: itkMIDASImageUpdateRegionProcessor.h:35
SmartPointer< const Self > ConstPointer
Definition: itkMIDASImageUpdateRegionProcessor.h:38
ImageType::RegionType RegionType
Definition: niftkMakeLapUSProbeBasicModel.cxx:30
ImageType::RegionType RegionType
Definition: itkMIDASImageUpdateRegionProcessor.h:49
PasteImageFilterType::Pointer PasteImageFilterPointer
Definition: itkMIDASImageUpdateRegionProcessor.h:53
ImageType::Pointer ImagePointer
Definition: itkMIDASImageUpdateRegionProcessor.h:46
ImageType::IndexType IndexType
Definition: itkMIDASImageUpdateRegionProcessor.h:47
Provides methods to do Undo/Redo within a specific Region.
Definition: itkMIDASImageUpdateRegionProcessor.h:30
ImageType::SizeType SizeType
Definition: itkMIDASImageUpdateRegionProcessor.h:48