<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
<BLOCKQUOTE>
<META content="Microsoft SafeHTML" name=Generator>
<STYLE>
.ExternalClass .EC_hmmessage P
{padding:0px;}
.ExternalClass body.EC_hmmessage
{font-size:10pt;font-family:Tahoma;}
</STYLE>
rcpompeu,<BR><BR>Try to re-render the scene, using vtkRenderWindow::Render() (e.g. VTK3->Render(); ) <BR> <BR> Andres<BR> <BR>
<BLOCKQUOTE>
<HR>
From: w_e_b_m_a_s_t_e_r_6_9@hotmail.com<BR>To: rcpompeu@hotmail.com<BR>Date: Tue, 6 May 2008 00:31:09 +1000<BR>CC: vtkusers@public.kitware.com<BR>Subject: Re: [vtkusers] Removing Actors<BR><BR>
<STYLE>
.ExternalClass .EC_hmmessage P
{padding:0px;}
.ExternalClass body.EC_hmmessage
{font-size:10pt;font-family:Tahoma;}
</STYLE>
<DIV style="TEXT-ALIGN: left">Is the program actually entering the 'else' section?? Maybe tbnIniciar->Down is always true? If you're not sure then throw in a print statement to see if anything prints in that section.<BR><BR>The RemoveActor function is the correct one to use. I am using that in the program that I'm working on at the moment.<BR><BR>If that is not the problem, then it could be that something is still using the actor that you're trying to remove. That can be a problem when using the Delete function to remove it from memory, however I'm not sure if it can be a problem for RemoveActor as well.<BR><BR>Hope that helps a bit,<BR>Cameron.<BR></DIV><BR>
<DIV></DIV><BR><BR>
<BLOCKQUOTE>
<HR id=EC_EC_EC_stopSpelling>
From: rcpompeu@hotmail.com<BR>To: vtkusers@public.kitware.com<BR>Date: Mon, 5 May 2008 13:45:11 +0000<BR>Subject: [vtkusers] Removing Actors<BR><BR>
<STYLE>
.ExternalClass .EC_hmmessage P
{padding:0px;}
.ExternalClass body.EC_hmmessage
{font-size:10pt;font-family:Tahoma;}
</STYLE>
Hello All,<BR> <BR>
<DIV id=EC_EC_EC_result_box dir=ltr>How do I remove an individual actor from the scene? My code does not work. Someone help me? Thanks.</DIV> <BR>if (tbnIniciar->Down) {<BR> VTK3->GetRenderer()->AddActor(outlineActor);<BR> }<BR> <BR>else {<BR> VTK3->GetRenderer()->RemoveActor(outlineActor);<BR> VTK3->GetRenderer()->RemoveViewProp(outlineActor);<BR> VTK3->GetRenderer()->Clear();<BR> }<BR> <BR>VTK3->Invalidate();<BR><BR><BR>
<HR>
Notícias direto do New York Times, gols do Lance, videocassetadas e muitos outros vídeos no MSN Videos! <A href="http://video.msn.com/?mkt=pt-br" target=_blank>Confira já!</A> </BLOCKQUOTE><BR>
<HR>
at CarPoint.com.au <A href="http://a.ninemsn.com.au/b.aspx?URL=http://secure-au.imrworldwide.com/cgi-bin/a/ci_450304/et_2/cg_801459/pi_1004813/ai_859641&_t=762955845&_r=tig_OCT07&_m=EXT" target=_blank>It's simple! Sell your car for just $30 </A></BLOCKQUOTE><BR>
<HR>
Get Free (PRODUCT) RED™ Emoticons, Winks and Display Pics. <A href="http://joinred.spaces.live.com/?ocid=TXT_HMTG_prodredemoticons_052008" target=_blank>Check it out!</A> </BLOCKQUOTE><br /><hr />With Windows Live for mobile, your contacts travel with you. <a href='http://www.windowslive.com/mobile/overview.html?ocid=TXT_TAGLM_WL_Refresh_mobile_052008' target='_new'>Connect on the go.</a></body>
</html>