38 #ifndef PCL_COMMON_COLORS_H
39 #define PCL_COMMON_COLORS_H
41 #include <pcl/pcl_macros.h>
42 #include <pcl/point_types.h>
62 template <ColorLUTName T>
71 static RGB at (
size_t color_id);
77 static size_t size ();
80 static const unsigned char*
data ();
A perceptually uniform colormap created by Stéfan van der Walt and Nathaniel Smith for the Python mat...
static RGB at(size_t color_id)
Get a color from the lookup table with a given id.
This file defines compatibility wrappers for low level I/O functions.
static const unsigned char * data()
Get a raw pointer to the lookup table.
ColorLUT< pcl::LUT_GLASBEY > GlasbeyLUT
ColorLUT< pcl::LUT_VIRIDIS > ViridisLUT
A structure representing RGB color information.
static size_t size()
Get the number of colors in the lookup table.
PCL_EXPORTS RGB getRandomColor(double min=0.2, double max=2.8)
Color lookup table consisting of 256 colors structured in a maximally discontinuous manner...