void markColorAsUsed(mrpt::img::TColor color)
Mark the given color as used.
void advanceRGBCounters()
bool checkStdColorsUsed()
Check if the standard colors have already been used.
mrpt::img::TColor getNextTColor()
Get the next RGB triad in TColor form.
mrpt::img::TColor color_step_triad
bool use_standard_colors_first
Indicates if the standard colors are to be returned first.
mrpt::img::TColorf getNextTColorf()
Get the next RGB triad in TColorf form.
~TColorManager()
Destructor.
const uint8_t color_thresh
void reset()
Reset all class properties to their default values.
A RGB color - floats in the range [0,1].
mrpt::img::TColor curr_color
bool have_used_standard_colors
Indicates if the standard colors have already been used.
bool have_exceeded_colors
TColorManager(bool use_standard_colors_first=true)
Constructor.
Manage R, G, B color triads and ask class instance of the next unique RGB combination.
std::set< mrpt::img::TColor > used_colors