[vtkusers] Vector field color and direction?

Ragnarok mat930121 at hotmail.com
Fri May 8 10:34:43 EDT 2015


How would you modify this existant example to not only be able to modify the
vector direction and size, but also it's color (so I can choose the color
based on for example the vector length)?

Would you add another set of imageData and then put the glyph2d color mode
to SetColorModeToColorByScalar ?

Even there, how can I add two set of inputData so I can have on one hand the
direction and size of vector, and on the other change their color?

the example in question :
http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/VectorField



--
View this message in context: http://vtk.1045678.n5.nabble.com/Vector-field-color-and-direction-tp5731841.html
Sent from the VTK - Users mailing list archive at Nabble.com.


More information about the vtkusers mailing list