<div>Hi,</div>
<div>I am having a problem that I hope you can help me with.</div>
<div>I have a vtkCollectionActor object that contains many actors, each of them have a different color and geometry assigned to it.</div>
<blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
<div>if I add each vtkActor's poly Data to to a vtkAppendPolyData object, is there any way to maintain the association between each actor and its assigned color?</div>
<div>With the vtkAppendPolyData approach, the whole vtkAppendPolyData is associated with a single actor which means it gets just one color assignment. if so, Can anyone suggest a workaround?</div>
<div> </div>
<div>Can I use vtkAppendFilter or vtkMergeFilter to combine all the actors with their color data? If so, can I still use vtkImageReslice to slice the output of the appending filter?</div></blockquote>
<div>I still can display the actors with thier colors in the vtkRenderWindow but How can I keep the color associations in the 2D slice?</div>
<div>can anyone refer me to any sample code that deals with such a problem?</div>
<div>Thanks in advance.</div>
<div>BS</div>