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.
So you may have to modify your reader to use this new interface.

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.
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).

Best,
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 11:19

A
[email protected]
cc

Objet
[Paraview] data array multi-component labelling







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:

Hydrogen has two 2 states, Helium has 3, Iron has 15. 

The data are stored as vtkDoubleArrays with tuples of numbers. The Number 
of Components is equal to the number of ionization states.

My problem is in the GUI.

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.
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.

Is there a way to enforce this labelling from 0 to N-1, instead of the 
spatial-centric notation _X, _Y,_Z?

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.

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?

Thanks for the help
-----------------
Jean M. Favrech
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.

<<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