17 bool use_standard_colors_first):
51 else if (!used_green) {
54 else if (!used_blue) {
const Scalar * const_iterator
#define THROW_EXCEPTION(msg)
Classes for serialization, sockets, ini-file manipulation, streams, list of properties-values,...
static TColor green
Predefined colors.
static TColor blue
Predefined colors.
static TColor red
Predefined colors.
mrpt::utils::TColor color_step_triad
bool use_standard_colors_first
Indicates if the standard colors are to be returned first.
std::set< mrpt::utils::TColor > used_colors
bool have_exceeded_colors
TColorManager(bool use_standard_colors_first=true)
Constructor.
void advanceRGBCounters()
mrpt::utils::TColorf getNextTColorf()
Get the next RGB triad in TColorf form.
void markColorAsUsed(mrpt::utils::TColor color)
Mark the given color as used.
void reset()
Reset all class properties to their default values.
mrpt::utils::TColor curr_color
mrpt::utils::TColor getNextTColor()
Get the next RGB triad in TColor form.
~TColorManager()
Destructor.
const uint8_t color_thresh
bool checkStdColorsUsed()
Check if the standard colors have already been used.
bool have_used_standard_colors
Indicates if the standard colors have already been used.
A RGB color - floats in the range [0,1].