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
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
An RGBA 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 2.0.4 at Sat Jun 27 14:00:59 UTC 2020 | |