35 #ifndef ROBOT_NAV_RVIZ_PLUGINS_NAV_GRID_PALETTE_H 36 #define ROBOT_NAV_RVIZ_PLUGINS_NAV_GRID_PALETTE_H 60 virtual std::string
getName()
const = 0;
66 virtual std::vector<color_util::ColorRGBA24>
getColors()
const = 0;
77 if (color.a < 255)
return true;
85 #endif // ROBOT_NAV_RVIZ_PLUGINS_NAV_GRID_PALETTE_H
virtual ~NavGridPalette()
static const unsigned int NUM_CHANNELS
virtual std::vector< color_util::ColorRGBA24 > getColors() const =0
The actual definition of the colors.
static const unsigned int NUM_COLORS
virtual bool hasTransparency() const
See if the palette has any transparent colors.
Several reusable pieces for displaying polygons.
virtual std::string getName() const =0
Unique descriptive name for this particular palette.
A simple datastructure representing a palette of up to 256 24-bit colors.