[vtkusers] Extra Margins on QVTK RenderWindow?

Jothybasu Selvaraj jothybasu at gmail.com
Thu Jul 19 07:56:57 EDT 2012


Can you try this

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

Jothy

On Thu, Jul 19, 2012 at 12:51 PM, Ale <notinmyhead at gmail.com> wrote:
> 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
> _______________________________________________
> 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 VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>



-- 
Jothybasu Selvaraj
PhD Student
University of Liverpool
UK



More information about the vtkusers mailing list