[vtkusers] Assigning colors in vtkPolyDataMapper
Christian Zemlin
zemlinc at upstate.edu
Sun Jun 3 08:40:27 EDT 2007
Galina,
thank you for your mail. But my question is *how* do I assign colors to my vertices? I have a contour derived from a voxel set, i.e. purely geometrical data, and a separate voxel set providing temperatures. I don't know how to assign the temperature to the vertices.
- Christian
----- Original Message -----
From: Galina Atanasova
To: Christian Zemlin
Sent: Sunday, June 03, 2007 8:31 AM
Subject: Re: [vtkusers] Assigning colors in vtkPolyDataMapper
Try using yellow-green-blue gamma and see how it looks.
G
On 6/3/07, Christian Zemlin <zemlinc at upstate.edu> wrote:
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
_______________________________________________
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070603/61060520/attachment.htm>
More information about the vtkusers
mailing list