[Paraview] Fwd: Parallel Projection and zoom
pat marion
pat.marion at kitware.com
Thu Jun 10 15:53:52 EDT 2010
>> I can do view.CameraParallelScale=1 and the value is changed but the view
is not....
Is it possible you just need to call Render() to update the view? It works
for me from python, if I enable parallel projection and adjust the scale-
view.CameraParallelProjection = 1
view.CameraParallelScale = 1.0
Render()
Pat
On Thu, Jun 10, 2010 at 2:46 PM, Bastil2001 at yahoo.de <Bastil2001 at yahoo.de>wrote:
> Dear all,
>
> I am very happy that 3.8.0 now has the option to save/load view. Very
> helpful. However when using parallel projection the parameter to control
> zooming is:
>
> - Not shown in the Adjust Camera GUI
> - Not saved with the views
>
> The only way I have so far is to query it from Python:
>
> >>>
> view=GetRenderView()
>
> >>>
> view.CameraParallelScale
>
> 2.7270467698171603
>
> However this is not so straight-forward. I also done't know how to
> modify it from within python. I can do
> view.CameraParallelScale=1 and the value is changed but the view is not....
>
> Regards Bastian
>
>
> _______________________________________________
> 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 ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20100610/bd59044c/attachment.htm>
More information about the ParaView
mailing list