<div dir="ltr">Extract region surface will do all domains at the same time.<div><br></div><div>What it does is iterate over all cells and extract the faces of the cell for which either their is no neighbor or the neighbor cell has different material.</div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature">David E DeMarle<br>Kitware, Inc.<br>R&D Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-881-4909</div></div>
<br><div class="gmail_quote">On Mon, Jul 11, 2016 at 8:25 AM, Schlottke-Lakemper, Michael <span dir="ltr"><<a href="mailto:m.schlottke-lakemper@aia.rwth-aachen.de" target="_blank">m.schlottke-lakemper@aia.rwth-aachen.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word">
Hi David,
<div><br>
</div>
<div>Thanks for your answer. From what I understand, your suggestions allow me to extract the surface for a single domain. However, what I am really looking for is something like in the second example, i.e., where I get lines representing the domain
 boundaries between *all* domains at once. I just want them to align neatly with the actual boundaries and not have them diluted by the Cell-to-Point filter. Any idea how I can achieve that? Or maybe I just misunderstood you…</div>
<div><br>
</div>
<div>Michael</div>
<div><br>
<div>
<blockquote type="cite"><span class="">
<div>On 11 Jul 2016, at 13:37 , David E DeMarle <<a href="mailto:dave.demarle@kitware.com" target="_blank">dave.demarle@kitware.com</a>> wrote:</div>
<br>
</span><div><span class="">
<p dir="ltr">Could try threshold, or nearly equivalently clip by scalar, followed by surface filter.</p>
<p dir="ltr">Another option is the material interface filter. That requires unstructured grid input and an integer or idtype material array. Clip its output or use opacity to see inside since its external surface looks the same as its input's.</p>
</span><div class="gmail_quote"><span class="">On Jul 11, 2016 6:41 AM, "Schlottke-Lakemper, Michael" <<a href="mailto:m.schlottke-lakemper@aia.rwth-aachen.de" target="_blank">m.schlottke-lakemper@aia.rwth-aachen.de</a>> wrote:<br type="attribution">
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word"><span class="">Maybe some visualization might help to illustrate the problem. This is what the domain decomposition looks like for two domains:
<div><br>
</div>
</span><div><span><PastedGraphic-1.png></span></div><span class="">
<div><br>
</div>
<div>There are only two domains with values 0 and 1, respectively. I then select & apply the “Cell Data to Point Data” filter, then the “Contour” filter with only one isosurface set to “0.5”. However, in this example, the result is a blank screen,
 i.e., no visible output from the Contour filter.</div>
<div><br>
</div>
<div>In another example, I get the following result:</div>
</span><div><span><PastedGraphic-2.png></span></div><div><div class="h5">
<div><br>
</div>
<div>The sharp, colored interfaces of the integer array in the back is clearly visible. In this case, there are 5 domains (values [0,4]) and I used 0.5, …, 3.5 as the isosurface values in the contour filter. While in this case I actually get an output
 (white lines), they follow the fuzzy output of “Cell Data to Point Data” and I am not able to reconstruct the sharp interfaces.</div>
<div><br>
</div>
<div>To conclude, my problems are actually twofold: I would like to find out how to restore sharp contours, and - if that does not work - at least how to make this approach work for all datasets I am looking at.</div>
<div><br>
</div>
<div>Again, thanks a lot in advance, and please excuse my double posting...</div>
<div><br>
</div>
<div>Michael</div>
<div><br>
</div>
<div>
<div>
<blockquote type="cite">
<div>On 11 Jul 2016, at 12:16 , Schlottke-Lakemper, Michael <<a href="mailto:m.schlottke-lakemper@aia.rwth-aachen.de" target="_blank">m.schlottke-lakemper@aia.rwth-aachen.de</a>> wrote:</div>
<br>
<div>
<div style="word-wrap:break-word">Hi folks,
<div><br>
</div>
<div>I would like to visualize an integer array of an unstructured dataset based on voxels, which contains MPI rank ids generated by a filter we use. To achieve this, I plan to somehow extract the “sharp” interfaces, similar to what the contour filter
 does, to obtain a visual representation of the domain decomposition. However, for the contour filter, I first have to call “Cell data to point data”, which smears out the previously sharp interfaces and causes connectivity problems of the resulting contours,
 as in some areas the domain decomposition features are very small.</div>
<div><br>
</div>
<div>Is there another way how I could extract these contours? Please note that I am not using vtkProcessId but rather an own integer array.</div>
<div><br>
</div>
<div>Thanks a lot in advance</div>
<div><br>
</div>
<div>Michael</div>
<br>
<br>
<div>
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<span style="border-collapse:separate;font-family:Helvetica;border-spacing:0px">
<div style="word-wrap:break-word"><span style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px">
<div style="word-wrap:break-word">--<br>
Michael Schlottke-Lakemper<br>
<br>
Institute of Aerodynamics and Chair of Fluid Mechanics<br>
RWTH Aachen University<br>
Wüllnerstraße 5a<br>
52062 Aachen<br>
Germany<br>
<br>
Phone: <a href="tel:%2B49%20%28241%29%2080%2095188" value="+492418095188" target="_blank">
+49 (241) 80 95188</a><br>
Fax: <a href="tel:%2B49%20%28241%29%2080%2092257" value="+492418092257" target="_blank">
+49 (241) 80 92257</a><br>
Mail: <a href="mailto:m.schlottke-lakemper@aia.rwth-aachen.de" target="_blank">
m.schlottke-lakemper@aia.rwth-aachen.de</a><br>
Web: <a href="http://www.aia.rwth-aachen.de/" target="_blank">http://www.aia.rwth-aachen.de</a></div>
</span></div>
</span></div>
</div>
</div>
<br>
</div>
_______________________________________________<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 ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">
http://paraview.org/Wiki/ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" target="_blank">
http://markmail.org/search/?q=ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
</div>
</blockquote>
</div>
<br>
</div>
</div></div></div><div><div class="h5">
<br>
_______________________________________________<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/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">
http://paraview.org/Wiki/ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">
http://markmail.org/search/?q=ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
<br>
</div></div></blockquote>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>

</blockquote></div><br></div>