Point Cloud Library (PCL)  1.9.1-dev
List of all members | Static Public Member Functions
pcl::ColorLUT< T > Class Template Reference

#include <pcl/common/colors.h>

Static Public Member Functions

static RGB at (size_t color_id)
 Get a color from the lookup table with a given id. More...
 
static size_t size ()
 Get the number of colors in the lookup table. More...
 
static const unsigned char * data ()
 Get a raw pointer to the lookup table. More...
 

Detailed Description

template<ColorLUTName T>
class pcl::ColorLUT< T >

Definition at line 62 of file colors.h.

Member Function Documentation

template<ColorLUTName T>
static RGB pcl::ColorLUT< T >::at ( size_t  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()).

Referenced by pcl::visualization::PointCloudColorHandlerLabelField< PointT >::getColor().

template<ColorLUTName T>
static const unsigned char* pcl::ColorLUT< T >::data ( )
static

Get a raw pointer to the lookup table.

template<ColorLUTName T>
static size_t pcl::ColorLUT< T >::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).

Referenced by pcl::visualization::PointCloudColorHandlerLabelField< PointT >::getColor().


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