<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p>Hi VTK folks,</p>
<p>I am trying to optimize my application, and am thinking to replace multiple QVTKWidget2 instances with only one widget + multiple viewports/renderers. Then I could issue only one expensive call to vtkRenderWindow::Render() and re-draw everything.</p>
<p>I saw the example for multiple viewports (<a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/MultipleViewports" class="OWAAutoLink" id="LPlnk960727" previewremoved="true">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/MultipleViewports</a>)
and it all looks very straightforward, but...</p>
<p>How do I handle interaction? Let's say in a typical quad view setup of a medical application, with 3 orthogonal slices and one 3D view there are different interactor styles needed. But it is the renderwindow that provides interactor, so in the tiled version
I would end up with only one common interactor/interactor style.</p>
<p>Any advice is greatly appreciated!</p>
<p>Miro<br>
</p>
</div>
</body>
</html>