LIBRCSC Docs
Documentation for HELIOS's BASE LIBRCSC library for RoboCup 2D Simulation League.
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Member Functions | Protected Member Functions | List of all members
rcsc::GradationColorProvider Class Reference

gradation color provider class for converting float value to a color More...

#include <gradation_color_provider.h>

Inheritance diagram for rcsc::GradationColorProvider:
Inheritance graph
[legend]

Public Member Functions

virtual ~GradationColorProvider ()=default
 virtual destructor.
 
RGBColor convertToColor (const double value) const
 

Protected Member Functions

 GradationColorProvider ()=default
 protected constructor
 
void addColor (const RGBColor &color)
 add new color that means the highest value. More...
 

Detailed Description

gradation color provider class for converting float value to a color

Member Function Documentation

◆ addColor()

void rcsc::GradationColorProvider::addColor ( const RGBColor color)
protected

add new color that means the highest value.

Parameters
colorcolor value.

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