#include <ImageGS.hpp>
Inherits Image< T >.

Public Member Functions | |
| ImageGS () | |
| Constructor to build a 0 size image. | |
| ImageGS (const size_t w, const size_t h, T *buffer=NULL) | |
| Constructor to build an allocated empty image Grey Scale or an image from a raw data buffer. | |
| ImageGS (const ImageGS &e) | |
| Copy Constructor. | |
| virtual | ~ImageGS () |
| dealoccates image data | |
| virtual T & | at (const unsigned int x, const unsigned int y) |
| get value of the asked pixel (with bounds checking) | |
| virtual T & | operator() (const unsigned int x, const unsigned int y) |
| get value of the asked pixel | |
Definition at line 53 of file ImageGS.hpp.
| kn::ImageGS< T >::ImageGS | ( | ) | [inline] |
| kn::ImageGS< T >::ImageGS | ( | const size_t | w, | |
| const size_t | h, | |||
| T * | buffer = NULL | |||
| ) | [inline] |
Constructor to build an allocated empty image Grey Scale or an image from a raw data buffer.
| w | width of the image | |
| h | height of the image | |
| buffer | optional data buffer WHICH IS NOT COPYIED |
Definition at line 115 of file ImageGS.hpp.
| kn::ImageGS< T >::ImageGS | ( | const ImageGS< T > & | e | ) | [inline] |
| kn::ImageGS< T >::~ImageGS | ( | void | ) | [inline, virtual] |
| virtual T& kn::ImageGS< T >::at | ( | const unsigned int | x, | |
| const unsigned int | y | |||
| ) | [inline, virtual] |
get value of the asked pixel (with bounds checking)
| x | width position of the pixel | |
| y | height position of the pixel |
Definition at line 82 of file ImageGS.hpp.
| virtual T& kn::ImageGS< T >::operator() | ( | const unsigned int | x, | |
| const unsigned int | y | |||
| ) | [inline, virtual] |
get value of the asked pixel
| x | width position of the pixel | |
| y | height position of the pixel |
Definition at line 96 of file ImageGS.hpp.
1.5.8