<div dir="ltr">Federico,<div><br></div><div>If all your actors will have the same display properties, such as surface color or coloring by the same data array, you could group your data sets together with vtkMultiBlockDataGroupFilter [1] and then use a single vtkClipDataSet on the multiblock data set it produces. If different actors have different display properties, I don't believe there is a solution that avoids doing it the hard way.</div><div><br></div><div>Alternately, some planar cutting can be done by changing vtkCamera's clipping range. This would not require grouping the data sets together.</div><div><br></div><div>HTH,</div><div>Cory</div><div><br></div><div><br></div><div>[1] <a href="http://www.vtk.org/doc/nightly/html/classvtkMultiBlockDataGroupFilter.html">http://www.vtk.org/doc/nightly/html/classvtkMultiBlockDataGroupFilter.html</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 3, 2016 at 6:41 AM, Miorelli, Federico <span dir="ltr"><<a href="mailto:Federico.Miorelli@cgg.com" target="_blank">Federico.Miorelli@cgg.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-family:Consolas">Dear All,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">I have a 3D scene with several actors coming from different sources.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">I would like to introduce a global clipping tool to cut with a box or a plane all the currently active objects, in order to "see through" the scene.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">I understand I can cut a single dataset with vtkClipDataSet, but I could not find a way to do it globally for the scene, except by manually iterating on my datasets and doing it the hard way.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">Is there a way to obtain something like this?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">Thanks,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">Regards<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">Federico<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span lang="IT" style="font-size:18.5pt;font-family:"Arial","sans-serif";color:#0093d0">______</span></b><b><span lang="IT" style="font-size:18.5pt;font-family:"Arial","sans-serif";color:#6a737b">
</span></b><b><span lang="IT" style="font-size:18.5pt;font-family:"Arial","sans-serif";color:#8cc63f">______</span></b><b><span lang="IT" style="font-size:18.5pt;font-family:"Arial","sans-serif";color:#6a737b">
</span></b><b><span lang="IT" style="font-size:18.5pt;font-family:"Arial","sans-serif";color:#fcb034">______</span></b><b><span lang="IT" style="font-size:18.5pt;font-family:"Arial","sans-serif";color:#6a737b"><u></u><u></u></span></b></p>
<p class="MsoNormal"><span lang="IT" style="color:#404040">Federico Miorelli</span><span lang="IT"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="IT" style="color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="IT" style="color:#1f497d">Senior R&D Geophysicist<u></u><u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;color:#1f497d">Subsurface Imaging - General Geophysics
</span></b><b><span style="font-size:9.0pt;color:#1f497d">Italy</span></b><span style="font-size:8.0pt;color:#404040"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;color:#404040"><u></u> <u></u></span></p>
</div>
<p class="MsoNormal"><i><span lang="EN-GB" style="font-size:7.0pt;font-family:"Arial","sans-serif";color:#6a737b">This email and any accompanying attachments are confidential. If you received this email by mistake, please delete<br>
it from your system. Any review, disclosure, copying, distribution, or use of the email by others is strictly prohibited.<u></u><u></u></span></i></p>
</div>

<br>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>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" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_<wbr>FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Cory Quammen<br>Staff R&D Engineer<br>Kitware, Inc.</div>
</div>