Namespaces | Typedefs | Functions
color.h File Reference
#include <array>
#include "cartographer/common/math.h"
#include "cartographer/common/port.h"
Include dependency graph for color.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 cartographer
 
 cartographer::io
 

Typedefs

using cartographer::io::FloatColor = std::array< float, 3 >
 
using cartographer::io::Uint8Color = std::array< uint8, 3 >
 

Functions

uint8 cartographer::io::FloatComponentToUint8 (float c)
 
FloatColor cartographer::io::GetColor (int id)
 
FloatColor cartographer::io::ToFloatColor (const Uint8Color &color)
 
Uint8Color cartographer::io::ToUint8Color (const FloatColor &color)
 
float cartographer::io::Uint8ComponentToFloat (uint8 c)
 


cartographer
Author(s): The Cartographer Authors
autogenerated on Mon Feb 28 2022 22:00:59