This structure defines a set of RGB values. More...
#include "../include/RGB.h"
Public Member Functions | |
| int | init () |
| int | set (float r, float g, float b) |
| float | getRed () |
| float | getGrn () |
| float | getBlu () |
| bool | isWhite () |
| bool | isBlack () |
| int | print () |
Public Attributes | |
| float | red |
| float | grn |
| float | blu |
This structure defines a set of RGB values.
| float WXP::RGB::blu |
Its blue value (0-1)
Referenced by WXP::ColorMap::get(), WXP::Image::getRGB(), WXP::ImageMath::toGray(), and WXP::ImageMath::toIndex().
| float WXP::RGB::grn |
Its green value (0-1)
Referenced by WXP::ColorMap::get(), WXP::Image::getRGB(), WXP::ImageMath::toGray(), and WXP::ImageMath::toIndex().
| float WXP::RGB::red |
Its red value (0-1)
Referenced by WXP::ColorMap::get(), WXP::Image::getRGB(), WXP::ImageMath::toGray(), and WXP::ImageMath::toIndex().
1.6.1