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