[vtkusers] Assigning colors in vtkPolyDataMapper

Christian Zemlin zemlinc at upstate.edu
Sun Jun 3 08:23:28 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/20070603/0f989ea8/attachment.htm>


More information about the vtkusers mailing list