Same actor cannot be added twice to the renderer. It will get added only once. If a properties of an actor are changed, the next time a render happens, the actor will be rendered with the new property values and the old ones will be lost. Create two separate actors with different properties if you want two actors with different properties in your scene.<div>
<br></div><div>Utkarsh<br><br><div class="gmail_quote">On Wed, Jun 24, 2009 at 5:42 AM, ClaudeG <span dir="ltr"><<a href="mailto:claude.gangolf@gmail.com">claude.gangolf@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Hi ,<br>
<br>
I have a question about the AddAcotr - function, when i have, for example a<br>
disk and i write:<br>
ren->AddActor(disk) //where ren is a renderer,<br>
then i modify my disk and use again :<br>
ren->AddActor(disk)<br>
<br>
Is now the disk only update or does the "two disk", the old and the nw which<br>
has the new properties existes. i have this question because i see only the<br>
new one in the renderer window but i want to know if a new disk is created<br>
by this methode or only the AddActor - function update the changed<br>
properties to the disk which existes already.<br>
<br>
Thx for you help:-)<br>
--<br>
View this message in context: <a href="http://www.nabble.com/AddActor---Help-tp24181683p24181683.html" target="_blank">http://www.nabble.com/AddActor---Help-tp24181683p24181683.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></div>