Public Member Functions | List of all members
robot_nav_rviz_plugins::DistinctPalette Class Reference

List of distinct colors for displaying individual categories. More...

Inheritance diagram for robot_nav_rviz_plugins::DistinctPalette:
Inheritance graph
[legend]

Public Member Functions

std::vector< ColorRGBA24getColors () const override
 The actual definition of the colors. More...
 
std::string getName () const override
 Unique descriptive name for this particular palette. More...
 
bool hasTransparency () const override
 See if the palette has any transparent colors. More...
 
- Public Member Functions inherited from robot_nav_rviz_plugins::NavGridPalette
virtual ~NavGridPalette ()
 

Additional Inherited Members

- Static Public Attributes inherited from robot_nav_rviz_plugins::NavGridPalette
static const unsigned int NUM_CHANNELS = 4
 
static const unsigned int NUM_COLORS = 256
 

Detailed Description

List of distinct colors for displaying individual categories.

Definition at line 211 of file basic_palettes.cpp.

Member Function Documentation

std::vector<ColorRGBA24> robot_nav_rviz_plugins::DistinctPalette::getColors ( ) const
inlineoverridevirtual

The actual definition of the colors.

Returns
vector of up to 256 colors. Undefined behavior if more are returned.

Implements robot_nav_rviz_plugins::NavGridPalette.

Definition at line 217 of file basic_palettes.cpp.

std::string robot_nav_rviz_plugins::DistinctPalette::getName ( ) const
inlineoverridevirtual

Unique descriptive name for this particular palette.

Implements robot_nav_rviz_plugins::NavGridPalette.

Definition at line 214 of file basic_palettes.cpp.

bool robot_nav_rviz_plugins::DistinctPalette::hasTransparency ( ) const
inlineoverridevirtual

See if the palette has any transparent colors.

Can be overridden by implementing classes to save iterations

Reimplemented from robot_nav_rviz_plugins::NavGridPalette.

Definition at line 215 of file basic_palettes.cpp.


The documentation for this class was generated from the following file:


robot_nav_rviz_plugins
Author(s):
autogenerated on Sun Jan 10 2021 04:08:58