[vtkusers] Color by vector of glyph

David Doria daviddoria at gmail.com
Fri Oct 22 10:21:01 EDT 2010


On Fri, Oct 22, 2010 at 10:15 AM, Eric E. Monson <emonson at cs.duke.edu>wrote:

> Hello,
>
> When you say "using their direction" you mean you want to color your glyphs
> by a certain vector component, you need to build a lookup table and specify
> there which vector component to use (or whether to use the magnitude
> instead). I'll attach an example that I made by modifying your code
> (including using a different data source just for convenience in my
> testing).
>
> -Eric
>

Ravikg, if Eric's code does the trick (which it sounds like it should), it
would be great if you could add an example to this page:
http://www.vtk.org/Wiki/VTK/Examples/Python

Let me know if you need help with the details of the wiki.

Thanks,

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20101022/0ab8e3f8/attachment.htm>


More information about the vtkusers mailing list