<DIV>Hi,</DIV>
<DIV> </DIV>
<DIV>I have a problem while calling <STRONG>SelectSlice</STRONG>() of <STRONG>ImageSliceViewer</STRONG> class.</DIV>
<DIV> </DIV>
<DIV>When launching my application, this method is called a first time and I can see the first slice of my volume in the window. </DIV>
<DIV> </DIV>
<DIV>However, when I call this method again, it is <STRONG>always the same slice that is displayed</STRONG>. No change has occured. <STRONG>Why</STRONG>? All I have to do is calling <STRONG>Render</STRONG>() method after having selected a slice, and not execute the pipeline another time, right?</DIV>
<DIV> </DIV>
<DIV>Here is how I call it:</DIV>
<DIV> </DIV>
<DIV>- <STRONG>ImageSliceViewer.SelectSlice(slice);<BR>- ImageSliceViewer.Render();</STRONG></DIV>
<DIV><STRONG></STRONG> </DIV>
<DIV><STRONG>void vtkSliceViewer::SelectSlice( int slice )<BR>{<BR> int MinMaxSlice[6];<BR> m_Actor->GetInput()->GetExtent( MinMaxSlice );</STRONG></DIV>
<DIV><STRONG> if ((slice>=MinMaxSlice[4]) && (slice<=MinMaxSlice[5]))<BR> MinMaxSlice[4] = MinMaxSlice[5] = slice;<BR> m_Actor->SetDisplayExtent(MinMaxSlice);<BR>}</STRONG></DIV>
<P>Could someone help me please....</P>
<P>Isabelle</P>
<P> </P>
<P><STRONG> </P>
<DIV><BR></DIV></STRONG><p>
                <hr size=1>
Découvrez le nouveau Yahoo! Mail : <font color="red">1 Go d'espace</font> de stockage pour vos mails, photos et vidéos !<br><a href="http://us.rd.yahoo.com/mail_fr/mail_campaigns/splash/taglines_1go/default/*http://fr.promotions.yahoo.com/mail/creer28.html" target="_blank">Créez votre Yahoo! Mail</a>