<DIV>
<DIV>
<DIV>Hi Nigel,</DIV>
<DIV> </DIV>
<DIV>thanks for anwering.</DIV>
<DIV> </DIV>
<DIV>I agree with you: I have tried both of those tricks but there is no change: nothing is happening. </DIV>
<DIV> </DIV>
<DIV>Isabelle<BR><BR><B><I>Nigel Nunn <nNunn@ausport.gov.au></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->Modified();<BR>rescaleFilter->Update();<BR><BR>best wishes,<BR>Nigel<BR><BR><BR><B><I>Renaud Isabelle <renauisa@yahoo.fr></I></B> a écrit :</BLOCKQUOTE>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">
<DIV>Hi,</DIV>
<DIV> </DIV>
<DIV><STRONG>Now that I have updated my vtk version from vtk4.4 to vtk5.0, a lot of stuff in my project don't work anymore!!!!</STRONG> So strange! </DIV>
<DIV> </DIV>
<DIV>By example: by clicking on my log button to compute a log filter on my rendered image, nothing is resulting!!!</DIV>
<DIV> </DIV>
<DIV><STRONG>void OnLog() <BR>{<BR> </STRONG></DIV>
<DIV><STRONG> WorkImageType::Pointer input;</STRONG></DIV>
<DIV><STRONG></STRONG> </DIV>
<DIV><STRONG> if(LogBtn.GetCheck()) //log button uncheck<BR> {<BR> LogBtn.SetCheck(0); // toggle radio button</STRONG></DIV>
<DIV><STRONG> input = const_cast<WorkImageType*>(logFilter->GetInput());<BR> rescaleFilter->SetInput(input);<BR> }</STRONG></DIV>
<DIV> </DIV>
<DIV> <STRONG> else <BR> {<BR> LogBtn.SetCheck(1); //log filter activated </STRONG></DIV>
<DIV><STRONG> input = const_cast<WorkImageType*>(rescaleFilter->GetInput());<BR> logFilter->SetInput(input);<BR> rescaleFilter->SetInput(logFilter->GetOutput());<BR> }</STRONG></DIV>
<DIV><STRONG></STRONG> </DIV>
<DIV><STRONG> renderWindow->Render();<BR>}</STRONG></DIV>
<DIV> </DIV>
<DIV>- However, changing scale is still working. </DIV>
<DIV> </DIV>
<DIV>
<DIV><STRONG>void OnChangeScale()<BR>{<BR> CString s;<BR> c_edit_scale.GetWindowText(s);<BR> float val = atof(s);</STRONG></DIV>
<DIV><STRONG> shiftscale->SetScale( val );<BR> </STRONG></DIV>
<DIV><STRONG>shiftscale->UpdateWholeExtent();</STRONG></DIV>
<DIV><STRONG></STRONG> </DIV>
<DIV><STRONG>renderWindow->Render();<BR>}</STRONG></DIV>
<DIV><STRONG></STRONG> </DIV>
<DIV>- Does anyone have an idea why? </DIV>
<DIV> </DIV>
<DIV>- Is there a documentation about big changes in VTK 5.0 and what functions are not available anymore?</DIV>
<DIV> </DIV>
<DIV>Isabelle</DIV>
<DIV><STRONG></STRONG> </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>