Public Member Functions | Static Public Attributes | List of all members
robot_nav_rviz_plugins::NavGridPalette Class Referenceabstract

A simple datastructure representing a palette of up to 256 24-bit colors. More...

#include <nav_grid_palette.h>

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

Public Member Functions

virtual std::vector< color_util::ColorRGBA24getColors () const =0
 The actual definition of the colors. More...
 
virtual std::string getName () const =0
 Unique descriptive name for this particular palette. More...
 
virtual bool hasTransparency () const
 See if the palette has any transparent colors. More...
 
virtual ~NavGridPalette ()
 

Static Public Attributes

static const unsigned int NUM_CHANNELS = 4
 
static const unsigned int NUM_COLORS = 256
 

Detailed Description

A simple datastructure representing a palette of up to 256 24-bit colors.

Designed to be loaded via pluginlib

Definition at line 50 of file nav_grid_palette.h.

Constructor & Destructor Documentation

virtual robot_nav_rviz_plugins::NavGridPalette::~NavGridPalette ( )
inlinevirtual

Definition at line 55 of file nav_grid_palette.h.

Member Function Documentation

virtual std::vector<color_util::ColorRGBA24> robot_nav_rviz_plugins::NavGridPalette::getColors ( ) const
pure virtual
virtual std::string robot_nav_rviz_plugins::NavGridPalette::getName ( ) const
pure virtual
virtual bool robot_nav_rviz_plugins::NavGridPalette::hasTransparency ( ) const
inlinevirtual

Member Data Documentation

const unsigned int robot_nav_rviz_plugins::NavGridPalette::NUM_CHANNELS = 4
static

Definition at line 53 of file nav_grid_palette.h.

const unsigned int robot_nav_rviz_plugins::NavGridPalette::NUM_COLORS = 256
static

Definition at line 53 of file nav_grid_palette.h.


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