49 #ifndef ACG_COLORTRANSLATOR_HH 50 #define ACG_COLORTRANSLATOR_HH 57 #include <ACG/Config/ACGDefines.hh> 58 #include <ACG/Math/VectorT.hh> 81 red_bits_(0), green_bits_(0), blue_bits_(0), alpha_bits_(0),
82 red_mask_(0), green_mask_(0), blue_mask_(0), alpha_mask_(0),
83 red_shift_(0), green_shift_(0), blue_shift_(0), alpha_shift_(0),
84 red_round_(0), green_round_(0), blue_round_(0), alpha_round_(0)
100 Vec4uc index2color(
const size_t _idx)
const;
103 size_t color2index(
const Vec4uc _rgba)
const;
107 size_t max_index()
const;
113 GLint red_bits_, green_bits_, blue_bits_, alpha_bits_;
114 GLuint red_mask_, green_mask_, blue_mask_, alpha_mask_;
115 GLuint red_shift_, green_shift_, blue_shift_, alpha_shift_;
116 GLuint red_round_, green_round_, blue_round_, alpha_round_;
123 #endif // ACG_COLORTRANSLATOR_HH defined
Namespace providing different geometric functions concerning angles.
bool initialized() const
has it been initialized?
~ColorTranslator()
Destructor.
ColorTranslator()
Default constructor.