NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
|
Class to support undo/redo of an operation that takes a list of pixels, and sets them all to a given value. More...
Public Types | |
typedef MIDASImageUpdatePixelWiseSingleValueProcessor | 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 std::vector< IndexType > | IndexListType |
typedef std::vector< TPixel > | DataListType |
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 | SetValue (PixelType _arg) |
virtual PixelType | GetValue () |
void | ClearList () |
void | AddToList (IndexType &voxelIndex) |
unsigned long int | GetNumberOfVoxels () |
std::vector< int > | ComputeMinimalBoundingBox () |
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 ImageType * | GetDestinationImage () |
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 () |
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.
typedef SmartPointer<const Self> itk::MIDASImageUpdatePixelWiseSingleValueProcessor< TPixel, VImageDimension >::ConstPointer |
typedef std::vector<TPixel> itk::MIDASImageUpdatePixelWiseSingleValueProcessor< TPixel, VImageDimension >::DataListType |
typedef ImageType::Pointer itk::MIDASImageUpdatePixelWiseSingleValueProcessor< TPixel, VImageDimension >::ImagePointer |
typedef Image<TPixel, VImageDimension> itk::MIDASImageUpdatePixelWiseSingleValueProcessor< TPixel, VImageDimension >::ImageType |
typedef std::vector<IndexType> itk::MIDASImageUpdatePixelWiseSingleValueProcessor< TPixel, VImageDimension >::IndexListType |
typedef ImageType::IndexType itk::MIDASImageUpdatePixelWiseSingleValueProcessor< TPixel, VImageDimension >::IndexType |
typedef TPixel itk::MIDASImageUpdatePixelWiseSingleValueProcessor< TPixel, VImageDimension >::PixelType |
Additional typedefs
typedef SmartPointer<Self> itk::MIDASImageUpdatePixelWiseSingleValueProcessor< TPixel, VImageDimension >::Pointer |
typedef ImageType::RegionType itk::MIDASImageUpdatePixelWiseSingleValueProcessor< TPixel, VImageDimension >::RegionType |
typedef MIDASImageUpdatePixelWiseSingleValueProcessor itk::MIDASImageUpdatePixelWiseSingleValueProcessor< TPixel, VImageDimension >::Self |
Standard class typedefs
typedef ImageType::SizeType itk::MIDASImageUpdatePixelWiseSingleValueProcessor< TPixel, VImageDimension >::SizeType |
typedef MIDASImageUpdateProcessor<TPixel, VImageDimension> itk::MIDASImageUpdatePixelWiseSingleValueProcessor< TPixel, VImageDimension >::Superclass |
|
protected |
|
inlineprotectedvirtual |
void itk::MIDASImageUpdatePixelWiseSingleValueProcessor< TPixel, VImageDimension >::AddToList | ( | IndexType & | voxelIndex | ) |
Adds a voxel to the end of the list.
void itk::MIDASImageUpdatePixelWiseSingleValueProcessor< TPixel, VImageDimension >::ClearList | ( | ) |
Clears the list of indexes.
std::vector<int> itk::MIDASImageUpdatePixelWiseSingleValueProcessor< TPixel, VImageDimension >::ComputeMinimalBoundingBox | ( | ) |
Returns the minimal bounding box of the contained voxels.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::MIDASImageUpdateProcessor< TPixel, VImageDimension >.
unsigned long int itk::MIDASImageUpdatePixelWiseSingleValueProcessor< TPixel, VImageDimension >::GetNumberOfVoxels | ( | ) |
Returns the number of voxels currently stored.
|
virtual |
|
static |
Method for creation through the object factory.
|
overrideprotected |
|
overridevirtual |
Implements itk::MIDASImageUpdateProcessor< TPixel, VImageDimension >.
|
virtual |
Set/Get the pixel value to update.
|
overridevirtual |
Implements itk::MIDASImageUpdateProcessor< TPixel, VImageDimension >.