utilisation interne. More...
#include <Image.h>
Public Types | |
| typedef T | pixel |
Public Member Functions | |
| TImage (const unsigned int width, const unsigned int height, const void *data=NULL) | |
| construction d'une image de dimension width x height. | |
| ~TImage () | |
| destructeur. | |
| bool | isColorImage () const |
| bool | isHdrImage () const |
| void * | data () |
| renvoie les donnees brutes de l'image. | |
| const void * | data () const |
| renvoie les donnees brutes de l'image. | |
| unsigned int | width () const |
| renvoie la largeur de l'image. | |
| unsigned int | height () const |
| renvoie la hauteur de l'image. | |
| void | setPixel (const unsigned int x, const unsigned int y, const T &color) |
| remplace la couleur d'un pixel. | |
| T | operator() (const unsigned int x, const unsigned int y) const |
| T & | operator() (const unsigned int x, const unsigned int y) |
| const T & | getPixel (const unsigned int x, const unsigned int y) const |
| renvoie la couleur d'un pixel. | |
utilisation interne.
representation d'une image, parametree par le type de pixel, cf. gk::Pixel et gk::HDRPixel. utiliser gk::Image et gk::HDRImage.
1.7.6.1