AW: [vtkusers] vector attribute
Amy Henderson
amy.henderson at kitware.com
Mon Apr 19 08:54:43 EDT 2004
Actually there is a method on vtkMapper called ColorByArrayComponent that
should do what you want without having to create a new array.
- Amy
At 07:58 AM 4/19/2004, Saeger, Marian wrote:
>I'm not sure if a specific method exists, but you could take a scalar value
>as needed from your vector component and build a scalar array with it....
>
>Regards, Marian
>
>-----Urspr¨¹ngliche Nachricht-----
>Von: seafloat at sohu.com [mailto:seafloat at sohu.com]
>Gesendet: Samstag, 17. April 2004 03:20
>An: vtkusers at vtk.org
>Betreff: [vtkusers] vector attribute
>
>
>Dear All:
> I want to use the one of the vector components to color a prop, but I
>only kown color with scalar data. How can I do?
> Please give me some advice. Thank you very much.
>_______________________________________________
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at:
><http://public.kitware.com/cgi-bin/vtkfaq>
>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://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://www.vtk.org/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list