ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
PclCloudLUT Class Reference

#include <PclCloudLUT.h>

Static Public Member Functions

static pcl::RGB at (int color_id)
 
static size_t size ()
 
static const unsigned char * data ()
 

Member Function Documentation

◆ at()

pcl::RGB PclCloudLUT::at ( int  color_id)
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()).

References ecvColor::LookUpTable::at(), ecvColor::RgbTpl< Type >::b, CloudLUT, color, ecvColor::RgbTpl< Type >::g, and ecvColor::RgbTpl< Type >::r.

Referenced by PclPointCloudColorHandlerLUT< PointIntensity >::getColor().

◆ data()

const unsigned char * PclCloudLUT::data ( )
static

Get a raw pointer to the lookup table.

References CloudLUT.

◆ size()

size_t PclCloudLUT::size ( )
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).

References CloudLUT_SIZE.


The documentation for this class was generated from the following files: