[Paraview] Understanding XDMF

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Sat May 19 10:17:15 EDT 2012


Apply the "Glyph" filter to your dataset once you've opened it in
ParaView. You can change the "Glyph Type" to Sphere to get something
like the image attached with Cube Axes turned on.

Utkarsh

On Fri, May 18, 2012 at 7:51 PM, David Zemon <david.zemon at mst.edu> wrote:
> Hello,
>
> I am trying to understand the XDMF file format to import my own files into
> ParaView. Let's say I have the following 16 XYZ points:
>
> 12.3500   95.1900        20.00
> 27.2600   60.2600        33.00
> 38.6000   69.5200        33.00
> 60.2000        -152.3300    93.00
> -15.9600    26.0800        33.00
> -17.8400    168.0900    61.00
> 13.8000        -90.7300    59.00
> 6.8400        -73.0700    163.00
> -15.6200    26.3200        33.00
> -31.2100    58.7200        10.00
> 38.8100        -27.7800    10.00
> 51.1500        -129.8700    10.00
> 3.4900        126.7200    54.00
> 24.0500        121.7200    65.00
> -13.4700    166.7500    60.00
> 3.1100        -79.3700    33.00
>
> with intensity values:
>
> 5.10
> 5.30
> 4.20
> 4.20
> 4.10
> 4.80
> 4.60
> 4.70
> 4.20
> 5.00
> 7.20
> 4.40
> 5.00
> 4.00
> 5.10
> 4.20
>
> How do I get these to points to be displayed as a 3d scatter plot in
> ParaView with the intensity values changing the color of each point? I made
> some attempt at an xdmf file but it currently only shows a single white dot.
> The "Information" tab in paraview recognizes all 16 points and seems to know
> where they should be (creates good axises), but only the first one is being
> displayed. Attached is my attempt. I'm guessing it's something to do with
> the "dimensions" attribute and whether or not there should be spaces, tabs,
> or new lines between each value for the topology. These aspects very much
> confuse me.
>
> Thanks,
> David Zemon
>
> _______________________________________________
> Powered by 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
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2012-05-19 at 10.16.51 AM.png
Type: image/png
Size: 83867 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20120519/5742049b/attachment-0001.png>


More information about the ParaView mailing list