Classes | |
class | PPMReader |
2D image PPM file format reader. More... | |
class | PPMWriter |
2D image PPM file format writer. More... | |
Functions | |
std::string | colorHumanReadable (int id) |
Convert a color value to human readable format. | |
uint32_t | getGradientColor (double position, uint8_t rgb[]) |
Converts a normalized Z value into an RGB color value. |
std::string cob_3d_mapping_common::colorHumanReadable | ( | int | id | ) |
uint32_t cob_3d_mapping_common::getGradientColor | ( | double | position, |
uint8_t | rgb[] | ||
) |
Converts a normalized Z value into an RGB color value.
[in] | position | the normalized Z value to be represented as color (0.0 for red, 1 for blue) |
[out] | the | output rgb color value separated
|