<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Calude, <br>if you change the properties of any actor that has been added to the renderer, those changes will appear in the next render call. <br><br>i.e:<br>disk-&gt;SetScale(2.0);<br><p style="margin: 0px; text-indent: 0px;"> ren-&gt;GetRenderWindow()-&gt;Render();<!--EndFragment--></p><br>Also keep in mind that it is better to have a mechanism to keep a pointer to your actor, so that you can modify it outside the function it was created. <br><br>Can you also please clarify:when you say you modify the disk, this means you modify the actor, or your source or maybe filter?<br><br><br>&gt; Date: Wed, 24 Jun 2009 04:47:33 -0700<br>&gt; From: claude.gangolf@gmail.com<br>&gt; To: vtkusers@vtk.org<br>&gt; Subject: Re: [vtkusers] AddActor - Help<br>&gt; <br>&gt; <br>&gt; Thx, but exist there a function to change the properties of an actor which<br>&gt; was already renderer?<br>&gt; <br>&gt; <br>&gt; <br>&gt; Utkarsh Ayachit wrote:<br>&gt; &gt; <br>&gt; &gt; Same actor cannot be added twice to the renderer. It will get added only<br>&gt; &gt; once. If a properties of an actor are changed, the next time a render<br>&gt; &gt; happens, the actor will be rendered with the new property values and the<br>&gt; &gt; old<br>&gt; &gt; ones will be lost. Create two separate actors with different properties if<br>&gt; &gt; you want two actors with different properties in your scene.<br>&gt; &gt; Utkarsh<br>&gt; &gt; <br>&gt; &gt; On Wed, Jun 24, 2009 at 5:42 AM, ClaudeG &lt;claude.gangolf@gmail.com&gt; wrote:<br>&gt; &gt; <br>&gt; &gt;&gt;<br>&gt; &gt;&gt; Hi ,<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; I have a question about the AddAcotr - function, when i have, for example<br>&gt; &gt;&gt; a<br>&gt; &gt;&gt; disk and i write:<br>&gt; &gt;&gt; ren-&gt;AddActor(disk) //where ren is a renderer,<br>&gt; &gt;&gt; then i modify my disk and use again :<br>&gt; &gt;&gt; ren-&gt;AddActor(disk)<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; Is now the disk only update or does the "two disk", the old and the nw<br>&gt; &gt;&gt; which<br>&gt; &gt;&gt; has the new properties existes. i have this question because i see only<br>&gt; &gt;&gt; the<br>&gt; &gt;&gt; new one in the renderer window but i want to know if  a new disk is<br>&gt; &gt;&gt; created<br>&gt; &gt;&gt; by this methode or only the AddActor - function update the changed<br>&gt; &gt;&gt; properties to the disk which existes already.<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; Thx for you help:-)<br>&gt; &gt;&gt; --<br>&gt; &gt;&gt; View this message in context:<br>&gt; &gt;&gt; http://www.nabble.com/AddActor---Help-tp24181683p24181683.html<br>&gt; &gt;&gt; Sent from the VTK - Users mailing list archive at Nabble.com.<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; _______________________________________________<br>&gt; &gt;&gt; Powered by www.kitware.com<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; Visit other Kitware open-source projects at<br>&gt; &gt;&gt; http://www.kitware.com/opensource/opensource.html<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; Please keep messages on-topic and check the VTK FAQ at:<br>&gt; &gt;&gt; http://www.vtk.org/Wiki/VTK_FAQ<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; Follow this link to subscribe/unsubscribe:<br>&gt; &gt;&gt; http://www.vtk.org/mailman/listinfo/vtkusers<br>&gt; &gt;&gt;<br>&gt; &gt; <br>&gt; &gt; _______________________________________________<br>&gt; &gt; Powered by www.kitware.com<br>&gt; &gt; <br>&gt; &gt; Visit other Kitware open-source projects at<br>&gt; &gt; http://www.kitware.com/opensource/opensource.html<br>&gt; &gt; <br>&gt; &gt; Please keep messages on-topic and check the VTK FAQ at:<br>&gt; &gt; http://www.vtk.org/Wiki/VTK_FAQ<br>&gt; &gt; <br>&gt; &gt; Follow this link to subscribe/unsubscribe:<br>&gt; &gt; http://www.vtk.org/mailman/listinfo/vtkusers<br>&gt; &gt; <br>&gt; &gt; <br>&gt; <br>&gt; -- <br>&gt; View this message in context: http://www.nabble.com/AddActor---Help-tp24181683p24183289.html<br>&gt; Sent from the VTK - Users mailing list archive at Nabble.com.<br>&gt; <br>&gt; _______________________________________________<br>&gt; Powered by www.kitware.com<br>&gt; <br>&gt; Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html<br>&gt; <br>&gt; Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<br>&gt; <br>&gt; Follow this link to subscribe/unsubscribe:<br>&gt; http://www.vtk.org/mailman/listinfo/vtkusers<br><br /><hr />Insert movie times and more without leaving HotmailŪ. <a href='http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutorial_QuickAdd_062009' target='_new'>See how.</a></body>
</html>