latest version v1.9 - last update 10 Apr 2010 |
This file contains the definitions of the basic color types used in the LTI-Lib:
More...#include <iostream>
#include "ltiIoHandler.h"
#include "ltiConfig.h"
#include "ltiAssert.h"
#include "ltiTypes.h"
Go to the source code of this file.
Classes | |
class | lti::rgbPixel |
Color pixel representation in RGB color space. More... | |
union | lti::rgbPixel::rgbPixelType |
this union allows to share the memory of a 32 bit integer with the three ubytes of RGB and a alpha byte. More... | |
struct | lti::rgbPixel::rgbPixelType::channelsType |
the three channels More... | |
class | lti::trgbPixel< T > |
Template to use RGB pixel representations of types other than ubyte . More... | |
Namespaces | |
namespace | lti |
namespace | std |
Typedefs | |
typedef trgbPixel< double > | lti::drgbPixel |
typedef trgbPixel< float > | lti::frgbPixel |
typedef trgbPixel< int > | lti::irgbPixel |
Functions | |
bool | lti::read (ioHandler &handler, rgbPixel &p, const bool=true) |
bool | lti::write (ioHandler &handler, const rgbPixel &p, const bool=true) |
template<class T > | |
bool | lti::read (ioHandler &handler, trgbPixel< T > &p, const bool complete=true) |
template<class T > | |
bool | lti::write (ioHandler &handler, const trgbPixel< T > &p, const bool complete=true) |
Constants for the primary and secondary colors, as well as | |
const rgbPixel | lti::Black (0, 0, 0, 0) |
const rgbPixel | lti::Red (255, 0, 0, 0) |
const rgbPixel | lti::Green (0, 255, 0, 0) |
const rgbPixel | lti::Blue (0, 0, 255, 0) |
const rgbPixel | lti::Yellow (255, 255, 0, 0) |
const rgbPixel | lti::Magenta (255, 0, 255, 0) |
const rgbPixel | lti::Cyan (0, 255, 255, 0) |
const rgbPixel | lti::White (255, 255, 255, 0) |
This file contains the definitions of the basic color types used in the LTI-Lib: