<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi All,<br><br>I am trying to render multiple surfaces in one render window using VTK with C++.<br><br>So, I would like to take my working single surface code (vtkPolyData, vtkPolyDataMapper, vtkActor, vtkRenderer, ...), and use an dynamic arrays of pointers instead, with "Renderer-&gt;AddActor(Actors[i_surf])" in a for loop.<br><br>However, I am having some problems initialising dynamic arrays of pointers to vtkPolyData, etc.<br>My fumbling attempts with double pointers (e.g. "vtkPolyData **surfs") have not worked.<br><br>Could someone please provide an example of how to do this? (or put me on the right track if this direction is not good practice)<br><br>(Admittedly, this is more of a question about C/C++ programming...sorry - I couldn't find any generic examples to work with).<br><br>Many thanks,
 MT<br></td></tr></table><br>__________________________________________________<br>Do You Yahoo!?<br>Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. <br>http://mail.yahoo.com