35 #ifndef ROBOT_NAV_RVIZ_PLUGINS_SPECTRUM_PALETTE_H 36 #define ROBOT_NAV_RVIZ_PLUGINS_SPECTRUM_PALETTE_H 60 bool transparent_minimum =
true);
70 bool transparent_minimum =
true);
74 std::vector<color_util::ColorRGBA24>
getColors()
const override;
81 #endif // ROBOT_NAV_RVIZ_PLUGINS_SPECTRUM_PALETTE_H bool hasTransparency() const override
See if the palette has any transparent colors.
color_util::ColorHSVA color_a_
Easy class to generate palettes that simply blend two colors together.
Several reusable pieces for displaying polygons.
SpectrumPalette(const color_util::ColorRGBA24 &color_a, const color_util::ColorRGBA24 &color_b, bool transparent_minimum=true)
Constructor for a blend of colors from color_a to color_b.
bool transparent_minimum_
A simple datastructure representing a palette of up to 256 24-bit colors.
std::vector< color_util::ColorRGBA24 > getColors() const override
The actual definition of the colors.
color_util::ColorHSVA color_b_