$extrastylesheet
#include <mln/core/image/dmorph/hexa.hh>
Public Member Functions | |
hexa () | |
hexa (I &ima) | |
mln::metal::const_< I >::ret * | delegatee_ () const |
I * | delegatee_ () |
void | destroy () |
const box2d_h & | domain () const |
bool | has (const psite &p) const |
bool | has (const psite &p) const |
void | init_ (I &ima) |
bool | is_valid () const |
std::size_t | nsites () const |
rvalue | operator() (const typename box2d_h::psite &p) const |
lvalue | operator() (const typename box2d_h::psite &p) |
rvalue | operator() (const point2d_h &p) const |
lvalue | operator() (const point2d_h &p) |
hexa< I > & | rw () |
I & | unmorph_ () |
mln::metal::const_< I >::ret & | unmorph_ () const |
const t_eligible_values_set & | values_eligible () const |
const t_values_space & | values_space () const |
Protected Attributes | |
mln::util::tracked_ptr < internal::data< hexa< I > > > | data_ |
Public Types | |
typedef hexa_bkd_piter_< box2d > | bkd_piter |
typedef Image< void > | category |
typedef I | delegatee |
typedef box2d_h | domain_t |
typedef hexa< I > | exact_t |
typedef hexa_fwd_piter_< box2d > | fwd_piter |
typedef I::lvalue | lvalue |
typedef fwd_piter | piter |
typedef point2d_h | psite |
typedef I::rvalue | rvalue |
typedef box2d_h::site | site |
typedef hexa< tag::image_< I > > | skeleton |
typedef mln::value::set< I::value > | t_eligible_values_set |
typedef mln::value::set < typename mln::value::super_value < I::value >::ret > | t_values_space |
typedef I | unmorph |
typedef I::value | value |
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
|
inherited |
INTERNAL_API Return the delegatee_ pointer; default code.
|
inherited |
Return the delegatee_ pointer (non-const version); default code.
|
inherited |
Detach data from an image (free it if nobody else hold it).
|
inherited |
Test if p
belongs to the image domain.
Test if p
belongs to the image domain.
void mln::hexa< I >::init_ | ( | I & | ima | ) |
INTERNAL_API Initialization.
|
inherited |
Test if this image has been initialized; default impl.
Reimplemented from mln::internal::image_base< I::value, box2d_h, hexa< I > >.
|
inherited |
Give the number of sites of the image domain.
|
inherited |
Read-only access of pixel value at point site p
.
|
inherited |
Read and "write if possible" access of pixel value at point site p
.
Read-only access of pixel value at hexa point site p
.
Read-write access of pixel value at hexa point site p
.
|
inherited |
State that the morpher is writable.
This allows for C++ to use it as a mutable object even if it is a temporary object.
|
inherited |
INTERNAL_API Give the morphed image (mutable version).
|
inherited |
Give the morphed image (const version).
|
inherited |
|
inherited |
Return the value space of the image.
|
protectedinherited |
INTERNAL_API Internal data, sharable by several images.
Definition at line 176 of file core/internal/image_base.hh.
typedef hexa_bkd_piter_<box2d> mln::hexa< I >::bkd_piter |
FIXME : should it be in box2d_h? Backward Site_Iterator associated type.
|
inherited |
Definition at line 78 of file core/concept/image.hh.
|
inherited |
Delegatee associated type.
Definition at line 60 of file image_morpher.hh.
|
inherited |
Site_Set associated type.
Definition at line 109 of file core/internal/image_base.hh.
|
inherited |
typedef hexa_fwd_piter_<box2d> mln::hexa< I >::fwd_piter |
FIXME : should it be in box2d_h? Forward Site_Iterator associated type.
|
inherited |
Site_Iterator associated type; default definition is fwd_piter.
Definition at line 127 of file core/internal/image_base.hh.
Site associated type.
Definition at line 115 of file core/internal/image_base.hh.
|
inherited |
Eligible-value-set associated type.
Definition at line 95 of file core/internal/image_base.hh.
|
inherited |
Value space associated type.
Definition at line 102 of file core/internal/image_base.hh.
|
inherited |
Unmorph image associated type.
Definition at line 72 of file image_morpher.hh.