pythonocc-core
pythonocc-core copied to clipboard
How to Dispaly point cloud like Heatmap ?
I want to use Opencascade to dispaly point cloud with color ( picture 1) like a Heatmap (picture 2,Geomagic Control Display) . However,I found that setting the presentation attributes->point aspect property is not useful . Reference:[https://github.com/tpaviot/pythonocc-core/issues/744] The point cloud size is about 350,000 points.if I use BRep spheres centered at each point, it's very very slow. This has bothring me for days ,Thanks please.


@tpaviot is there any method that can display point cloud like this? Thank You !
I think there is, but I don't know how to do it.
I think there is, but I don't know how to do it.
Thank you for your time!
At the beginning,I want to Set the presentation attributes to make the points in cloud seems "Bigger".Code like this two lines:
aPointCloud->Attributes()->PointAspect()->SetScale(10);
myAISContext->DefaultDrawer()->PointAspect()->SetScale(10)
but they didnot work.
If you have any ideas, please let me know.Or can you tell me if there are any similar examples?
Thanks a lot!