2d image based on an hexagonal mesh. More...
#include <image2d_h.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 image2d< V >::lvalue | lvalue | 
| Lvalue associated type.   | |
| typedef point2d_h | psite | 
| Point site type.   | |
| typedef image2d< V >::rvalue | rvalue | 
| Return type of read-only access.   | |
| typedef hexa< tag::image_ < image2d< V > > >  | skeleton | 
| Skeleton.   | |
| typedef image2d< V >::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.   | |
| image2d_h (int nrows, int ncols, unsigned bdr=border::thickness) | |
| Constructor with the numbers of rows and columns border thickness.   | |
| 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.   | |
2d image based on an hexagonal mesh.
Definition at line 50 of file image2d_h.hh.
| typedef point2d_h mln::image2d_h< V >::psite | 
Point site type.
Reimplemented from mln::hexa< image2d< V > >.
Definition at line 56 of file image2d_h.hh.
| mln::image2d_h< V >::image2d_h | ( | int | nrows, | |
| int | ncols, | |||
| unsigned |  bdr = border::thickness | |||
| ) |  [inline] | 
        
Constructor with the numbers of rows and columns border thickness.
image2d_h(3,6) will build this hexa image :
1 3 5 0 2 4 -------------- 0| x x x | 2| x x x | 4| x x x
Definition at line 82 of file image2d_h.hh.
Test if p belongs to the image domain. 
Read-only access of pixel value at hexa point site p. 
 1.7.1