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

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

Inheritance diagram for robot_nav_rviz_plugins::Rainbow2Palette:
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 red to purple with transparent 0.

Definition at line 176 of file basic_palettes.cpp.

Member Function Documentation

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

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

Unique descriptive name for this particular palette.

Implements robot_nav_rviz_plugins::NavGridPalette.

Definition at line 179 of file basic_palettes.cpp.

bool robot_nav_rviz_plugins::Rainbow2Palette::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 180 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