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.
static constexpr TColor red()
Predefined colors.
~TColorManager()
Destructor.
const Scalar * const_iterator
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
#define THROW_EXCEPTION(msg)
#define ASSERT_(f)
Defines an assertion mechanism.
mrpt::img::TColor curr_color
static constexpr TColor green()
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.
static constexpr TColor blue()
bool checkStdColorsUsed()
Check if the standard colors have already been used.
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 | |