<p dir="ltr">Den 21 mars 2017 3:39 em skrev "Stefan Pfeifer" <<a href="mailto:s-pfeifer@gmx.net">s-pfeifer@gmx.net</a>>:<br>
><br>
> Hi everyone,<br>
><br>
> So the vtkCamera interprets the view angle as vertical by default. This can be changed via<br>
><br>
>     camera->SetUseHorizontalViewAngle(true);<br>
><br>
> One of the effects is that the resizing behaviour of the windows changes: The view now gets adjusted when the window's width changes, not the height as before. At least that's my use case.<br>
><br>
> My problem is that this doesn't work with the parallel projection, as there is no equivalent method to change the direction of the ParallelScale. It's always vertical. So my suggestion would be to add exactly that. Maybe call it SetUseHorizontalParallelScale so it would be consistent with the Get/Set methods:<br>
><br>
>     Perspective: Get/SetViewAngle <-> Get/SetUseHorizontalViewAngle<br>
>     Parallel: Get/SetParallelScale <-> Get/SetUseHorizontalParallelScale<br>
><br>
> I haven't contributed before so I wanted to get some feedback on this first. It doesn't seem very difficult to implement, so if you guys think it makes sense I could give it a try.</p>
<p dir="ltr">Just a +1 from me as a user. I have a use for such an API right now.</p>
<p dir="ltr">Elvis</p>
<p dir="ltr">><br>
> Best regards<br>
> Stefan<br>
> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Search the list archives at: <a href="http://markmail.org/search/?q=vtk-developers">http://markmail.org/search/?q=vtk-developers</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://public.kitware.com/mailman/listinfo/vtk-developers">http://public.kitware.com/mailman/listinfo/vtk-developers</a><br>
></p>