[vtkusers] About a vector plot for STL

David Doria daviddoria+vtk at gmail.com
Mon Dec 7 08:40:21 EST 2009


On Sun, Dec 6, 2009 at 11:02 PM, John Hsieh <cthsieh2001 at yahoo.com> wrote:
>
> Can anyone share me an example code for creating a vector plot of STL?

The first thing you should do is get the .stl file into a PolyData
object. Then you should obtain the vectors at each point from the
polydata. In Paraview then you would want a Glyph -> Arrow filter, but
I'm not sure the equivalent of this directly in VTK.

Thanks,

David



More information about the vtkusers mailing list