[vtkusers] Extra Margins on QVTK RenderWindow?

Ale notinmyhead at gmail.com
Thu Jul 19 07:51:49 EDT 2012


Hello,

I'm going crazy trying to set up a qvtk widget to display dicom volumes. Main problem is related to the camera of the renderer (or, at least, I suppose so...). When the qvtk is instantiated or resized, I manage things like that:

myImageViewer2->Render();
myRenderer->ResetCamera();

But the displayed image is like the one I attached... it seems to keep having extra (internal) margins.... What am I missing?

Ale
-------------- next part --------------
A non-text attachment was scrubbed...
Name: img.png
Type: image/png
Size: 89059 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120719/559586fe/attachment.png>


More information about the vtkusers mailing list