when a object of class AIS_InteractiveObject is selected, which functions will be invoked automatically?
I want to rewrite the automatically invoked functions.
thanks in advance!
zhangzhigang824 Tue, 04/28/2009 - 11:31
Hi ,
The problem is:
There are four AIS_InteractiveObject objects, at the beginning only one object is visible. when I select the visible object, the other three objects will display automatically.
You could play with the result of AIS_InteractiveContext::MoveTo, AIS_InteractiveContext::HasDetected and other *Detected* methods. If your object has been detected then display the others, otherwise be sure they are not shown.
Tue, 04/28/2009 - 11:31
Hi ,
The problem is:
There are four AIS_InteractiveObject objects, at the beginning only one object is visible. when I select the visible object, the other three objects will display automatically.
How can I realize this function?
thanks in advance!
Tue, 04/28/2009 - 12:41
You could play with the result of AIS_InteractiveContext::MoveTo, AIS_InteractiveContext::HasDetected and other *Detected* methods. If your object has been detected then display the others, otherwise be sure they are not shown.
Wed, 04/29/2009 - 05:45
Hi Paul,
Thank you very much, T will try it.