Public Member Functions
vidl_pixel_iterator Class Reference

Abstract pixel iterator base class. More...

#include <vidl_pixel_iterator.h>

Inheritance diagram for vidl_pixel_iterator:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ~vidl_pixel_iterator ()
 Destructor.
virtual vidl_pixel_format pixel_format () const =0
 Return the pixel format.
virtual vidl_pixel_iteratoroperator++ ()=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.

Detailed Description

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.


Constructor & Destructor Documentation

virtual vidl_pixel_iterator::~vidl_pixel_iterator ( ) [inline, virtual]

Destructor.

Definition at line 34 of file vidl_pixel_iterator.h.


Member Function Documentation

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]
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 >.


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