Hilighting of related objects
I want to group some TopoDS_Edges so that the complete group will be hilighted when I move the cursor over one of the objects in that group. Because I use a lot of edges (>700) I need to combine them into a TopoDS_Compound before displaying - otherwise panning and rotating is quite slow.
How would you recommend to archieve that? I tried to create my own filter and hilight the related edges from there - but that's quite ugly because I need to hold a copy of every object in memory. Is there a way to add an ID to objects and get objects by id from the context afterwards?
Is there a better way to archieve this?
Thanks in advance