The default pixel iterator. More...
Public Member Functions | |
vidl_pixel_iterator_of (const vidl_frame &frame) | |
Constructor. | |
virtual | ~vidl_pixel_iterator_of () |
Destructor. | |
virtual vidl_pixel_format | pixel_format () const |
Return the pixel format. | |
virtual vidl_pixel_iterator & | operator++ () |
Pre-increment: step to the next pixel. | |
cmp_type | operator() (unsigned int i) const |
Access the data. | |
virtual void | get_data (vxl_byte *data) const |
Copy the pixel data into a byte array. | |
virtual void | set_data (const vxl_byte *data) |
Set the pixel data from a byte array. | |
Private Types | |
enum | { arrangement = vidl_pixel_traits_of<FMT>::arrangement_idx } |
typedef vidl_pixel_iterator_arranged < vidl_pixel_arrangement(arrangement), FMT > | arranged_itr |
typedef vidl_pixel_traits_of < FMT >::type | cmp_type |
Private Attributes | |
arranged_itr | itr_ |
The default pixel iterator.
used for non-planar non-packed formats
Definition at line 248 of file vidl_pixel_iterator.txx.
typedef vidl_pixel_iterator_arranged<vidl_pixel_arrangement(arrangement),FMT> vidl_pixel_iterator_of< FMT >::arranged_itr [private] |
Definition at line 251 of file vidl_pixel_iterator.txx.
typedef vidl_pixel_traits_of<FMT>::type vidl_pixel_iterator_of< FMT >::cmp_type [private] |
Definition at line 253 of file vidl_pixel_iterator.txx.
anonymous enum [private] |
Definition at line 250 of file vidl_pixel_iterator.txx.
vidl_pixel_iterator_of< FMT >::vidl_pixel_iterator_of | ( | const vidl_frame & | frame | ) | [inline] |
Constructor.
Definition at line 256 of file vidl_pixel_iterator.txx.
virtual vidl_pixel_iterator_of< FMT >::~vidl_pixel_iterator_of | ( | ) | [inline, virtual] |
Destructor.
Definition at line 259 of file vidl_pixel_iterator.txx.
virtual void vidl_pixel_iterator_of< FMT >::get_data | ( | vxl_byte * | data | ) | const [inline, virtual] |
Copy the pixel data into a byte array.
Implements vidl_pixel_iterator.
Definition at line 274 of file vidl_pixel_iterator.txx.
cmp_type vidl_pixel_iterator_of< FMT >::operator() | ( | unsigned int | i | ) | const [inline] |
Access the data.
Definition at line 270 of file vidl_pixel_iterator.txx.
virtual vidl_pixel_iterator& vidl_pixel_iterator_of< FMT >::operator++ | ( | ) | [inline, virtual] |
Pre-increment: step to the next pixel.
Implements vidl_pixel_iterator.
Definition at line 266 of file vidl_pixel_iterator.txx.
virtual vidl_pixel_format vidl_pixel_iterator_of< FMT >::pixel_format | ( | ) | const [inline, virtual] |
Return the pixel format.
Implements vidl_pixel_iterator.
Definition at line 262 of file vidl_pixel_iterator.txx.
virtual void vidl_pixel_iterator_of< FMT >::set_data | ( | const vxl_byte * | data | ) | [inline, virtual] |
Set the pixel data from a byte array.
Implements vidl_pixel_iterator.
Definition at line 278 of file vidl_pixel_iterator.txx.
arranged_itr vidl_pixel_iterator_of< FMT >::itr_ [private] |
Definition at line 252 of file vidl_pixel_iterator.txx.