Generic pixel class. More...
#include <pixel.hh>

Public Types | |
| typedef Object< void > | category |
| typedef pixel< I > | exact_t |
Public Member Functions | |
| void | change_to (const typename I::psite &p) |
Change the pixel to the one at point p. | |
| bool | is_valid () const |
| Test if this pixel is valid. | |
| operator unsigned () const | |
| pixel (I &image) | |
| Constructor. | |
| pixel (I &image, const typename I::psite &p) | |
| Constructor. | |
Private Types | |
| typedef I | image |
| Image type. | |
| typedef I::lvalue | lvalue |
| Image lvalue type. | |
| typedef I::rvalue | rvalue |
| Image rvalue type. | |
| typedef internal::pixel_impl_ < I, pixel< I > > | super |
| typedef I::value | value |
| Image value type. | |
Private Member Functions | |
| value ** | address_ () const |
| Address of the current iterator value/pixel. | |
| I & | ima () const |
| Give the pixel image. | |
| lvalue | val () |
| pixel iterator value. | |
| rvalue | val () const |
| Get the pixel iterator value. | |
Generic pixel class.
The parameter is I the type of the image it belongs to.
Definition at line 50 of file core/pixel.hh.
typedef Object<void> mln::Object< pixel< I > >::category [inherited] |
typedef pixel< I > mln::Object< pixel< I > >::exact_t [inherited] |
typedef I mln::internal::pixel_impl_< I, pixel< I > >::image [inherited] |
Image type.
Definition at line 129 of file pixel_impl.hh.
typedef I ::lvalue mln::internal::pixel_impl_< I, pixel< I > >::lvalue [inherited] |
Image lvalue type.
Definition at line 135 of file pixel_impl.hh.
typedef I ::rvalue mln::internal::pixel_impl_< I, pixel< I > >::rvalue [inherited] |
Image rvalue type.
Definition at line 138 of file pixel_impl.hh.
typedef internal::pixel_impl_<I, pixel<I> > mln::pixel< I >::super [private] |
Definition at line 67 of file core/pixel.hh.
typedef I ::value mln::internal::pixel_impl_< I, pixel< I > >::value [inherited] |
Image value type.
Definition at line 132 of file pixel_impl.hh.
| mln::pixel< I >::pixel | ( | I & | image | ) | [inline] |
Constructor.
Definition at line 75 of file core/pixel.hh.
| mln::pixel< I >::pixel | ( | I & | image, | |
| const typename I::psite & | p | |||
| ) | [inline] |
| value** mln::internal::pixel_impl_< I, pixel< I > >::address_ | ( | ) | const [inherited] |
Address of the current iterator value/pixel.
| void mln::pixel< I >::change_to | ( | const typename I::psite & | p | ) | [inline] |
Change the pixel to the one at point p.
Definition at line 92 of file core/pixel.hh.
Referenced by mln::pixel< I >::pixel().
| I& mln::internal::pixel_impl_< I, pixel< I > >::ima | ( | ) | const [inherited] |
Give the pixel image.
| bool mln::pixel< I >::is_valid | ( | ) | const [inline] |
Test if this pixel is valid.
Definition at line 101 of file core/pixel.hh.
| mln::Generalized_Pixel< pixel< I > >::operator unsigned | ( | ) | const [inline, inherited] |
Definition at line 65 of file generalized_pixel.hh.
| lvalue mln::internal::pixel_impl_< I, pixel< I > >::val | ( | ) | [inherited] |
pixel iterator value.
Referenced by mln::io::raw::internal::load_data(), mln::io::dump::internal::load_data(), mln::io::raw::internal::save_data(), and mln::io::dump::internal::save_data().
| rvalue mln::internal::pixel_impl_< I, pixel< I > >::val | ( | ) | const [inherited] |
Get the pixel iterator value.
1.7.1