
Tue, 05/12/2020 - 10:57
Forums:
Hello there,
I'm working on MFC samples, specifically, Animation sample but while the fan is moving I cannot do any other functionality like zoom-in, select it... In other words, when I do so the movement of the fan is stopped.
After searching I get the reason, which is all these functionalities are in the same thread (main thread) alongside the animation process. So, I tried to put the animation process in other thread but when I call UpdateCurrentViewer() inside the thread, it seems to be invisible to it (maybe it doesn't executed).
Thanks in advance,
Tue, 05/12/2020 - 23:22
No, OCCT classes do not provide any implicit thread-safety, as long as documentation of specific class does not clearly state opposite.
Wed, 05/13/2020 - 15:34
thanks Mr.Gavrilov
I have faced the same problem , would you Suggest any solution ?
I need to do animation and other functionalities like rotate and zoom-in at the same time .
thanks again
Sun, 05/17/2020 - 19:15
I would suggest looking into direction of AIS_Animation class for defining animation pipeline in 3D viewer.
Sat, 05/23/2020 - 09:26
I use this code in my product, it can run,but cannot rotation and other interactive, Need other define?
Sat, 05/23/2020 - 09:24
I use this code in my product, it can run,but cannot rotation and other interactive, Need other define?
Sat, 01/09/2021 - 22:26
Any solution?