[vtkusers] QVTK automatic zoom on maximum available

Ale notinmyhead at gmail.com
Tue Jul 3 05:07:31 EDT 2012


Hello,

I'm literally going crazy trying to fit the RenderWindow of a QVTKWidget. I've resort to the approach of resetting the camera or updating the clipping range (both on creation and on resizeevent). But what still happen is an invalid drawable on volume instantiation and the resulting effect you can see in the image attached (hope is good for you, otherwise I can place somewhere online...).

What do I have to do to automatically expand the slice in the window?

Thanks in advance,
Ale
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Schermata 2012-07-03 a 10.51.35.png
Type: image/png
Size: 54683 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120703/b80f8e20/attachment.png>


More information about the vtkusers mailing list