Actions
Support Request #12000
closedSelect and change color of a point in a point cloud
Status:
Closed
Priority:
Normal
Customer:
AUDI
Department:
EFS
Requester's Priority:
Normal
Support Level:
2nd Level
Resolution:
Solved Issue
Product Issue Numbers:
Affected Products:
Platform:
Windows 10 64bit
Topic:
DisplayTB::3DSceneDisplay
FAQ Links:
Description
Supportanfrage
I have to show a huge number of points in a Point Cloud in an ADTF Mixin.
I managed to render the Point Cloud, but is there a possibility to select a single point from the cloud by a mouse click and change its color?
I am already using the cMixin::OnPick method for selecting other objects, but that works only if I draw points as osg::Geometry.
The cMixin::OnPick method does not record a mouse click on a point from a Point Cloud.
Thank you in advance.
Lösung
As you have already found out, the built in pick mechanism relies on osgUtil::LineSegmentIntersector which can only intersect with geometries. If you're rendering the Point Cloud with raw GL commands, you're currently out of luck, sorry.
Actions