[Paraview] XML tag for naming tensor components

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Wed Mar 15 13:05:09 EDT 2017


Ruben,

(apologies for the delayed reply)

In the VTU XML, you can add component names as follows:

 <DataArray type="Float32" Name="Normals" NumberOfComponents="3"
ComponentName0="XX" ComponentName1="YY" ....>

for each of the components.

Utkarsh

On Tue, Feb 7, 2017 at 8:22 AM, Reuben Kraft <reuben.kraft at gmail.com> wrote:
> Hello,
>
>
>
> I am writing a VTU xml formatted file for a finite element program. I’m
> trying to find the option to specify the component names in my DataArray xml
> tag. For example, in paraview instead of listing the tensor values 0-5, I
> would like them to say s_xx, s_yy, s_xx, etc.
>
>
>
> Does anyone know that tag to do this? I did not see it in the VTK manual.
>
>
>
> Thanks,
>
> Reuben
>
>
>
>
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>


More information about the ParaView mailing list