utilisation interne. More...
#include <Image.h>
Public Member Functions | |
| TImage (const int width, const int height) | |
| 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. | |
| int | width () const |
| renvoie la largeur de l'image. | |
| int | height () const |
| renvoie la hauteur de l'image. | |
| void | setPixel (const int x, const int y, const T &color) |
| remplace la couleur d'un pixel. | |
| const T & | getPixel (const int x, const 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.6.3