|
Milena (Olena)
User documentation 2.0a Id
|
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 () | |
| Constructor without argument. | |
| hexa (I &ima) | |
| Constructor with an base image. | |
| rvalue | operator() (const point2d_h &p) const |
Read-only access of pixel value at hexa point site p. | |
| lvalue | operator() (const point2d_h &p) |
Read-write 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
FIXME : should it be in box2d_h? Backward Site_Iterator associated type.
FIXME : should it be in box2d_h? Forward Site_Iterator associated type.