Public Member Functions | Private Types | Private Attributes
vidl_pixel_iterator_arranged< AR, FMT > Class Template Reference

The default pixel iterator for single arranged formats. More...

Inheritance diagram for vidl_pixel_iterator_arranged< AR, FMT >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 vidl_pixel_iterator_arranged (const vidl_frame &frame)
 Constructor.
 ~vidl_pixel_iterator_arranged ()
 Destructor.
vidl_pixel_iterator_arranged
< AR, FMT > & 
next ()
 Step to the next pixel.
cmp_type operator() (unsigned int i) const
 Access the data.
void get (cmp_type *data) const
 Access the entire pixel at once.
void set (const cmp_type *data)
 write the entire pixel at once.

Private Types

typedef vidl_pixel_traits_of
< FMT >::type 
cmp_type

Private Attributes

cmp_typeptr_

Detailed Description

template<vidl_pixel_arrangement AR, vidl_pixel_format FMT>
class vidl_pixel_iterator_arranged< AR, FMT >

The default pixel iterator for single arranged formats.

Definition at line 34 of file vidl_pixel_iterator.txx.


Member Typedef Documentation

template<vidl_pixel_arrangement AR, vidl_pixel_format FMT>
typedef vidl_pixel_traits_of<FMT>::type vidl_pixel_iterator_arranged< AR, FMT >::cmp_type [private]

Definition at line 36 of file vidl_pixel_iterator.txx.


Constructor & Destructor Documentation

template<vidl_pixel_arrangement AR, vidl_pixel_format FMT>
vidl_pixel_iterator_arranged< AR, FMT >::vidl_pixel_iterator_arranged ( const vidl_frame frame) [inline]

Constructor.

Definition at line 40 of file vidl_pixel_iterator.txx.

template<vidl_pixel_arrangement AR, vidl_pixel_format FMT>
vidl_pixel_iterator_arranged< AR, FMT >::~vidl_pixel_iterator_arranged ( ) [inline]

Destructor.

Definition at line 50 of file vidl_pixel_iterator.txx.


Member Function Documentation

template<vidl_pixel_arrangement AR, vidl_pixel_format FMT>
void vidl_pixel_iterator_arranged< AR, FMT >::get ( cmp_type data) const [inline]

Access the entire pixel at once.

Definition at line 67 of file vidl_pixel_iterator.txx.

template<vidl_pixel_arrangement AR, vidl_pixel_format FMT>
vidl_pixel_iterator_arranged<AR,FMT>& vidl_pixel_iterator_arranged< AR, FMT >::next ( ) [inline]

Step to the next pixel.

Definition at line 53 of file vidl_pixel_iterator.txx.

template<vidl_pixel_arrangement AR, vidl_pixel_format FMT>
cmp_type vidl_pixel_iterator_arranged< AR, FMT >::operator() ( unsigned int  i) const [inline]

Access the data.

Definition at line 60 of file vidl_pixel_iterator.txx.

template<vidl_pixel_arrangement AR, vidl_pixel_format FMT>
void vidl_pixel_iterator_arranged< AR, FMT >::set ( const cmp_type data) [inline]

write the entire pixel at once.

Definition at line 73 of file vidl_pixel_iterator.txx.


Member Data Documentation

template<vidl_pixel_arrangement AR, vidl_pixel_format FMT>
cmp_type* vidl_pixel_iterator_arranged< AR, FMT >::ptr_ [private]

Definition at line 37 of file vidl_pixel_iterator.txx.


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