![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
#include <PclCloudLUT.h>
Static Public Member Functions | |
| static pcl::RGB | at (int color_id) |
| static size_t | size () |
| static const unsigned char * | data () |
Definition at line 16 of file PclCloudLUT.h.
|
static |
Get a color from the lookup table with a given id.
The id should be less than the size of the LUT (see size()).
Definition at line 24 of file PclCloudLUT.cpp.
References ecvColor::LookUpTable::at(), ecvColor::RgbTpl< Type >::b, CloudLUT, color, ecvColor::RgbTpl< Type >::g, and ecvColor::RgbTpl< Type >::r.
Referenced by PclPointCloudColorHandlerLUT< PointT >::getColor().
|
static |
Get a raw pointer to the lookup table.
Definition at line 49 of file PclCloudLUT.cpp.
References CloudLUT.
|
static |
Get the number of colors in the lookup table.
Note: the number of colors is different from the number of elements in the lookup table (each color is defined by three bytes).
Definition at line 47 of file PclCloudLUT.cpp.
References CloudLUT_SIZE.