[vtkusers] How to vis normal vectors of polydata as arrows ?

David Cole DLRdave at aol.com
Thu Oct 30 08:04:56 EDT 2014


Also, this example:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/CurvatureBandsWithGlyphs

contains much more than what you're asking for, but also does contain
exactly what you're asking for. Visualizing normal vectors with arrow
glyphs.

HTH,
David C.


On Wed, Oct 29, 2014 at 10:52 PM, Adamos Kyriakou <somada141 at gmail.com>
wrote:

> I wrote a blog post which shows how to do that. Take a look at
> http://pyscience.wordpress.com/2014/10/05/from-ray-casting-to-ray-tracing-with-python-and-vtk/
>
> Cheers,
> Adam
>
> On Oct 30, 2014, at 1:33 PM, Lin M <majcjc at gmail.com> wrote:
>
> Hi all,
>
> I'm trying to vis the normal vectos of polydata as arrows. Is there any
> convenient way to achieve this? I read the example
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/OrientedArrow
> here, but I still don't understand how to do this. It seems to vis one
> arrow we need to follow quite a lot steps. I think my problem is the same
> with
> http://vtk.1045678.n5.nabble.com/vtkglyph3D-with-arrowsource-td1247920.html
> , though there is no answer below. :-(
>
> Can anyone give me some advice? Thank you very much!
>
> Best,
> Lin
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20141030/b862c29b/attachment.html>


More information about the vtkusers mailing list