hexagonal image class. More...
#include <hexa.hh>

Public Types | |
| typedef hexa_bkd_piter_< box2d > | bkd_piter | 
| FIXME : should it be in box2d_h? Backward Site_Iterator associated type.   | |
| typedef hexa_fwd_piter_< box2d > | fwd_piter | 
| FIXME : should it be in box2d_h? Forward Site_Iterator associated type.   | |
| typedef I::lvalue | lvalue | 
| Lvalue associated type.   | |
| typedef point2d_h | psite | 
| Point site type.   | |
| typedef I::rvalue | rvalue | 
| Return type of read-only access.   | |
| typedef hexa< tag::image_< I > > | skeleton | 
| Skeleton.   | |
| typedef I::value | value | 
| Value associated type.   | |
Public Member Functions | |
| const box2d_h & | domain () const | 
| Give the definition domain.   | |
| bool | has (const psite &p) const | 
Test if p belongs to the image domain.   | |
| hexa (I &ima) | |
| Constructor with an base image.   | |
| hexa () | |
| Constructor without argument.   | |
| lvalue | operator() (const point2d_h &p) | 
Read-write access of pixel value at hexa point site p.   | |
| rvalue | operator() (const point2d_h &p) const | 
Read-only access of pixel value at hexa point site p.   | |
hexagonal image class.
The parameter I is the type of the base image. This image class which handles hexagonal grid.
Ex : 1 3 5 7 9 11 0 2 4 6 8 10 ------------------- 0 XX| | | | | | |XX --------------------- 2 XX| | | | | | |XX --------------------- 4 XX| | | | | | |XX --------------------- 6 XX| | | | | | |XX --------------------- 8 XX| | | | | | |XX -------------------
Definition at line 116 of file hexa.hh.
FIXME : should it be in box2d_h? Backward Site_Iterator associated type.
FIXME : should it be in box2d_h? Forward Site_Iterator associated type.
Test if p belongs to the image domain. 
Definition at line 259 of file hexa.hh.
Referenced by mln::hexa< I >::operator()().
| hexa< I >::rvalue mln::hexa< I >::operator() | ( | const point2d_h & | p | ) |  const [inline] | 
        
Read-only access of pixel value at hexa point site p. 
Definition at line 230 of file hexa.hh.
References mln::hexa< I >::has().
 1.7.1