cv::viz::WCloud can't set PRESENTATION as viz::REPRESENTATION_SURFACE for rendering (Bug #4369)


Added by Yida Wang almost 10 years ago. Updated almost 10 years ago.


Status:Cancelled Start date:2015-05-30
Priority:Normal Due date:
Assignee:Anatoly Baksheev % Done:

0%

Category:viz
Target version:3.0
Affected version:branch 'master' (3.0-dev) Operating System:Linux
Difficulty:Medium HW Platform:x64
Pull request:

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

Also available in: Atom PDF