[Paraview] Contours of integer array

Schlottke-Lakemper, Michael m.schlottke-lakemper at aia.rwth-aachen.de
Mon Jul 11 06:41:01 EDT 2016


Maybe some visualization might help to illustrate the problem. This is what the domain decomposition looks like for two domains:

[cid:5C5D6EE8-569B-4469-93BF-E838F51706B8 at aia.RWTH-Aachen.DE]

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.

In another example, I get the following result:
[cid:43435313-C9BC-46AB-94F7-145F6A981F56 at aia.RWTH-Aachen.DE]

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.

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.

Again, thanks a lot in advance, and please excuse my double posting...

Michael

On 11 Jul 2016, at 12:16 , Schlottke-Lakemper, Michael <m.schlottke-lakemper at aia.rwth-aachen.de<mailto:m.schlottke-lakemper at aia.rwth-aachen.de>> wrote:

Hi folks,

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.

Is there another way how I could extract these contours? Please note that I am not using vtkProcessId but rather an own integer array.

Thanks a lot in advance

Michael


--
Michael Schlottke-Lakemper

Institute of Aerodynamics and Chair of Fluid Mechanics
RWTH Aachen University
Wüllnerstraße 5a
52062 Aachen
Germany

Phone: +49 (241) 80 95188
Fax: +49 (241) 80 92257
Mail: m.schlottke-lakemper at aia.rwth-aachen.de<mailto:m.schlottke-lakemper at aia.rwth-aachen.de>
Web: http://www.aia.rwth-aachen.de<http://www.aia.rwth-aachen.de/>

_______________________________________________
Powered by www.kitware.com<http://www.kitware.com>

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20160711/0cffd327/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PastedGraphic-1.png
Type: image/png
Size: 8758 bytes
Desc: PastedGraphic-1.png
URL: <http://public.kitware.com/pipermail/paraview/attachments/20160711/0cffd327/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PastedGraphic-2.png
Type: image/png
Size: 6808 bytes
Desc: PastedGraphic-2.png
URL: <http://public.kitware.com/pipermail/paraview/attachments/20160711/0cffd327/attachment-0001.png>


More information about the ParaView mailing list