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

Reply via email to