[vtkusers] Assigning colors in vtkPolyDataMapper

Christian Zemlin zemlinc at upstate.edu
Fri Jun 1 13:50:29 EDT 2007


Dear vtk-experts,

I have derived contours from an anatomical voxel set (similar to the examples Medical1,2,3 that come with vtk).
Now I would like to color this surface according to some spatially varying function, e.g. local body temperature that I have given as a second voxel array.
I suppose I have to tell the vtkPolyMapper to take the colors from my array, but how?


- Christian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070601/43ce2a04/attachment.htm>


More information about the vtkusers mailing list