<DIV>
<DIV>
<DIV>Hi Nigel,</DIV>
<DIV>&nbsp;</DIV>
<DIV>thanks for anwering.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I agree with you: I have tried both of those tricks but there is no change: nothing is happening. </DIV>
<DIV>&nbsp;</DIV>
<DIV>Isabelle<BR><BR><B><I>Nigel Nunn &lt;nNunn@ausport.gov.au&gt;</I></B> a écrit :</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid"><BR>Hi Isabelle,<BR><BR>One thing that often helps is marking inputs as "modified",<BR>or explicitly calling Update() on part of the pipeline.<BR><BR>So, you might try these:<BR><BR>rescaleFilter-&gt;Modified();<BR>rescaleFilter-&gt;Update();<BR><BR>best wishes,<BR>Nigel<BR><BR><BR><B><I>Renaud Isabelle &lt;renauisa@yahoo.fr&gt;</I></B> a écrit :</BLOCKQUOTE>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">
<DIV>Hi,</DIV>
<DIV>&nbsp;</DIV>
<DIV><STRONG>Now that I have updated my vtk version from vtk4.4 to vtk5.0, a lot of stuff in my project&nbsp;don't&nbsp;work anymore!!!!</STRONG> So strange! </DIV>
<DIV>&nbsp;</DIV>
<DIV>By example: by clicking on my log button to compute a log filter on my rendered image, nothing is resulting!!!</DIV>
<DIV>&nbsp;</DIV>
<DIV><STRONG>void OnLog() <BR>{<BR>&nbsp;</STRONG></DIV>
<DIV><STRONG>&nbsp; WorkImageType::Pointer input;</STRONG></DIV>
<DIV><STRONG></STRONG>&nbsp;</DIV>
<DIV><STRONG>&nbsp; if(LogBtn.GetCheck()) //log button uncheck<BR>&nbsp; {<BR>&nbsp;LogBtn.SetCheck(0); // toggle radio button</STRONG></DIV>
<DIV><STRONG>&nbsp;input = const_cast&lt;WorkImageType*&gt;(logFilter-&gt;GetInput());<BR>&nbsp;rescaleFilter-&gt;SetInput(input);<BR>&nbsp; }</STRONG></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;<STRONG> else <BR>&nbsp; {<BR>&nbsp;LogBtn.SetCheck(1); //log filter activated&nbsp;</STRONG></DIV>
<DIV><STRONG>&nbsp;input = const_cast&lt;WorkImageType*&gt;(rescaleFilter-&gt;GetInput());<BR>&nbsp;logFilter-&gt;SetInput(input);<BR>&nbsp;rescaleFilter-&gt;SetInput(logFilter-&gt;GetOutput());<BR>&nbsp; }</STRONG></DIV>
<DIV><STRONG></STRONG>&nbsp;</DIV>
<DIV><STRONG>&nbsp; renderWindow-&gt;Render();<BR>}</STRONG></DIV>
<DIV>&nbsp;</DIV>
<DIV>- However, changing scale is still working. </DIV>
<DIV>&nbsp;</DIV>
<DIV>
<DIV><STRONG>void OnChangeScale()<BR>{<BR>&nbsp; CString s;<BR>&nbsp; c_edit_scale.GetWindowText(s);<BR>&nbsp; float val = atof(s);</STRONG></DIV>
<DIV><STRONG>&nbsp; shiftscale-&gt;SetScale( val );<BR>&nbsp; </STRONG></DIV>
<DIV><STRONG>shiftscale-&gt;UpdateWholeExtent();</STRONG></DIV>
<DIV><STRONG></STRONG>&nbsp;</DIV>
<DIV><STRONG>renderWindow-&gt;Render();<BR>}</STRONG></DIV>
<DIV><STRONG></STRONG>&nbsp;</DIV>
<DIV>- Does anyone have an idea why? </DIV>
<DIV>&nbsp;</DIV>
<DIV>- Is there a documentation about big&nbsp;changes in VTK 5.0 and what functions are not available anymore?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Isabelle</DIV>
<DIV><STRONG></STRONG>&nbsp;</DIV></DIV>
<P>
<HR SIZE=1>
<B><FONT color=#ff0000>Appel audio GRATUIT</FONT> partout dans le monde</B> avec le nouveau Yahoo! Messenger<BR><A href="http://us.rd.yahoo.com/messenger/mail_taglines/default/*http://fr.messenger.yahoo.com">Téléchargez le ici !</A> _______________________________________________<BR>This is the private VTK discussion list. <BR>Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<BR>Follow this link to subscribe/unsubscribe:<BR>http://www.vtk.org/mailman/listinfo/vtkusers<BR></BLOCKQUOTE></DIV></DIV><p>
                <hr size=1> 
<b><font color=#FF0000>Appel audio GRATUIT</font> partout dans le monde</b> avec le nouveau Yahoo! Messenger<br> 
<a href="http://us.rd.yahoo.com/messenger/mail_taglines/default/*http://fr.messenger.yahoo.com">Téléchargez le ici !</a>