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

Class to support undo/redo of an operation that takes a list of pixels, and sets them all to a given value. More...

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

Public Types

typedef
MIDASImageUpdatePixelWiseSingleValueProcessor 
Self
 
typedef
MIDASImageUpdateProcessor
< TPixel, VImageDimension > 
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
 
typedef std::vector< IndexTypeIndexListType
 
typedef std::vector< TPixel > DataListType
 
- Public Types inherited from itk::MIDASImageUpdateProcessor< TPixel, VImageDimension >
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
 
virtual void SetValue (PixelType _arg)
 
virtual PixelType GetValue ()
 
void ClearList ()
 
void AddToList (IndexType &voxelIndex)
 
unsigned long int GetNumberOfVoxels ()
 
std::vector< intComputeMinimalBoundingBox ()
 
virtual void Undo () override
 
virtual void Redo () override
 
- Public Member Functions inherited from itk::MIDASImageUpdateProcessor< TPixel, VImageDimension >
 itkStaticConstMacro (ImageDimension, unsigned int, VImageDimension)
 
virtual void SetDestinationImage (ImageType *_arg)
 
virtual ImageTypeGetDestinationImage ()
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 MIDASImageUpdatePixelWiseSingleValueProcessor ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
virtual ~MIDASImageUpdatePixelWiseSingleValueProcessor ()
 
- Protected Member Functions inherited from itk::MIDASImageUpdateProcessor< TPixel, VImageDimension >
 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::MIDASImageUpdatePixelWiseSingleValueProcessor< TPixel, VImageDimension >

Class to support undo/redo of an operation that takes a list of pixels, and sets them all to a given value.

This operation is used in the PaintbrushTool, used in the MorphologicalEditor.

Member Typedef Documentation

template<class TPixel , unsigned int VImageDimension>
typedef SmartPointer<const Self> itk::MIDASImageUpdatePixelWiseSingleValueProcessor< TPixel, VImageDimension >::ConstPointer
template<class TPixel , unsigned int VImageDimension>
typedef std::vector<TPixel> itk::MIDASImageUpdatePixelWiseSingleValueProcessor< TPixel, VImageDimension >::DataListType
template<class TPixel , unsigned int VImageDimension>
typedef ImageType::Pointer itk::MIDASImageUpdatePixelWiseSingleValueProcessor< TPixel, VImageDimension >::ImagePointer
template<class TPixel , unsigned int VImageDimension>
typedef Image<TPixel, VImageDimension> itk::MIDASImageUpdatePixelWiseSingleValueProcessor< TPixel, VImageDimension >::ImageType
template<class TPixel , unsigned int VImageDimension>
typedef std::vector<IndexType> itk::MIDASImageUpdatePixelWiseSingleValueProcessor< TPixel, VImageDimension >::IndexListType
template<class TPixel , unsigned int VImageDimension>
typedef ImageType::IndexType itk::MIDASImageUpdatePixelWiseSingleValueProcessor< TPixel, VImageDimension >::IndexType
template<class TPixel , unsigned int VImageDimension>
typedef TPixel itk::MIDASImageUpdatePixelWiseSingleValueProcessor< TPixel, VImageDimension >::PixelType

Additional typedefs

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

Standard class typedefs

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

Constructor & Destructor Documentation

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

Member Function Documentation

template<class TPixel , unsigned int VImageDimension>
void itk::MIDASImageUpdatePixelWiseSingleValueProcessor< TPixel, VImageDimension >::AddToList ( IndexType voxelIndex)

Adds a voxel to the end of the list.

template<class TPixel , unsigned int VImageDimension>
void itk::MIDASImageUpdatePixelWiseSingleValueProcessor< TPixel, VImageDimension >::ClearList ( )

Clears the list of indexes.

template<class TPixel , unsigned int VImageDimension>
std::vector<int> itk::MIDASImageUpdatePixelWiseSingleValueProcessor< TPixel, VImageDimension >::ComputeMinimalBoundingBox ( )

Returns the minimal bounding box of the contained voxels.

template<class TPixel , unsigned int VImageDimension>
virtual const char* itk::MIDASImageUpdatePixelWiseSingleValueProcessor< TPixel, VImageDimension >::GetClassName ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::MIDASImageUpdateProcessor< TPixel, VImageDimension >.

template<class TPixel , unsigned int VImageDimension>
unsigned long int itk::MIDASImageUpdatePixelWiseSingleValueProcessor< TPixel, VImageDimension >::GetNumberOfVoxels ( )

Returns the number of voxels currently stored.

template<class TPixel , unsigned int VImageDimension>
virtual PixelType itk::MIDASImageUpdatePixelWiseSingleValueProcessor< TPixel, VImageDimension >::GetValue ( )
virtual
template<class TPixel , unsigned int VImageDimension>
static Pointer itk::MIDASImageUpdatePixelWiseSingleValueProcessor< TPixel, VImageDimension >::New ( )
static

Method for creation through the object factory.

template<class TPixel , unsigned int VImageDimension>
void itk::MIDASImageUpdatePixelWiseSingleValueProcessor< TPixel, VImageDimension >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotected
template<class TPixel , unsigned int VImageDimension>
virtual void itk::MIDASImageUpdatePixelWiseSingleValueProcessor< TPixel, VImageDimension >::Redo ( )
overridevirtual
See also
ImageUpdateProcessor::Redo()

Implements itk::MIDASImageUpdateProcessor< TPixel, VImageDimension >.

template<class TPixel , unsigned int VImageDimension>
virtual void itk::MIDASImageUpdatePixelWiseSingleValueProcessor< TPixel, VImageDimension >::SetValue ( PixelType  _arg)
virtual

Set/Get the pixel value to update.

template<class TPixel , unsigned int VImageDimension>
virtual void itk::MIDASImageUpdatePixelWiseSingleValueProcessor< TPixel, VImageDimension >::Undo ( )
overridevirtual
See also
ImageUpdateProcessor::Undo()

Implements itk::MIDASImageUpdateProcessor< TPixel, VImageDimension >.


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