[vtkusers] Glyphing gradient vectors
David Doria
daviddoria at gmail.com
Fri Oct 8 09:08:00 EDT 2010
If I use vtkImageGradient on a 2D image, a 2D ImageScalarsGradient is
produced. If I want to glyph these vectors as arrows, they must be 3D (in
order to call SetActiveVectors).I tried converting them to 3D manually but
it causes the example to segfault (after the interactor starts). Can anyone
see what is wrong with this?
http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/Gradient
<http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/Gradient>
Thanks,
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20101008/e0b4a255/attachment.htm>
More information about the vtkusers
mailing list