[vtkusers] Assigning colors in vtkPolyDataMapper

David.Pont at ensisjv.com David.Pont at ensisjv.com
Mon Jun 4 16:44:34 EDT 2007


"Christian Zemlin" <zemlinc at upstate.edu> wrote on 04/06/2007 00:40:27:

> 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
>

Is vtkProbeFilter what you are after?
    Dave P

>
> 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

> _______________________________________________
> 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/20070605/e1624770/attachment.htm>


More information about the vtkusers mailing list