cv::viz::WCloud can't set PRESENTATION as viz::REPRESENTATION_SURFACE for rendering (Bug #4369)
Description
I try to render the cloud points in to surfaces by these code:
viz::WCloud cloud_widget(ape_cloud, viz::Color::green());
myWindow.showWidget("ape", cloud_widget, cloud_pose_global);
cloud_widget.setRenderingProperty(viz::REPRESENTATION,viz::REPRESENTATION_SURFACE);
but the Widget still only showing the cloud points about my object "ape", then I check the "PRESENTATION" by calling :
int property_cloud = cloud_widget.getRenderingProperty(viz::REPRESENTATION);
and the returning int 2 shows that I have already changed the PRESENTATION to viz::REPRESENTATION_SURFACE, I also tried this on cubic widget but still can't get a surface rendering object
History
Updated by Anatoly Baksheev almost 10 years ago
Not a bug. Cloud doesn't support representation surface. Only Mesh and some other widgets.
- Status changed from New to Cancelled