Go to the documentation of this file.
3 #include <SimoxUtility/color/GlasbeyLUT.h>
8 return {
c(0),
c(1),
c(2),
c(3) };
18 return {
c.r,
c.g,
c.b };
27 return toDrawColor(simox::color::GlasbeyLUT::atf(
id, alpha));
38 return simox::color::GlasbeyLUT::size();
static DrawColor24Bit atByte(std::size_t id)
static std::size_t size()
Get the number of colors in the lookup table.;.
DrawColor toDrawColor(Eigen::Vector4f c)
static DrawColor at(std::size_t id, float alpha=1.f)
uint32_t Color
RGBA color.
static const std::vector< unsigned char > & data()
Get the raw lookup table (flat).
DrawColor24Bit toDrawColor24Bit(simox::Color c)
This file offers overloads of toIce() and fromIce() functions for STL container types.