<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>

<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<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;}
@font-face
        {font-family:"Segoe UI";
        panose-1:2 11 5 2 4 2 4 2 2 3;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","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;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.StileMessaggioDiPostaElettronica18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 2.0cm 2.0cm 2.0cm;}
div.Section1
        {page:Section1;}
-->
</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]-->
</head>

<body lang=IT link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Hi Giancarlo, <o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>                        you need to call :     </span><span
lang=EN-US style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>mp_VTKwidget-&gt;update();<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Gianni Lazzarato<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'>Da:</span></b><span
style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'>
vtkusers-bounces@vtk.org [mailto:vtkusers-bounces@vtk.org] <b>Per conto di </b>Giancarlo
Amati<br>
<b>Inviato:</b> venerd́ 12 marzo 2010 14.15<br>
<b>A:</b> vtkusers@vtk.org<br>
<b>Oggetto:</b> [vtkusers] moving camera and updating the rendering<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif"'>Hello vtkUsers,<br>
<br>
I'm back with, I'm sure, a &quot;so-many-times-asked&quot; question:<br>
<br>
I've a camera and a file with a sequence of postions that the camera takes.<br>
Now, I'm using the QVTKWidget for rendering my scene.<br>
<br>
I call:<br>
<br>
vtkSmartPointer&lt;vtkCamera&gt;tmpCam =
this-&gt;mp_VTKwidget-&gt;GetRenderWindow()-&gt;GetRenderers()-&gt;GetFirstRenderer()-&gt;GetActiveCamera();<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
tmpCam-&gt;SetViewUp((*mI_vtkCamera)-&gt;GetViewUp());<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
tmpCam-&gt;SetPosition((*mI_vtkCamera)-&gt;GetPosition());<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; tmpCam-&gt;SetFocalPoint((*mI_vtkCamera)-&gt;GetFocalPoint());<br>
<br>
to update the current renderer camera position.<br>
But What I'm not seeing is an update of the view untile I click with the mouse
inside the QVTKWidget (mp_VTKwidget).<br>
so my question is HOW to update/refresh the view automatically?<br>
<br>
I tried the method Render() of the vtkRenderer but it's apparently
unseccessful.<br>
<br>
Many thanks.<br>
Giancarlo<o:p></o:p></span></p>

<div class=MsoNormal align=center style='text-align:center'><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>

<hr size=2 width="100%" align=center>

</span></div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>Lo
spazio su Hotmail aumente con le tue esigenze... <a
href="http://www.windowslive.it/hotmail/SpazioDisponibile.aspx" target="_new">Vai
oltre i 5GB</a><o:p></o:p></span></p>

</div>

</div>

</body>

</html>