[vtkusers] Question about coloring special parts of Data

Daniel Zuidinga daniel.zuidinga at rwth-aachen.de
Wed Jan 9 11:06:17 EST 2008


Hello vtkUsers,

i created a surface by  feeding a vtkPolyData-Object with vtkPoints and 
vtkCellArrays. In addition i render it to the Screen with the help of a 
vtkPolyDataMapper and an vtkActor.
So i can manipulate the representation - for example the color - by 
manipulating the Actor.

My problem is now, that i only want to colorize some special Points of 
the Data to one other color. How can i achieve this?

Of course i can create a second vtkPolyData a second vtkMapper and a 
second vtkActor-Object, but i don´t think that this is a good solution.

Regards
Daniel



More information about the vtkusers mailing list