#include <pcl/common/colors.h>
Static Public Member Functions |
|
static RGB | at (std::size_t color_id) |
Get a color from the lookup table with a given id. More... |
|
static std::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
Member Function Documentation
at()
template<ColorLUTName T>
|
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().
data()
template<ColorLUTName T>
|
static |
Get a raw pointer to the lookup table.
size()
template<ColorLUTName T>
|
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:
- pcl/common/colors.h
© 2009–2012, Willow Garage, Inc.
© 2012–, Open Perception, Inc.
Licensed under the BSD License.
https://pointclouds.org/documentation/classpcl_1_1_color_l_u_t.html