[vtkusers] Is it possible to stretch the z-axis of a vtkRenderer
Karthik Krishnan
karthik.krishnan at kitware.com
Mon Jan 10 00:56:46 EST 2011
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).
Certain actors like the widgets will not play well with the user transform
On Mon, Jan 10, 2011 at 9:01 AM, Martin Olson <martinolson1024 at gmail.com>wrote:
> 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.
> 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?
>
> I am new to vtk. I hope the question is not too silly.
>
>
> - Martin
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110110/c738fe0b/attachment.htm>
More information about the vtkusers
mailing list