I solved it in this way, in SetRotation can be defined the rotation point, which is previously translated.
gp_Pnt pto2t(translation.x(),translation.y(),translation.z());
rotxTrsf.SetRotation(gp_Ax1(pto2t,gp_Dir(1,0,0)),DEGREE2RAD( rotation.x()))...
Hi, sorry for skipping that info.
what I want to do is just modify the location of a previously created AIS_Shape. I am using a UI in which I have some spinboxes that will control the Rotation and Translation in X,Y,Z axis.
Hi everyone,
Could someone help me on how to visualize the orientation cube showing the position of the camera, also how could I orient the camera view along the preferred axis.
Thanks
regards