34 #ifndef CARTOBASE_TYPE_RGB_DECL_H    35 #define CARTOBASE_TYPE_RGB_DECL_H    81                 const uint8_t &b = 0 );
   113       inline const uint8_t& 
red  ()
 const { 
return (*
this)[0]; }
   114       inline const uint8_t& 
green()
 const { 
return (*
this)[1]; }
   115       inline const uint8_t& 
blue ()
 const { 
return (*
this)[2]; }
   116       inline       uint8_t& 
red  ()       { 
return (*
this)[0]; }
   117       inline       uint8_t& 
green()       { 
return (*
this)[1]; }
   118       inline       uint8_t& 
blue ()       { 
return (*
this)[2]; }
 
VoxelRGB(const VoxelRGB &other)
VoxelRGB operator/(const VoxelRGB &aa, const uint8_t &bb)
VoxelRGB & operator+=(const VoxelRGB &other)
VoxelRGB & operator=(const VoxelRGB &other)
VoxelRGB operator+(const VoxelRGB &aa, const VoxelRGB &bb)
VoxelRGB & operator-=(const VoxelRGB &other)
Base class for any multichannel data (RGB, RGBA, HSV, ...) 
VoxelRGB operator*(const VoxelRGB &aa, const uint8_t &bb)
VoxelRGB & operator*=(const uint8_t &value)
VoxelRGB operator-(const VoxelRGB &aa, const VoxelRGB &bb)
static std::string dataType()
const uint8_t & blue() const
const uint8_t & green() const
VoxelRGB & operator/=(const uint8_t &value)
const uint8_t & red() const