Go to the documentation of this file.00001 
00059 
00060 
00061 
00062 
00063 
00064 
00065 
00066 #ifndef LABELING_H_
00067 #define LABELING_H_
00068 
00069 
00070 template<typename Point>
00071 void SetLabeledPoint(Point &pt, const int mark)
00072 {
00073   srand(mark);
00074   int color = rand();
00075   pt.r= (color>>0)&0xff;
00076   pt.g= (color>>8)&0xff;
00077   pt.b=(color>>16)&0xff;
00078 }
00079 
00080 template<>
00081 void SetLabeledPoint<PointXYZLabel>(PointXYZLabel &pt, const int mark)
00082 {
00083 }
00084 
00085 template<>
00086 void SetLabeledPoint<PointXYZILabel>(PointXYZILabel &pt, const int mark)
00087 {
00088 }
00089 
00090 
00091 
00092 
00093 #endif