<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:12pt"><div><span>Hi,</span></div><div><br><span></span></div><div><span>I had seen the </span>vtkCompositeDataGeometryFilter but, the problem in my case, is that the ouput is one polydata (so one polydatamapper and one actor). And, I want the <span id="result_box" class="" lang="en"><span class="hps">option</span> <span class="hps">to make visible</span> <span class="hps">or not</span> <span class="hps">one of the</span> <span class="hps">block</span> <span class="hps">on my</span> <span class="hps">geometry. That 's why I haven't use </span></span>vtkCompositeDataGeometryFilter.</div><div><br></div><div>Thank you.<br></div><div><br></div><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt;"><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"><font face="Arial" size="2"><hr size="1"><b><span
 style="font-weight:bold;">De&nbsp;:</span></b> Favre  Jean &lt;jfavre@cscs.ch&gt;<br><b><span style="font-weight: bold;">À&nbsp;:</span></b> "vtkusers@vtk.org" &lt;vtkusers@vtk.org&gt;<br><b><span style="font-weight: bold;">Envoyé le :</span></b> Jeudi 6 Octobre 2011 9h06<br><b><span style="font-weight: bold;">Objet&nbsp;:</span></b> Re: [vtkusers] vtkMultiBlockDataSet and SetInputConnection<br></font><br>Here is what I have been using for several years.<br><br>eb1 is my multi-block dataset.<br><br>VTK_CREATE(vtkCompositeDataGeometryFilter, geom1);<br>geom1-&gt;SetInputConnection(0, eb1-&gt;GetOutputPort(0));<br>geom1-&gt;Update();<br><br>VTK_CREATE(vtkPolyDataMapper, mapper1);<br>mapper1-&gt;SetInputConnection(geom1-&gt;GetOutputPort(0));<br><br>VTK_CREATE(vtkActor, actor1);<br>actor1-&gt;SetMapper(mapper1);<br><br>-----------------<br>Jean M. Favre<br>Swiss National Supercomputing
 Center<br><br><br>_______________________________________________<br>Powered by www.kitware.com<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><br></div></div></div></body></html>