NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
|
Class to support undo/redo of a copy operation, within a given region. More...
Public Types | |
typedef MIDASImageUpdateCopyRegionProcessor | Self |
typedef MIDASImageUpdateRegionProcessor < TPixel, VImageDimension > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef TPixel | PixelType |
typedef Image< TPixel, VImageDimension > | ImageType |
typedef ImageType::Pointer | ImagePointer |
typedef ImageType::IndexType | IndexType |
typedef ImageType::SizeType | SizeType |
typedef ImageType::RegionType | RegionType |
typedef PasteImageFilter < ImageType, ImageType > | PasteImageFilterType |
typedef PasteImageFilterType::Pointer | PasteImagePointerType |
Public Types inherited from itk::MIDASImageUpdateRegionProcessor< TPixel, VImageDimension > | |
typedef MIDASImageUpdateRegionProcessor | Self |
typedef MIDASImageUpdateProcessor < TPixel, VImageDimension > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef TPixel | PixelType |
typedef Image< TPixel, VImageDimension > | ImageType |
typedef ImageType::Pointer | ImagePointer |
typedef ImageType::IndexType | IndexType |
typedef ImageType::SizeType | SizeType |
typedef ImageType::RegionType | RegionType |
typedef itk::ExtractImageFilter < ImageType, ImageType > | ExtractImageFilterType |
typedef ExtractImageFilterType::Pointer | ExtractImageFilterPointer |
typedef itk::PasteImageFilter < ImageType, ImageType > | PasteImageFilterType |
typedef PasteImageFilterType::Pointer | PasteImageFilterPointer |
Public Types inherited from itk::MIDASImageUpdateProcessor< TPixel, VImageDimension > | |
typedef MIDASImageUpdateProcessor | Self |
typedef Object | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef TPixel | PixelType |
typedef Image< TPixel, VImageDimension > | ImageType |
typedef ImageType::Pointer | ImagePointer |
typedef ImageType::IndexType | IndexType |
typedef ImageType::SizeType | SizeType |
typedef ImageType::RegionType | RegionType |
Public Member Functions | |
virtual const char * | GetClassName () const |
virtual void | SetSourceImage (ImageType *_arg) |
virtual ImageType * | GetSourceImage () |
virtual void | SetSourceRegionOfInterest (RegionType _arg) |
virtual RegionType | GetSourceRegionOfInterest () |
void | SetSourceRegionOfInterest (std::vector< int > ®ion) |
Public Member Functions inherited from itk::MIDASImageUpdateRegionProcessor< TPixel, VImageDimension > | |
virtual void | SetDestinationRegionOfInterest (RegionType _arg) |
virtual RegionType | GetDestinationRegionOfInterest () |
void | SetDestinationRegionOfInterest (std::vector< int > ®ion) |
virtual void | Undo () |
virtual void | Redo () |
Public Member Functions inherited from itk::MIDASImageUpdateProcessor< TPixel, VImageDimension > | |
itkStaticConstMacro (ImageDimension, unsigned int, VImageDimension) | |
virtual void | SetDestinationImage (ImageType *_arg) |
virtual ImageType * | GetDestinationImage () |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
MIDASImageUpdateCopyRegionProcessor () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
virtual | ~MIDASImageUpdateCopyRegionProcessor () |
virtual void | ApplyUpdateToAfterImage () |
Protected Member Functions inherited from itk::MIDASImageUpdateRegionProcessor< TPixel, VImageDimension > | |
MIDASImageUpdateRegionProcessor () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
virtual | ~MIDASImageUpdateRegionProcessor () |
virtual ImageType * | GetAfterImage () |
virtual void | SetAfterImage (ImageType *_arg) |
virtual void | ValidateInputs () |
Protected Member Functions inherited from itk::MIDASImageUpdateProcessor< TPixel, VImageDimension > | |
MIDASImageUpdateProcessor () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
virtual | ~MIDASImageUpdateProcessor () |
Class to support undo/redo of a copy operation, within a given region.
typedef SmartPointer<const Self> itk::MIDASImageUpdateCopyRegionProcessor< TPixel, VImageDimension >::ConstPointer |
typedef ImageType::Pointer itk::MIDASImageUpdateCopyRegionProcessor< TPixel, VImageDimension >::ImagePointer |
typedef Image<TPixel, VImageDimension> itk::MIDASImageUpdateCopyRegionProcessor< TPixel, VImageDimension >::ImageType |
typedef ImageType::IndexType itk::MIDASImageUpdateCopyRegionProcessor< TPixel, VImageDimension >::IndexType |
typedef PasteImageFilter<ImageType, ImageType> itk::MIDASImageUpdateCopyRegionProcessor< TPixel, VImageDimension >::PasteImageFilterType |
typedef PasteImageFilterType::Pointer itk::MIDASImageUpdateCopyRegionProcessor< TPixel, VImageDimension >::PasteImagePointerType |
typedef TPixel itk::MIDASImageUpdateCopyRegionProcessor< TPixel, VImageDimension >::PixelType |
Additional typedefs
typedef SmartPointer<Self> itk::MIDASImageUpdateCopyRegionProcessor< TPixel, VImageDimension >::Pointer |
typedef ImageType::RegionType itk::MIDASImageUpdateCopyRegionProcessor< TPixel, VImageDimension >::RegionType |
typedef MIDASImageUpdateCopyRegionProcessor itk::MIDASImageUpdateCopyRegionProcessor< TPixel, VImageDimension >::Self |
Standard class typedefs
typedef ImageType::SizeType itk::MIDASImageUpdateCopyRegionProcessor< TPixel, VImageDimension >::SizeType |
typedef MIDASImageUpdateRegionProcessor<TPixel, VImageDimension> itk::MIDASImageUpdateCopyRegionProcessor< TPixel, VImageDimension >::Superclass |
|
protected |
|
inlineprotectedvirtual |
|
protectedvirtual |
Derived classes calculate whatever update they like, but can only affect the m_AfterImage, which must be within the destination region of interest.
Implements itk::MIDASImageUpdateRegionProcessor< TPixel, VImageDimension >.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::MIDASImageUpdateRegionProcessor< TPixel, VImageDimension >.
|
virtual |
|
virtual |
|
static |
Method for creation through the object factory.
|
protected |
|
virtual |
Set the source image. Data is copied from here to destination image.
|
virtual |
Set the source region of interest.
void itk::MIDASImageUpdateCopyRegionProcessor< TPixel, VImageDimension >::SetSourceRegionOfInterest | ( | std::vector< int > & | region | ) |
Overloaded method to provide simple acess via a std::vector, where we assume the length is 6 corresponding to the first 3 numbers indicating the starting index, and the next 3 numbers indicating the region size.