NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Public Types | Public Member Functions | Protected Member Functions | List of all members
itk::MIDASImageUpdateProcessor< TPixel, VImageDimension > Class Template Referenceabstract

Class that takes a pointer to a destination image, and applies changes directly to it and enablng undo/redo. In practice, this may result in large memory overhead, so, if we are using this for undo/redo we should consider using a small undo/redo stack or small regions. More...

Inheritance diagram for itk::MIDASImageUpdateProcessor< TPixel, VImageDimension >:
Inheritance graph
[legend]
Collaboration diagram for itk::MIDASImageUpdateProcessor< TPixel, VImageDimension >:
Collaboration graph
[legend]

Public Types

typedef MIDASImageUpdateProcessor Self
 
typedef Object Superclass
 
typedef SmartPointer< SelfPointer
 
typedef SmartPointer< const SelfConstPointer
 
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
 
 itkStaticConstMacro (ImageDimension, unsigned int, VImageDimension)
 
virtual void SetDestinationImage (ImageType *_arg)
 
virtual ImageTypeGetDestinationImage ()
 
virtual void Undo ()=0
 
virtual void Redo ()=0
 

Protected Member Functions

 MIDASImageUpdateProcessor ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
virtual ~MIDASImageUpdateProcessor ()
 
virtual void ValidateInputs ()
 

Detailed Description

template<class TPixel, unsigned int VImageDimension>
class itk::MIDASImageUpdateProcessor< TPixel, VImageDimension >

Class that takes a pointer to a destination image, and applies changes directly to it and enablng undo/redo. In practice, this may result in large memory overhead, so, if we are using this for undo/redo we should consider using a small undo/redo stack or small regions.

At this level of the hierarchy, we basically store a reference to the output image, and define Undo/Redo methods. Its up to sub-classes to do the rest.

Member Typedef Documentation

template<class TPixel , unsigned int VImageDimension>
typedef SmartPointer<const Self> itk::MIDASImageUpdateProcessor< TPixel, VImageDimension >::ConstPointer
template<class TPixel , unsigned int VImageDimension>
typedef ImageType::Pointer itk::MIDASImageUpdateProcessor< TPixel, VImageDimension >::ImagePointer
template<class TPixel , unsigned int VImageDimension>
typedef Image<TPixel, VImageDimension> itk::MIDASImageUpdateProcessor< TPixel, VImageDimension >::ImageType
template<class TPixel , unsigned int VImageDimension>
typedef ImageType::IndexType itk::MIDASImageUpdateProcessor< TPixel, VImageDimension >::IndexType
template<class TPixel , unsigned int VImageDimension>
typedef TPixel itk::MIDASImageUpdateProcessor< TPixel, VImageDimension >::PixelType

Additional typedefs

template<class TPixel , unsigned int VImageDimension>
typedef SmartPointer<Self> itk::MIDASImageUpdateProcessor< TPixel, VImageDimension >::Pointer
template<class TPixel , unsigned int VImageDimension>
typedef ImageType::RegionType itk::MIDASImageUpdateProcessor< TPixel, VImageDimension >::RegionType
template<class TPixel , unsigned int VImageDimension>
typedef MIDASImageUpdateProcessor itk::MIDASImageUpdateProcessor< TPixel, VImageDimension >::Self

Standard class typedefs

template<class TPixel , unsigned int VImageDimension>
typedef ImageType::SizeType itk::MIDASImageUpdateProcessor< TPixel, VImageDimension >::SizeType
template<class TPixel , unsigned int VImageDimension>
typedef Object itk::MIDASImageUpdateProcessor< TPixel, VImageDimension >::Superclass

Constructor & Destructor Documentation

template<class TPixel , unsigned int VImageDimension>
itk::MIDASImageUpdateProcessor< TPixel, VImageDimension >::MIDASImageUpdateProcessor ( )
protected
template<class TPixel , unsigned int VImageDimension>
virtual itk::MIDASImageUpdateProcessor< TPixel, VImageDimension >::~MIDASImageUpdateProcessor ( )
inlineprotectedvirtual

Member Function Documentation

template<class TPixel , unsigned int VImageDimension>
virtual const char* itk::MIDASImageUpdateProcessor< TPixel, VImageDimension >::GetClassName ( ) const
virtual
template<class TPixel , unsigned int VImageDimension>
virtual ImageType* itk::MIDASImageUpdateProcessor< TPixel, VImageDimension >::GetDestinationImage ( )
virtual
template<class TPixel , unsigned int VImageDimension>
itk::MIDASImageUpdateProcessor< TPixel, VImageDimension >::itkStaticConstMacro ( ImageDimension  ,
unsigned  int,
VImageDimension   
)

Dimension of the image. This constant is used by functions that are templated over image type (as opposed to being templated over pixel type and dimension) when they need compile time access to the dimension of the image.

template<class TPixel , unsigned int VImageDimension>
void itk::MIDASImageUpdateProcessor< TPixel, VImageDimension >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotected
template<class TPixel , unsigned int VImageDimension>
virtual void itk::MIDASImageUpdateProcessor< TPixel, VImageDimension >::Redo ( )
pure virtual
template<class TPixel , unsigned int VImageDimension>
virtual void itk::MIDASImageUpdateProcessor< TPixel, VImageDimension >::SetDestinationImage ( ImageType _arg)
virtual

Set the destination image, which is the image actually modified. This is not a filter with separate input/output.

template<class TPixel , unsigned int VImageDimension>
virtual void itk::MIDASImageUpdateProcessor< TPixel, VImageDimension >::Undo ( )
pure virtual
template<class TPixel , unsigned int VImageDimension>
virtual void itk::MIDASImageUpdateProcessor< TPixel, VImageDimension >::ValidateInputs ( )
protectedvirtual

The documentation for this class was generated from the following file: