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

Bill Lorensen bill.lorensen at gmail.com
Sun Nov 2 14:55:04 EST 2014


Here is a simple example:
http://vtk.org/Wiki/VTK/Examples/Cxx/Visualization/OrientedGlyphs


On Thu, Oct 30, 2014 at 8:04 AM, David Cole via vtkusers
<vtkusers at vtk.org> wrote:
> 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
>>
>
>
> _______________________________________________
> 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
>



-- 
Unpaid intern in BillsBasement at noware dot com


More information about the vtkusers mailing list