[vtkusers] single actor with different cell-colors

Jens jens-devel at gmx.de
Wed Nov 8 08:06:33 EST 2006


Hi,

I would like to color cells depending on there cell-data.

Is it possible to have one _single_ actor out of an unstructured grid,
which cells are in different colors depending on the cell-data?

I was searching for a possibility like that but only found ways to set
the color of a whole actor.

The only solution I can see now is to split the unstructured grid using
vtkThreshold into  a bunch of small grids and create actors out of them.
That would take much memory and time because each cell belongs to more
than one color-region. I would have to run through the whole pipeline
each time the user changes the color-region.

Any other ideas?

Greetings
Jens



More information about the vtkusers mailing list