Hi all,<div><br></div><div>I've made a rotation to a vtkActor like that:</div><div><br></div><div>myActor->RotateWXYZ(45,1,0,0);</div><div><br></div><div>After it has been rotated, seems the subsequent rotations are applied over the current rotation angle.</div>
<div>How do I reset the rotation of my actor to the default value?</div><div><br></div><div>What I want to do is to allow the user to define an angle and make the actor rotate from its original position to that angle.</div>
<div>But it seems that the angles are acumulating. Like, if the user enters 45 degrees, the actor rotates 45 degrees.</div><div>But then, if the user types, let's say, 30, it seems the angles are summed and the actor gets a 75 degrees rotation.</div>
<div>How to solve that?</div><div><br></div><div>Thanks.</div>