<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000;"><div><div class="post-text">
                <p>Hi, <br></p><p>I am using VTK with QT using QVtkWidget. Now <br></p><p>the problem is if i keep my 
QmainWindow (which contains the QVTKWidget) without a layout, we see 
that there are several problems including improper rendering and 
transformations. <br></p><p><br></p><p>But as soon as i include layout, all those problems are
 gone. <br></p><p><br></p><p>My question is What can be the issue here? My best guess is that 
it must have something to do with Window to view port transformation and
 in case of static (without layout) QVTKWidget, it does not update the 
vieport transform. <br></p><p><br></p><p><br></p>

<p>Can it be the case ?
How can we calculate and set the Window->Viewport transformation in QVTKWidget ?</p><p><br></p><p>Regards,</p><p>Rashid<br></p>

            </div></div>
</div></body></html>