I think you have to remove the actor and add the new one <br><br>GetRenderer().RemoveActor(actor)<br><br>AddActor(NewActor)<br><br>Hope this helps!<br><br>Jothy<br><br><div class="gmail_quote">On Wed, Jan 27, 2010 at 8:31 AM, circass <span dir="ltr"><<a href="mailto:circass@gmail.com">circass@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Hi my friends,<br>
in my application tere is a reslicing part and i want to writ the slice<br>
number on the screen.<br>
i m doing that at first but after reslicing it is not changing.<br>
<br>
i m using standart notations for that.<br>
<br>
vtkStdString message = "<window>\n<level>\n<slice>";<br>
this->Annotation->SetText( 3, message);<br>
<br>
well what can be the problem and how can i fix it ?<br>
<br>
Thanx<br>
<br>
Circass<br>
--<br>
View this message in context: <a href="http://old.nabble.com/Slice-Number-doesnt-change-after-Reslicing------tp27335405p27335405.html" target="_blank">http://old.nabble.com/Slice-Number-doesnt-change-after-Reslicing------tp27335405p27335405.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br>