<meta http-equiv="content-type" content="text/html; charset=utf-8"><div class="gmail_quote">On Thu, Aug 4, 2011 at 4:56 PM, David Brayford <span dir="ltr">&lt;<a href="mailto:dbrayford@gmail.com">dbrayford@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<br>
I am trying to translate a scene along one axis and would normally<br>
translate the camera position rather than apply the translation to the<br>
whole scene. However, I don&#39;t know the commands to do the equivalent<br>
of glTranslate(20, 0, 0); or the equivalent rotation glRotate(theta,<br>
1, 0, 0). I am finding the transformations in VTK difficult to<br>
implement, even though I know the required mathematical operations.<br>
<br>
Thanks<br>
David<br></blockquote><div><br></div><div>Please take a look at this example:</div><div> <a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/TransformActor">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/TransformActor</a></div>
<meta http-equiv="content-type" content="text/html; charset=utf-8"><br>David<br></div>