<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
<br>
I would suggest you use QVTKWidget2 in the current VTK repository.<br>
There is also an example demonstrating how to use it with
QGraphicsView, but its basically similar to Nokia's example with
QGLWidget. Also available is QVTKGraphicsItem if you want to embed
VTK views in the QGraphicsView with an OpenGL based viewport widget
such as QGLWidget or QVTKWidget2.<br>
<br>
Clint<br>
<br>
On 10/19/2010 06:46 AM, Engel Markus wrote:
<blockquote
cite="mid:F9CBEF185BB9B140A1A9EDCB8D8885405F4F328B00@DKFZEX01.ad.dkfz-heidelberg.de"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 12 (filtered
medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
-->
</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US">has anyone been using
this approach lately
and knows about possible advantages and disadvantages
compared to QVTKWidget?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">We have been using
QVTKWidget for some time
now in our Toolkit (MITK) and are currently thinking about
switching to vtkQtGraphicsViewRenderWindow.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Thanks for your help!<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Greets Markus<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">--------------<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Dipl. Bioinform. (FH)
Markus Engel<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">German Cancer Research
Center<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Division of Medical and
Biological
Informatics<o:p></o:p></span></p>
<p class="MsoNormal">Im Neuenheimer Feld 280<o:p></o:p></p>
<p class="MsoNormal">D-69120 Heidelberg<o:p></o:p></p>
<p class="MsoNormal">Tel.: +49 (0) 6221 / 42-3549<o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">Fax: +49 (0) 6221 /
42-2345<o:p></o:p></span></p>
<p class="MsoNormal"><a moz-do-not-send="true"
href="http://www.dkfz.de/en/mbi/people/Markus_Engel.html"><span
style="color: blue;" lang="EN-US">http://www.dkfz.de/en/mbi/people/Markus_Engel.html</span></a><span
lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>
Visit other Kitware open-source projects at <a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>
Please keep messages on-topic and check the VTK FAQ at: <a class="moz-txt-link-freetext" href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a>
Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a>
</pre>
</blockquote>
<br>
</body>
</html>