Open CASCADE, the 3D modelling kernel
3D modeling & numerical simulation

Search the Forums
See All Topics
 

Hilighting of related objects

Hilighting of related objects
Linden 2012/10/08 18:25
Hello,

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
 
 
Latest news
  • New features to enhance the development process
  • Open CASCADE Technology 6.7.1 is available for download!
  • Open CASCADE Technology 6.7.0 is available for download!

  • © OPEN CASCADE 2000 - 2014  |  Search  |  Contacts   |  Site map