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