[vtkusers] Changing (window/viewport) resize behaviour

Jon Payne jpayne at hgl-dynamics.com
Thu Apr 28 10:49:38 EDT 2011


Hi Everyone,

Been lurking here for a while and enjoying VTK.

I want to be able to change the resize behaviour from fitted the actors 
into the window and scaled them if the height changes to just resizing 
them in both x and y to fit the window/viewport e.g. if a window is 
resized from a sqaure to a rectangle I want all the contents to also 
resize and be rectangular.

Can anyone give me any pointers on where to look to change this behaviour?

Thanks very much,
-- 
*Jon Payne*
Senior Developer
HGL Dynamics Ltd <http://hgl-dynamics.com>
Tel: +44 (0)1483 415177
Registered in England No 3844513
Registered Office: Little Barsden, Field Lane, Godalming, GU7 3JT, UK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110428/c5210f3f/attachment.htm>


More information about the vtkusers mailing list