<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hi David,
<div class=""><br class="">
</div>
<div class="">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 class=""><br class="">
</div>
<div class="">Michael</div>
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On 11 Jul 2016, at 13:37 , David E DeMarle <<a href="mailto:dave.demarle@kitware.com" class="">dave.demarle@kitware.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<p dir="ltr" class="">Could try threshold, or nearly equivalently clip by scalar, followed by surface filter.</p>
<p dir="ltr" class="">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>
<div class="gmail_quote">On Jul 11, 2016 6:41 AM, "Schlottke-Lakemper, Michael" <<a href="mailto:m.schlottke-lakemper@aia.rwth-aachen.de" class="">m.schlottke-lakemper@aia.rwth-aachen.de</a>> wrote:<br type="attribution" class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word" class="">Maybe some visualization might help to illustrate the problem. This is what the domain decomposition looks like for two domains:
<div class=""><br class="">
</div>
<div class=""><span id="cid:5C5D6EE8-569B-4469-93BF-E838F51706B8@aia.RWTH-Aachen.DE"><PastedGraphic-1.png></span></div>
<div class=""><br class="">
</div>
<div class="">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 class=""><br class="">
</div>
<div class="">In another example, I get the following result:</div>
<div class=""><span id="cid:43435313-C9BC-46AB-94F7-145F6A981F56@aia.RWTH-Aachen.DE"><PastedGraphic-2.png></span></div>
<div class=""><br class="">
</div>
<div class="">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 class=""><br class="">
</div>
<div class="">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 class=""><br class="">
</div>
<div class="">Again, thanks a lot in advance, and please excuse my double posting...</div>
<div class=""><br class="">
</div>
<div class="">Michael</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">
<blockquote type="cite" class="">
<div class="">On 11 Jul 2016, at 12:16 , Schlottke-Lakemper, Michael <<a href="mailto:m.schlottke-lakemper@aia.rwth-aachen.de" target="_blank" class="">m.schlottke-lakemper@aia.rwth-aachen.de</a>> wrote:</div>
<br class="">
<div class="">
<div style="word-wrap:break-word" class="">Hi folks,
<div class=""><br class="">
</div>
<div class="">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 class=""><br class="">
</div>
<div class="">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 class=""><br class="">
</div>
<div class="">Thanks a lot in advance</div>
<div class=""><br class="">
</div>
<div class="">Michael</div>
<br class="">
<br class="">
<div class="">
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word" class="">
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word" class="">
<span style="border-collapse:separate;font-family:Helvetica;border-spacing:0px" class="">
<div style="word-wrap:break-word" class=""><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" class="">
<div style="word-wrap:break-word" class="">--<br class="">
Michael Schlottke-Lakemper<br class="">
<br class="">
Institute of Aerodynamics and Chair of Fluid Mechanics<br class="">
RWTH Aachen University<br class="">
Wüllnerstraße 5a<br class="">
52062 Aachen<br class="">
Germany<br class="">
<br class="">
Phone: <a href="tel:%2B49%20%28241%29%2080%2095188" value="+492418095188" target="_blank" class="">
+49 (241) 80 95188</a><br class="">
Fax: <a href="tel:%2B49%20%28241%29%2080%2092257" value="+492418092257" target="_blank" class="">
+49 (241) 80 92257</a><br class="">
Mail: <a href="mailto:m.schlottke-lakemper@aia.rwth-aachen.de" target="_blank" class="">
m.schlottke-lakemper@aia.rwth-aachen.de</a><br class="">
Web: <a href="http://www.aia.rwth-aachen.de/" target="_blank" class="">http://www.aia.rwth-aachen.de</a></div>
</span></div>
</span></div>
</div>
</div>
<br class="">
</div>
_______________________________________________<br class="">
Powered by <a href="http://www.kitware.com/" target="_blank" class="">www.kitware.com</a><br class="">
<br class="">
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank" class="">
http://www.kitware.com/opensource/opensource.html</a><br class="">
<br class="">
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank" class="">
http://paraview.org/Wiki/ParaView</a><br class="">
<br class="">
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" target="_blank" class="">
http://markmail.org/search/?q=ParaView</a><br class="">
<br class="">
Follow this link to subscribe/unsubscribe:<br class="">
<a href="http://public.kitware.com/mailman/listinfo/paraview" target="_blank" class="">http://public.kitware.com/mailman/listinfo/paraview</a><br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
<br class="">
_______________________________________________<br class="">
Powered by <a href="http://www.kitware.com/" rel="noreferrer" target="_blank" class="">
www.kitware.com</a><br class="">
<br class="">
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank" class="">
http://www.kitware.com/opensource/opensource.html</a><br class="">
<br class="">
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank" class="">
http://paraview.org/Wiki/ParaView</a><br class="">
<br class="">
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank" class="">
http://markmail.org/search/?q=ParaView</a><br class="">
<br class="">
Follow this link to subscribe/unsubscribe:<br class="">
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank" class="">http://public.kitware.com/mailman/listinfo/paraview</a><br class="">
<br class="">
</blockquote>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>