[problem]
I deal with the same point cloud later became a different part of the point cloud, want to batch definition, according to the different color and
Above is my own test demo, according to the present to the photo seems to want to custom show point cloud can only use PCLvisualizer color, the color parameters in addPointCloud
Photo: the visualization: : PointCloudColorHandlerCustom
PC [0] is the point of the first batch I read them, and then I pressed PCH into vector, another point cloud want to use green,
PCH - & gt; PointCloudColorHandlerCustom (PC [1], 0, 0, 255);
Then an error C2819 "photo: : the visualization: : PointCloudColorHandlerCustom
[demand]
Want to can you tell me how to solve this error, bosses don't want to change a photo class definition of increasing load? Or any other method can display the point cloud and customize their bulk color? thank you