A generic forward iterator on the pixels of a dpoint-based window or neighborhood. More...
#include <dpoints_pixter.hh>

Public Member Functions | |
| const I::value & | center_val () const | 
| The value around which this iterator moves.   | |
| template<typename Dps , typename Pref > | |
| dpoints_fwd_pixter (const Generalized_Pixel< Pref > &pxl_ref, const Dps &dps) | |
| Constructor (using a generalized pixel).   | |
| template<typename Dps , typename Pref > | |
| dpoints_fwd_pixter (I &image, const Dps &dps, const Pref &p_ref) | |
| Constructor (using an image).   | |
| void | next () | 
| Go to the next element.   | |
| void | start () | 
| Manipulation.   | |
| void | invalidate () | 
| Invalidate the iterator.   | |
| bool | is_valid () const | 
| Test the iterator validity.   | |
| void | update () | 
| Force this iterator to update its location to take into account that its center point may have moved.   | |
A generic forward iterator on the pixels of a dpoint-based window or neighborhood.
Parameter I is the image type. 
Definition at line 57 of file dpoints_pixter.hh.
| mln::dpoints_fwd_pixter< I >::dpoints_fwd_pixter | ( | I & | image, | |
| const Dps & | dps, | |||
| const Pref & | p_ref | |||
| ) |  [inline] | 
        
Constructor (using an image).
| [in] | image | The image to iterate over. | 
| [in] | dps | An object (neighborhood or window) that can provide a set of delta-points. | 
| [in] | p_ref | Center (resp. reference) point of the neighborhood (resp. window). | 
Definition at line 224 of file dpoints_pixter.hh.
| mln::dpoints_fwd_pixter< I >::dpoints_fwd_pixter | ( | const Generalized_Pixel< Pref > & | pxl_ref, | |
| const Dps & | dps | |||
| ) |  [inline] | 
        
Constructor (using a generalized pixel).
| [in] | pxl_ref | Center (generalized) pixel to iterate around. | 
| [in] | dps | An object (neighborhood or window) that can provide a set of delta-points. | 
Definition at line 241 of file dpoints_pixter.hh.
| const I::value & mln::dpoints_fwd_pixter< I >::center_val | ( | ) |  const [inline] | 
        
The value around which this iterator moves.
Definition at line 256 of file dpoints_pixter.hh.
| void mln::dpoints_fwd_pixter< I >::invalidate | ( | ) |  [inline] | 
        
Invalidate the iterator.
Definition at line 325 of file dpoints_pixter.hh.
| bool mln::dpoints_fwd_pixter< I >::is_valid | ( | ) |  const [inline] | 
        
Test the iterator validity.
Definition at line 317 of file dpoints_pixter.hh.
Referenced by mln::dpoints_fwd_pixter< I >::update().
| void mln::Iterator< dpoints_fwd_pixter< I > >::next | ( | ) |  [inherited] | 
        
Go to the next element.
| void mln::dpoints_fwd_pixter< I >::start | ( | ) |  [inline] | 
        
Manipulation.
Start an iteration.
Definition at line 298 of file dpoints_pixter.hh.
References mln::dpoints_fwd_pixter< I >::update().
| void mln::dpoints_fwd_pixter< I >::update | ( | ) |  [inline] | 
        
Force this iterator to update its location to take into account that its center point may have moved.
Definition at line 284 of file dpoints_pixter.hh.
References mln::dpoints_fwd_pixter< I >::is_valid().
Referenced by mln::dpoints_fwd_pixter< I >::start().
 1.7.1