<br><font size=2 face="sans-serif">Hi Jean,</font>
<br>
<br><font size=2 face="sans-serif">In the current paraview master, you
can name each components of and array. You have a new method vtkAbstractArray::SetComponentName()
for this.</font>
<br><font size=2 face="sans-serif">If set, those component names appear
in place of the traditionnal X, Y et and Z suffixes.</font>
<br><font size=2 face="sans-serif">So you may have to modify your reader
to use this new interface.</font>
<br>
<br><font size=2 face="sans-serif">As for the possibility to create an
isosurface using a given component, it is planned for this summer, by implementing
the notion of "pre-filters" which will adapt the input of a filter
to fit the filter requirement.</font>
<br><font size=2 face="sans-serif">More exactly what is planned for now
is to automatically extract a given component for scalar-based filters,
and project cell to point for the isosurface (with a warning that some
interpolation is used).<br>
<br>
Best,</font>
<br><font size=2 face="sans-serif">Stephane<br>
</font>
<table>
<tr valign=top>
<td rowspan=2><font size=2 face="sans-serif"> </font><img src=cid:_1_09A2B52C09A2B144003987F5C1257738><font size=2 face="sans-serif">
</font>
<td><font size=1 face="sans-serif"> </font>
<tr valign=top>
<td><font size=1 color=#ff8100 face="Arial"><b>Stephane PLOIX</b></font><font size=1 color=#ff8100 face="Arial"><b><br>
Pilote Opérationnel - Visualisation scientifique</b></font><font size=1 color=#0062e1 face="Arial"><br>
EDF - R&D<br>
SINETICS<br>
1, Av du Général de Gaulle<br>
92140 Clamart</font><font size=1 color=#0062e1 face="sans-serif"><br>
</font>
<br><font size=1 color=#0062e1 face="Arial"><b>stephane.ploix@edf.fr</b></font>
<br><font size=1 color=#0062e1 face="Arial">Tél. : +33 (0) 1 47 65 51
10</font>
<tr>
<td valign=top><font size=2 face="sans-serif"> </font><img src=cid:_1_09A2C46C09A2C084003987F5C1257738><font size=2 face="sans-serif">
</font>
<td><font size=1 color=#0062e1 face="Arial">Un geste simple pour l'environnement,
n'imprimez ce message que si vous en avez l'utilité.</font></table>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>jfavre@cscs.ch</b> </font>
<br><font size=1 face="sans-serif">Envoyé par : paraview-bounces@paraview.org</font>
<p><font size=1 face="sans-serif">04/06/2010 11:19</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">A</font></div>
<td><font size=1 face="sans-serif">paraview@paraview.org</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Objet</font></div>
<td><font size=1 face="sans-serif">[Paraview] data array multi-component
labelling</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><tt><font size=2><br>
I am creating grids with node-based data about ionization states. So, for
different elements from the Periodic Table of Elements, I may have several
states. For example:<br>
<br>
Hydrogen has two 2 states, Helium has 3, Iron has 15. <br>
<br>
The data are stored as vtkDoubleArrays with tuples of numbers. The Number
of Components is equal to the number of ionization states.<br>
<br>
My problem is in the GUI.<br>
<br>
Any array with number of components less or equal to 3 can be colored by
Magnitude, or by component, where the components are labelled X, Y, Z.
However, in this chemistry problem, the components are not spatial dimensions,
they have nothing to do with XYZ.<br>
Any array with number of components greater than 3, can be colored by component
labelled from 0 to N-1, which the correct way we think of when calling
elements and their ionization states.<br>
<br>
Is there a way to enforce this labelling from 0 to N-1, instead of the
spatial-centric notation _X, _Y,_Z?<br>
<br>
The problem shows up elsewhere. Using the Calculator, I get a long list
of labels, some of them indexed by _[XYZ], some of them indexed by _{012345678910].
We would much prefer an homogeneous labelling.<br>
<br>
A much improved GUI for the Contour module would be the ability to directly
choose a component from a multi-component data array, without having to
resort to the Calculator. is this in the plan?<br>
<br>
Thanks for the help<br>
-----------------<br>
Jean M. Favrech<br>
Swiss National Supercomputing Center<br>
<br>
_______________________________________________<br>
Powered by www.kitware.com<br>
<br>
Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html<br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView<br>
<br>
Follow this link to subscribe/unsubscribe:<br>
http://www.paraview.org/mailman/listinfo/paraview<br>
</font></tt>
<br><pre>
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.
</pre>