[Paraview] RE data array multi-component labelling
Robert Maynard
robert.maynard at kitware.com
Fri Jun 4 08:47:10 EDT 2010
Hi Jean,
The calculator filter appends the component names to the array name on
purpose. That reason is that if you had two different vectors that had
component names in common you would be able to identify them.
On Fri, Jun 4, 2010 at 8:16 AM, Favre Jean <jfavre at cscs.ch> wrote:
>
> From: Stephane PLOIX [stephane.ploix at edf.fr]
> Sent: Friday, June 04, 2010 12:33 PM
> To: Favre Jean
> Cc: paraview at paraview.org
> Subject: RE [Paraview] data array multi-component labelling
>
> Hi Jean,
>
> In the current paraview master, you can name each components of and array.
> You have a new method vtkAbstractArray::SetComponentName() for this.
> If set, those component names appear in place of the traditionnal X, Y et
> and Z suffixes.
> -----------------
>
> thanks Stephane,
>
> the method SetComponentName is exactly what I needed. The Coloring menu now
> perfectly shows each component labelled, for example, H_0 and H_1 for
> Hydrogen.
>
> However, it has a side effect which is worse than the previous state. The
> Calculator, now shows all labels with a double underscore as in H_H_0, H_H_1
> for Hydrogen.
> I suspect that other filters which decompose array names with the
> underscore postfix would have the same problem. I am guessing Calculator is
> not aware that the components are already named.
>
> Comments?
>
>
> Jean M. Favre
> Swiss National Supercomputing Center
> _______________________________________________
> 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
>
--
Robert Maynard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20100604/4b18a606/attachment.htm>
More information about the ParaView
mailing list