33 #ifndef SIMPLE_GRASPING_CLOUD_TOOLS_H    34 #define SIMPLE_GRASPING_CLOUD_TOOLS_H    36 #include <Eigen/Eigen>    38 #include <pcl/point_types.h>    56 void hsv2rgb(
const float h, 
const float s, 
const float v, 
float& r, 
float& g, 
float& b);
    63 void colorizeCloud(pcl::PointCloud<pcl::PointXYZRGB>& cloud, 
float hue);
    70 template<
typename Po
intT>
    73   Eigen::Vector4f pp(point.x, point.y, point.z, 1);
    74   Eigen::Vector4f m(plane->values[0], plane->values[1], plane->values[2], plane->values[3]);
    83 double distancePointToPlane(
const Eigen::Vector4f& point, 
const pcl::ModelCoefficients::Ptr plane);
    87 #endif  // SIMPLE_GRASPING_CLOUD_TOOLS_H double distancePointToPlane(const PointT &point, const pcl::ModelCoefficients::Ptr plane)
Get distance from point to plane. 
void colorizeCloud(pcl::PointCloud< pcl::PointXYZRGB > &cloud, float hue)
Update rgb component of an XYZRGB cloud to a new HSV color. 
void hsv2rgb(const float h, const float s, const float v, float &r, float &g, float &b)
Fill in RGB values from HSV values.