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

Rainbow hued palette from purple to red with transparent 0. More...

Inheritance diagram for robot_nav_rviz_plugins::RainbowPalette:
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

Rainbow hued palette from purple to red with transparent 0.

Definition at line 153 of file basic_palettes.cpp.

Member Function Documentation

std::vector<ColorRGBA24> robot_nav_rviz_plugins::RainbowPalette::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 158 of file basic_palettes.cpp.

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

Unique descriptive name for this particular palette.

Implements robot_nav_rviz_plugins::NavGridPalette.

Definition at line 156 of file basic_palettes.cpp.

bool robot_nav_rviz_plugins::RainbowPalette::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 157 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