<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Hi all,<br>
    <br>
    I would like to color some PolyData depending on different kind of
    information/data.<br>
    <br>
    For each polydata, I have an initial color (chosen by the user), and
    N values (volumes, surface, etc...), and I would like to efficiently
    switch from the chosen color, to a color which represents the value.<br>
    <ul>
      <li>To store these values (computed externally), which
        vtkPolyData's data container should I use? <br>
        Note that I have about 10k meshes with ~500 triangles, and about
        10 computed values, and I'd like each polydata to store its N
        value.<br>
      </li>
      <ul>
        <li>vtkFieldData?</li>
        <li>vtkCellData?</li>
        <li>vtkPointData?</li>
      </ul>
      <li>How can I efficiently switch from rendering with colors which
        would represent one value (e.g. volume), to colors which would
        represent another one (e.g. surface), then to the original color
        (the one chosen by the user)?<br>
      </li>
    </ul>
    <br>
    Thanks in advance,<br>
    Arnaud<br>
  </body>
</html>