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 ()
 

Detailed Description

Definition at line 16 of file PclCloudLUT.h.

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()).

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().

◆ data()

const unsigned char * PclCloudLUT::data ( )
static

Get a raw pointer to the lookup table.

Definition at line 49 of file PclCloudLUT.cpp.

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).

Definition at line 47 of file PclCloudLUT.cpp.

References CloudLUT_SIZE.


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