10 #ifndef TCOLORMANAGER_H 11 #define TCOLORMANAGER_H 20 namespace mrpt {
namespace utils {
std::set< mrpt::utils::TColor > used_colors
void advanceRGBCounters()
Manage R, G, B color triads and ask class instance of the next unique RGB combination.
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
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
~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.