You can specify a UserTransform on the actors in your renderer via a SetUserTransform. Scale the Z component of the matrix here. (see vtkProp3D::SetUserTransform or SetUserMatrix). <br><br>Certain actors like the widgets will not play well with the user transform<br>
<br><br><div class="gmail_quote">On Mon, Jan 10, 2011 at 9:01 AM, Martin Olson <span dir="ltr"><<a href="mailto:martinolson1024@gmail.com">martinolson1024@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I would like to add different objects to my rendering pipeline, and in the end have a 3D view where the z-axis is stretched with a factor of 3.<br>I know I can do this by manipulating all the objects I add to the pipeline. But is it possible to just specify this for the renderer instead, so it applies to the whole pipeline? <br>
<br>I am new to vtk. I hope the question is not too silly.<br><font color="#888888"><br><br>- Martin<br>
<br>
</font><br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br>