osgEarth 2.1.1
|
#include <AGG.h>
Public Member Functions | |
iterator (const scanline &sl) | |
int | next () |
int | num_pix () const |
const int8u * | covers () const |
Private Attributes | |
const int8u * | m_covers |
const int16u * | m_cur_count |
const int8u *const | m_cur_start_ptr |
agg::scanline::iterator::iterator | ( | const scanline & | sl | ) | [inline] |
Definition at line 284 of file AGG.h.
: m_covers(sl.m_covers), m_cur_count(sl.m_counts), m_cur_start_ptr(sl.m_start_ptrs) { }
const int8u* agg::scanline::iterator::covers | ( | ) | const [inline] |
Definition at line 299 of file AGG.h.
{ return *m_cur_start_ptr; }
int agg::scanline::iterator::next | ( | ) | [inline] |
Definition at line 291 of file AGG.h.
{ ++m_cur_count; ++m_cur_start_ptr; return int(*m_cur_start_ptr - m_covers); }
int agg::scanline::iterator::num_pix | ( | ) | const [inline] |
Definition at line 298 of file AGG.h.
{ return int(*m_cur_count); }
const int8u* agg::scanline::iterator::m_covers [private] |
const int16u* agg::scanline::iterator::m_cur_count [private] |
const int8u* const agg::scanline::iterator::m_cur_start_ptr [private] |