rapid
A ROS robotics library.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
point_cloud.h
Go to the documentation of this file.
1 #ifndef _RAPID_VIZ_POINT_CLOUD_H_
2 #define _RAPID_VIZ_POINT_CLOUD_H_
3 
4 #include "pcl/point_cloud.h"
5 #include "pcl/point_types.h"
6 
7 namespace rapid {
8 namespace viz {
9 // Set the color of a point cloud for visualization.
10 void Colorize(pcl::PointCloud<pcl::PointXYZRGB>::Ptr cloud, double r, double g,
11  double b);
12 // Set the color of a point cloud for visualization randomly.
13 void ColorizeRandom(pcl::PointCloud<pcl::PointXYZRGB>::Ptr cloud);
14 } // namespace viz
15 } // namespace rapid
16 
17 #endif // _RAPID_VIZ_POINT_CLOUD_H_
void Colorize(pcl::PointCloud< pcl::PointXYZRGB >::Ptr cloud, double r, double g, double b)
void ColorizeRandom(pcl::PointCloud< pcl::PointXYZRGB >::Ptr cloud)