Abstract pixel iterator base class. More...
#include <vidl_pixel_iterator.h>
Public Member Functions | |
virtual | ~vidl_pixel_iterator () |
Destructor. | |
virtual vidl_pixel_format | pixel_format () const =0 |
Return the pixel format. | |
virtual vidl_pixel_iterator & | operator++ ()=0 |
Pre-increment: step to the next pixel. | |
virtual void | get_data (vxl_byte *data) const =0 |
Copy the pixel data into a byte array. | |
virtual void | set_data (const vxl_byte *data)=0 |
Set the pixel data from a byte array. |
Abstract pixel iterator base class.
A concrete pixel iterator for each pixel format is derived from this class (see vidl_pixel_format.txx)
Definition at line 30 of file vidl_pixel_iterator.h.
virtual vidl_pixel_iterator::~vidl_pixel_iterator | ( | ) | [inline, virtual] |
Destructor.
Definition at line 34 of file vidl_pixel_iterator.h.
virtual void vidl_pixel_iterator::get_data | ( | vxl_byte * | data | ) | const [pure virtual] |
Copy the pixel data into a byte array.
Implemented in vidl_pixel_iterator_of< VIDL_PIXEL_FORMAT_MONO_1 >, and vidl_pixel_iterator_of< FMT >.
virtual vidl_pixel_iterator& vidl_pixel_iterator::operator++ | ( | ) | [pure virtual] |
Pre-increment: step to the next pixel.
Implemented in vidl_pixel_iterator_of< VIDL_PIXEL_FORMAT_MONO_1 >, and vidl_pixel_iterator_of< FMT >.
virtual vidl_pixel_format vidl_pixel_iterator::pixel_format | ( | ) | const [pure virtual] |
Return the pixel format.
Implemented in vidl_pixel_iterator_of< VIDL_PIXEL_FORMAT_MONO_1 >, and vidl_pixel_iterator_of< FMT >.
virtual void vidl_pixel_iterator::set_data | ( | const vxl_byte * | data | ) | [pure virtual] |
Set the pixel data from a byte array.
Implemented in vidl_pixel_iterator_of< VIDL_PIXEL_FORMAT_MONO_1 >, and vidl_pixel_iterator_of< FMT >.