[vtkusers] How to vis normal vectors of polydata as arrows ?
Adamos Kyriakou
somada141 at gmail.com
Wed Oct 29 22:52:39 EDT 2014
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/ <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 <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 <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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20141030/ec25543c/attachment.html>
More information about the vtkusers
mailing list