Public Member Functions | Private Types | Private Attributes
vidl_pixel_iterator_of< FMT > Class Template Reference

The default pixel iterator. More...

Inheritance diagram for vidl_pixel_iterator_of< FMT >:
Inheritance graph
[legend]

List of all members.

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_iteratoroperator++ ()
 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_

Detailed Description

template<vidl_pixel_format FMT>
class vidl_pixel_iterator_of< FMT >

The default pixel iterator.

used for non-planar non-packed formats

Definition at line 248 of file vidl_pixel_iterator.txx.


Member Typedef Documentation

template<vidl_pixel_format FMT>
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.

template<vidl_pixel_format FMT>
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.


Member Enumeration Documentation

template<vidl_pixel_format FMT>
anonymous enum [private]
Enumerator:
arrangement 

Definition at line 250 of file vidl_pixel_iterator.txx.


Constructor & Destructor Documentation

template<vidl_pixel_format FMT>
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.

template<vidl_pixel_format FMT>
virtual vidl_pixel_iterator_of< FMT >::~vidl_pixel_iterator_of ( ) [inline, virtual]

Destructor.

Definition at line 259 of file vidl_pixel_iterator.txx.


Member Function Documentation

template<vidl_pixel_format FMT>
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.

template<vidl_pixel_format FMT>
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.

template<vidl_pixel_format FMT>
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.

template<vidl_pixel_format FMT>
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.

template<vidl_pixel_format FMT>
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.


Member Data Documentation

template<vidl_pixel_format FMT>
arranged_itr vidl_pixel_iterator_of< FMT >::itr_ [private]

Definition at line 252 of file vidl_pixel_iterator.txx.


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