mln::pixel< I > Struct Template Reference

Generic pixel class. More...

#include <pixel.hh>

Inheritance diagram for mln::pixel< I >:

Inheritance graph

List of all members.

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.
 pixel (I &image, const typename I::psite &p)
 Constructor.
 pixel (I &image)
 Constructor.


Detailed Description

template<typename I>
struct mln::pixel< I >

Generic pixel class.

The parameter is I the type of the image it belongs to.


Constructor & Destructor Documentation

template<typename I >
mln::pixel< I >::pixel ( I &  image  )  [inline]

Constructor.

template<typename I >
mln::pixel< I >::pixel ( I &  image,
const typename I::psite &  p 
) [inline]

Constructor.

References mln::pixel< I >::change_to().


Member Function Documentation

template<typename I >
void mln::pixel< I >::change_to ( const typename I::psite &  p  )  [inline]

Change the pixel to the one at point p.

Referenced by mln::pixel< I >::pixel().

template<typename I >
bool mln::pixel< I >::is_valid (  )  const [inline]

Test if this pixel is valid.


Generated on Tue Jul 14 16:32:32 2009 for Milena (Olena) by  doxygen 1.5.9