That is correct Stephane. Naming the components "0", "1" etc will give you
the names you are expecting in  the calculator display and the color
legened.

On Fri, Jun 4, 2010 at 8:46 AM, Stephane PLOIX <[email protected]>wrote:

>
> I suspect that you named the array "H", and the components "H_0", "H_1"
> etc... right?
> With the current logic, you should instead name the array "H", and the
> components "0", "1" etc
>
> The name presented in the calculator is given by the aggregation of the
> array name and component name : ArrayName_CompName
>
> Stephane
>       *Stephane PLOIX**
> Pilote Opérationnel - Visualisation scientifique*
> EDF - R&D
> SINETICS
> 1, Av du Général de Gaulle
> 92140 Clamart
>
> *[email protected]*
> Tél. : +33 (0) 1 47 65 51 10   Un geste simple pour l'environnement,
> n'imprimez ce message que si vous en avez l'utilité.
>
>
>
>  *[email protected]*
> Envoyé par : [email protected]
>
> 04/06/2010 14:16
>   A
>   cc
> [email protected]
> Objet
> Re: [Paraview] RE  data array multi-component labelling
>
>
>
>
>
> From: Stephane PLOIX [[email protected]]
> Sent: Friday, June 04, 2010 12:33 PM
> To: Favre  Jean
> Cc: [email protected]
> 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
>
> Ce message et toutes les pièces jointes (ci-après le 'Message') sont établis 
> à l'intention exclusive des destinataires et les informations qui y figurent 
> sont strictement confidentielles. Toute utilisation de ce Message non 
> conforme à sa destination, toute diffusion ou toute publication totale ou 
> partielle, est interdite sauf autorisation expresse.
>
> Si vous n'êtes pas le destinataire de ce Message, il vous est interdit de le 
> copier, de le faire suivre, de le divulguer ou d'en utiliser tout ou partie. 
> Si vous avez reçu ce Message par erreur, merci de le supprimer de votre 
> système, ainsi que toutes ses copies, et de n'en garder aucune trace sur 
> quelque support que ce soit. Nous vous remercions également d'en avertir 
> immédiatement l'expéditeur par retour du message.
>
> Il est impossible de garantir que les communications par messagerie 
> électronique arrivent en temps utile, sont sécurisées ou dénuées de toute 
> erreur ou virus.
> ____________________________________________________
>
> This message and any attachments (the 'Message') are intended solely for the 
> addressees. The information contained in this Message is confidential. Any 
> use of information contained in this Message not in accord with its purpose, 
> any dissemination or disclosure, either whole or partial, is prohibited 
> except formal approval.
>
> If you are not the addressee, you may not copy, forward, disclose or use any 
> part of it. If you have received this message in error, please delete it and 
> all copies from your system and notify the sender immediately by return 
> message.
>
> E-mail communication cannot be guaranteed to be timely secure, error or 
> virus-free.
>
>
> _______________________________________________
> 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

<<image/gif>>

<<image/gif>>

_______________________________________________
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

Reply via email to