<html><div style='background-color:'><PRE>I have 33 large actors that I am trying to add to a rendering window. I
am wondering if there is someway to streamline the process beyond this:
vtkPolyDataMapper *airwayTreeMapper8 = vtkPolyDataMapper::New();
airwayTreeMapper8->SetInput( appendAirwayTree8->GetOutput() );
appendAirwayTree8->Delete();
...
vtkActor *airwayTreeActor8 = vtkActor::New();
airwayTreeActor8->SetMapper( airwayTreeMapper8 );
airwayTreeActor8->GetProperty()->SetColor( 1, 1, 0 );
airwayTreeMapper8->Delete();
...
actors.push_back( airwayTreeActor8 );
...
renderer->AddActor( airwayTreeActor8 );
airwayTreeActor8->Delete();
...
vtkwindow->getRenderWindow()->Render();
Thanks,
Brian
</PRE>
<DIV></DIV></div><br clear=all><hr>Join the world’s largest e-mail service with MSN Hotmail. <a href='http://g.msn.com/1HM1ENUS/c157??PI=44364'>Click Here</a><br></html>