Look at this example. It uses vtkThreshold to extract the models using cell data:<br><a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Medical/GenerateModelsFromLabels">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Medical/GenerateModelsFromLabels</a><br>
<br><div class="gmail_quote">On Mon, May 16, 2011 at 11:22 PM, Thommen Korah <span dir="ltr">&lt;<a href="mailto:thkorah@hotmail.com">thkorah@hotmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">




<div>
I am able to use vtkDiscreteMarchingCubes to generate differently colored and labeled volumes. At the end of the visualization pipeline, I get a single vtkActor representing each labeled volume. How can I get separate vtkActors for each component.<div>
<br></div><div>I understand that I can call discrete marching cubes on each label separately and store the resulting actor. I was wondering if there was a more correct way to extract the actors separately.</div><div><br></div>
<div>Thanks.</div>                                               </div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br>