<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body text="#000000" bgcolor="#ffffff">
    On 11/16/2010 05:56 AM, Pelt, R.F.P. van wrote:
    <blockquote
cite="mid:C33253DAA8B7D24E9523B6F1DF162F5A01D3FF0C6D56@EXCHANGE10.campus.tue.nl"
      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: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.EmailStyle17
        {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:72.0pt 72.0pt 72.0pt 72.0pt;}
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">Dear all,i<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">For a while I have been using the
          QVTKwidget as main render frame in my applications.<o:p></o:p></p>
        <p class="MsoNormal">One drawback of the QVTKwidget is the
          blocking behavior during interaction with the renderwindow.<o:p></o:p></p>
      </div>
    </blockquote>
    <br>
    QVTKWidget doesn't do blocking.&nbsp; It behaves like any other QWidget
    when dealing with timers, event loops, and painting.<br>
    <br>
    <blockquote
cite="mid:C33253DAA8B7D24E9523B6F1DF162F5A01D3FF0C6D56@EXCHANGE10.campus.tue.nl"
      type="cite">
      <div class="WordSection1">
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">For example: <o:p></o:p></p>
        <p class="MsoNormal">Currently I have an animation, based on the
          active position on a slider widget.<o:p></o:p></p>
        <p class="MsoNormal">If I &#8216;play&#8217; the animation, the slider and
          the rendering gets updated by a timer. <o:p></o:p></p>
        <p class="MsoNormal">However, during interaction with the VTK
          renderwindow/camera, the QT behavior is blocked as well as the
          animation.<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">Does anyone know how to overcome this
          issue? Is it possible to animate and interact simultaneously?</p>
      </div>
    </blockquote>
    <br>
    It should be possible.&nbsp; What happens if you increase the interval on
    the timer?<br>
    I'm wondering if you're doing something like using a zero interval
    repeating timer and Qt is not giving any cycles to anything else.<br>
    <br>
    Clint<br>
    <br>
  </body>
</html>