Yes,<br><br>Read the documentation for vtkMapper. It explains how cell and point data is mapped through a lookoup table to produce colors.<br><br>cheers,<br>Dave DeMarle<br><br><div><span class="gmail_quote">On 11/8/06, <b class="gmail_sendername">
Jens</b> &lt;<a href="mailto:jens-devel@gmx.de">jens-devel@gmx.de</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
<br>I would like to color cells depending on there cell-data.<br><br>Is it possible to have one _single_ actor out of an unstructured grid,<br>which cells are in different colors depending on the cell-data?<br><br>I was searching for a possibility like that but only found ways to set
<br>the color of a whole actor.<br><br>The only solution I can see now is to split the unstructured grid using<br>vtkThreshold into&nbsp;&nbsp;a bunch of small grids and create actors out of them.<br>That would take much memory and time because each cell belongs to more
<br>than one color-region. I would have to run through the whole pipeline<br>each time the user changes the color-region.<br><br>Any other ideas?<br><br>Greetings<br>Jens<br>_______________________________________________
<br>This is the private VTK discussion list.<br>Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br>Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br></blockquote></div><br>