<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->SetScale(2.0);<br><p style="margin: 0px; text-indent: 0px;"> ren->GetRenderWindow()->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>> Date: Wed, 24 Jun 2009 04:47:33 -0700<br>> From: claude.gangolf@gmail.com<br>> To: vtkusers@vtk.org<br>> Subject: Re: [vtkusers] AddActor - Help<br>> <br>> <br>> Thx, but exist there a function to change the properties of an actor which<br>> was already renderer?<br>> <br>> <br>> <br>> Utkarsh Ayachit wrote:<br>> > <br>> > Same actor cannot be added twice to the renderer. It will get added only<br>> > once. If a properties of an actor are changed, the next time a render<br>> > happens, the actor will be rendered with the new property values and the<br>> > old<br>> > ones will be lost. Create two separate actors with different properties if<br>> > you want two actors with different properties in your scene.<br>> > Utkarsh<br>> > <br>> > On Wed, Jun 24, 2009 at 5:42 AM, ClaudeG <claude.gangolf@gmail.com> wrote:<br>> > <br>> >><br>> >> Hi ,<br>> >><br>> >> I have a question about the AddAcotr - function, when i have, for example<br>> >> 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<br>> >> which<br>> >> has the new properties existes. i have this question because i see only<br>> >> the<br>> >> new one in the renderer window but i want to know if a new disk is<br>> >> 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:<br>> >> http://www.nabble.com/AddActor---Help-tp24181683p24181683.html<br>> >> Sent from the VTK - Users mailing list archive at Nabble.com.<br>> >><br>> >> _______________________________________________<br>> >> Powered by www.kitware.com<br>> >><br>> >> Visit other Kitware open-source projects at<br>> >> http://www.kitware.com/opensource/opensource.html<br>> >><br>> >> Please keep messages on-topic and check the VTK FAQ at:<br>> >> http://www.vtk.org/Wiki/VTK_FAQ<br>> >><br>> >> Follow this link to subscribe/unsubscribe:<br>> >> http://www.vtk.org/mailman/listinfo/vtkusers<br>> >><br>> > <br>> > _______________________________________________<br>> > Powered by www.kitware.com<br>> > <br>> > Visit other Kitware open-source projects at<br>> > http://www.kitware.com/opensource/opensource.html<br>> > <br>> > Please keep messages on-topic and check the VTK FAQ at:<br>> > http://www.vtk.org/Wiki/VTK_FAQ<br>> > <br>> > Follow this link to subscribe/unsubscribe:<br>> > http://www.vtk.org/mailman/listinfo/vtkusers<br>> > <br>> > <br>> <br>> -- <br>> View this message in context: http://www.nabble.com/AddActor---Help-tp24181683p24183289.html<br>> Sent from the VTK - Users mailing list archive at Nabble.com.<br>> <br>> _______________________________________________<br>> Powered by www.kitware.com<br>> <br>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html<br>> <br>> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<br>> <br>> Follow this link to subscribe/unsubscribe:<br>> 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>