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

Search the Forums
See All Topics
 

Anyone Know how to select all the objects contained partially into a rectangle?

Anyone Know how to select all the objects contained partially into a rectangle?
Shockwave 2011/09/20 21:01
I have seen that with NIS_View it's possible to select object contained on a rectangle that are fully contained in it or not (using a flag on the Selection function of the NIS_View), but this only works with a NIS_InteractiveObject.
Using the old AIS_InteractiveObject the selection is made with the AIS_InteractiveContext that can make the selection of the objects contained on a rectangle but only the fully contained objects.
In the Select funtion of the AIS_InteractiveContext there is no possibility to specify the 2 cases (Fully contained or Partially contained).
Is there a way to implement the selection of AIS_InteractiveObject (AIS_Line, AIS_Shape...) that are partially contained in a rectangle with the AIS (using AIS_InteractiveContext)?
If now there is not an explicit support for doing this it will be a very useful upgrade for the next release of OpenCascade.
Shockwave 2012/07/02 01:23
Any ideas?
 
 
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