bool use_standard_colors_first
Indicates if the standard colors are to be returned first.
void reset()
Reset all class properties to their default values.
~TColorManager()
Destructor.
bool have_used_standard_colors
Indicates if the standard colors have already been used.
mrpt::img::TColor color_step_triad
TColorManager(bool use_standard_colors_first=true)
Constructor.
const uint8_t color_thresh
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
mrpt::img::TColor curr_color
std::set< mrpt::img::TColor > used_colors
mrpt::img::TColorf getNextTColorf()
Get the next RGB triad in TColorf form.
bool have_exceeded_colors
A RGB color - floats in the range [0,1].
mrpt::img::TColor getNextTColor()
Get the next RGB triad in TColor form.
bool checkStdColorsUsed()
Check if the standard colors have already been used.
Manage R, G, B color triads and ask class instance of the next unique RGB combination.
void advanceRGBCounters()
void markColorAsUsed(mrpt::img::TColor color)
Mark the given color as used.
Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST | |