#include <lazy_image.hh>
Inherits mln::internal::image_identity< mln::trait::ch_value< I, F::result >::ret, I::domain_t, mln::lazy_image< I, F, B > >.
Public Types | |
| typedef F::result | lvalue |
| Return type of read-write access. | |
| typedef F::result | rvalue |
| Return type of read access. | |
| typedef lazy_image < tag::image_< I >, F, B > | skeleton |
| Skeleton. | |
Public Member Functions | |
| const box< typename I::psite > & | domain () const |
| Return domain of lazyd_image. | |
| bool | has (const typename I::psite &) const |
Test if a pixel value is accessible at p. | |
| lazy_image (const F &fun, const B &box) | |
| Constructors. | |
| lazy_image () | |
| Constructors. | |
| lvalue | operator() (const typename I::psite &p) |
Read and "write if possible" access of pixel value at point site p. | |
| rvalue | operator() (const typename I::psite &p) const |
Read-only access of pixel value at point site p. | |
| F::result | operator() (const typename F::input &x) |
Read and "write if possible" access of pixel value at F::input x. | |
| F::result | operator() (const typename F::input &x) const |
Read-only access of pixel value at F::input x. | |
The parameter I is the type of image. The parameter F is the type of function. The parameter B is the type of box.
This image class tage a functor fun and a box box. Access to ima(p) where p include box return fun(b) lazily.
| typedef F ::result mln::lazy_image< I, F, B >::lvalue |
Return type of read-write access.
| typedef F ::result mln::lazy_image< I, F, B >::rvalue |
Return type of read access.
| typedef lazy_image< tag::image_<I>, F, B > mln::lazy_image< I, F, B >::skeleton |
Skeleton.
| mln::lazy_image< I, F, B >::lazy_image | ( | ) |
Constructors.
| mln::lazy_image< I, F, B >::lazy_image | ( | const F & | fun, | |
| const B & | box | |||
| ) | [inline] |
Constructors.
| const box< typename I::psite > & mln::lazy_image< I, F, B >::domain | ( | ) | const [inline] |
Return domain of lazyd_image.
| bool mln::lazy_image< I, F, B >::has | ( | const typename I::psite & | p | ) | const [inline] |
| lazy_image< I, F, B >::lvalue mln::lazy_image< I, F, B >::operator() | ( | const typename I::psite & | p | ) | [inline] |
| lazy_image< I, F, B >::rvalue mln::lazy_image< I, F, B >::operator() | ( | const typename I::psite & | p | ) | const [inline] |
| F::result mln::lazy_image< I, F, B >::operator() | ( | const typename F::input & | x | ) | [inline] |
| F::result mln::lazy_image< I, F, B >::operator() | ( | const typename F::input & | x | ) | const [inline] |
1.5.6