Hello,
I am playing around a very basic your lesson "Lesson_04_HelloOpencascade" , because I have to fix some important concepts.
I have compiled and runned the application (see Imagine 1)
When I move the mouse over the shapes : Because of "m_context->Activate(4, true);" calling , then face outline under mouse is highlighted (cyan color) (see Imagine 2 / 3)
Now , my unresolved questions are :
1. I want be able to disable highlight of outline face. What's the way to do this? ( or better , I would like decide at runtime - for example clicking on toolbar button - if enable or disable the highlight . In some cases it can be useful, in other cases it is not
2. Is there a way to change default highlight color ( cyan) ?
I checked that in the function AdjustSelectionStyle ( AIS_Interactive_context) are improved functions acting on AIS_InteractiveContext , but I was not able find way to get results for question 1 and 2
Thanks in advance.
I am playing around a very basic your lesson "Lesson_04_HelloOpencascade" , because I have to fix some important concepts.
I have compiled and runned the application (see Imagine 1)
When I move the mouse over the shapes : Because of "m_context->Activate(4, true);" calling , then face outline under mouse is highlighted (cyan color) (see Imagine 2 / 3)
Now , my unresolved questions are :
1. I want be able to disable highlight of outline face. What's the way to do this? ( or better , I would like decide at runtime - for example clicking on toolbar button - if enable or disable the highlight . In some cases it can be useful, in other cases it is not
2. Is there a way to change default highlight color ( cyan) ?
I checked that in the function AdjustSelectionStyle ( AIS_Interactive_context) are improved functions acting on AIS_InteractiveContext , but I was not able find way to get results for question 1 and 2
Thanks in advance.