Hello. I need to rotate the whole scene by using a mouse. I am a little bit confused by a variety of Rotate functions found in V3dView class: https://www.opencascade.com/doc/occt-7.3.0/refman/html/class_v3d___view.html
I have found an example which just grabs mouse coordinates and directly places them into Rotate function, like this:
myViewInstance->Rotate(xMouseCoord, yMouseCoord); myViewInstance->Rotation(xMouseCoord, yMouseCoord);
The rotation is done way too fast for a slightest mouse move.
How does the rotation of view work? What is the difference between all these routines?
I have seen such routines for rotating point of view:
- Three Turn() routines
- Five Rotate routines
- One Rotation routine
- One StartRotation routine
- One SetEye Routine (it's as for a last resort)
How do I use these correctly to rotate a point of view?