VideoTools
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Gv::CaptureBufferIterator Class Reference

A const iterator for a single row of Gv::CaptureBuffer pixels. More...

#include <gvcapturebuffer.h>

Public Member Functions

 CaptureBufferIterator (const CaptureBuffer &, size_t offset_0, unsigned short x_shift_0, size_t step_0, size_t offset_1, unsigned short x_shift_1, size_t step_1, size_t offset_2, unsigned short x_shift_2, size_t step_2)
 Constructor used CaptureBuffer::row().
 
Gr::ColourSpace::triple
< unsigned char > 
rgb () const
 Returns the three rgb values at the current position.
 
Gr::ColourSpace::triple
< unsigned char > 
operator* () const
 Same as rgb().
 
unsigned char luma () const
 Returns the luma value at the current position.
 
CaptureBufferIteratoroperator++ ()
 Advances the iterator to the next pixel in the row.
 
bool operator== (const CaptureBufferIterator &) const
 Comparison operator.
 
bool operator!= (const CaptureBufferIterator &) const
 Comparison operator.
 

Detailed Description

A const iterator for a single row of Gv::CaptureBuffer pixels.

Definition at line 266 of file gvcapturebuffer.h.


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