[Paraview] Vector with more than 3 components?
Utkarsh Ayachit
utkarsh.ayachit at kitware.com
Tue Feb 4 14:18:06 EST 2014
Christoph,
You shouldn't mark that array as "vectors", nor as scalars. It's
totally acceptable to have point-data arrays that are not marked as
scalars/vectors e.g. in the vtu file attached to the bug report, I can
simply change
<PointData Vectors="u"> to <PointData> and everything works as
expected without errors. Vectors are expected to be 3 component. There
are no limitations on un-classified point/cell data arrays, however.
Hope that helps.
Utkarsh
On Fri, Jan 24, 2014 at 3:52 AM, Christoph Grüninger
<christoph.grueninger at iws.uni-stuttgart.de> wrote:
> Hi ParaView,
> multicomponent point data for ParaView is written as 'vector' data with
> the desired number of components. In case numberOfComponents!=3 loading
> such data in ParaView results in permanent warnings. According to the
> following ParaView bug-report this can be avoided by using the 'scalar'
> type with the desired number of components instead:
>
> http://paraview.org/Bug/bug_relationship_graph.php?bug_id=12024&graph=relation
>
> If 'vectors' is replaced by 'scalars' in the .vtu file ParaView does
> indeed not complain any more. As this report is not commented and we
> could not find appropriate documentation it's unclear if this is a
> ParaView bug or if we misuse the 'vector' type.
>
> Is it save to use scalar instead of vector for multicomponent point
> data? Or will we lose some ParaView functionality?
>
> Thanks for any comments,
> Christoph
>
> --
> Une science n'était vraiment développée que quand elle
> pouvait utiliser les mathématiques. (Paul Lafargue)
> *********************************************
> CMWR 2014: 10th - 13th June 2014 in Stuttgart
> Please visit www.cmwr14.de
> *********************************************
> _______________________________________________
> 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
More information about the ParaView
mailing list