Main MRPT website > C++ reference
MRPT logo
Namespaces | Enumerations | Functions

color_maps.h File Reference

#include <mrpt/utils/utils_defs.h>
Include dependency graph for color_maps.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  mrpt
 

This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.


namespace  mrpt::utils
 

Classes for serialization, sockets, ini-file manipulation, streams, list of properties-values, timewatch, extensions to STL.


Enumerations

enum  mrpt::utils::TColormap { mrpt::utils::cmGRAYSCALE = 0, mrpt::utils::cmJET }
 

Different colormaps.

More...

Functions

void BASE_IMPEXP mrpt::utils::hsv2rgb (float h, float s, float v, float &r, float &g, float &b)
 Transform HSV color components to RGB, all of them in the range [0,1].
void BASE_IMPEXP mrpt::utils::rgb2hsv (float r, float g, float b, float &h, float &s, float &v)
 Transform RGB color components to HSV, all of them in the range [0,1].
void BASE_IMPEXP mrpt::utils::colormap (const TColormap &color_map, const float color_index, float &r, float &g, float &b)
 Transform a float number in the range [0,1] into RGB components.
void BASE_IMPEXP mrpt::utils::jet2rgb (const float color_index, float &r, float &g, float &b)
 Computes the RGB color components (range [0,1]) for the corresponding color index in the range [0,1] using the MATLAB 'jet' colormap.



Page generated by Doxygen 1.7.3 for MRPT 0.9.4 SVN: at Sat Mar 26 06:40:17 UTC 2011