[Paraview] how not to scale the thickness of the Arrow Glyph?
Kazuyoshi Furutaka
furutaka.kazuyoshi at jaea.go.jp
Thu Mar 26 22:35:21 EDT 2015
Dear all,
Well... I'm still attached to the original idea, and
after some googling I found the following article and
mantis entry...
https://paraview.uservoice.com/forums/11350-general/suggestions/450560-glyphs-scale-only-the-arrow-length-instead-of-the
http://www.vtk.org/Bug/view.php?id=13660
So I've loaded the ArrowGlyph plugin onto my ParaView 4.3.1
32-bit (on linux (compiled by myself), and on windows vista
(a binary downloaded from the paraview site)) and applied it
to my data.
But even though I can see glyphs and can change e.g. radius
of shafts, I can NOT choose any "Scaling Array"; the pull-down
menus do NOT respond to clicking...
Any clue to this?
Thanks in advance,
Kazuyoshi
From: Kazuyoshi Furutaka <furutaka.kazuyoshi at jaea.go.jp>
Subject: Re: [Paraview] how not to scale the thickness of the Arrow Glyph?
Date: Thu, 26 Mar 2015 14:36:41 +0900 (JST)
> Dear David,
>
> Thanks for your response. I'll give it a try.
>
> Kazuyoshi
>
> From: David Thompson <david.thompson at kitware.com>
> Subject: Re: [Paraview] how not to scale the thickness of the Arrow Glyph?
> Date: Wed, 25 Mar 2015 23:01:51 -0400
>
>> Hi Kazuyoshi,
>>
>> I do not think the glyph filter will do what you want it to. You might use a Python programmable filter[1] to turn each point into a line segment (i.e., a line from (x,y,z) to (x+dx, y+dy, z+dz)). Then run "Cell Centers" on the resulting line segment data and add oriented, unscaled cone glyphs at each cell center to indicate the direction along the line segments. That would draw lines along the path plus cones pointing along the direction of the path.
>>
>> David
>>
>> [1]: http://www.paraview.org/Wiki/Python_Programmable_Filter
>>
>>
>>> On Mar 25, 2015, at 8:47 PM, Kazuyoshi Furutaka <furutaka.kazuyoshi at jaea.go.jp> wrote:
>>>
>>> Dear ParaView experts,
>>>
>>> I'm visualizing paths of neutrons in some media.
>>> Now I prepared the data as point data with displacement
>>> vector to the next point attached to each point, and
>>> visualize them using the Glyph filter with the following
>>> setting:
>>> Glyph Type: Arrow
>>> Orientation: Orient
>>> Scale Mode "vector"
>>> Scale Factor = 1.0
>>> Glyph Mode: All Points
>>>
>>> The problem is that some arrows are too thick...
>>>
>>> So here are my questions.
>>>
>>> (1)How can I make the thickness of the arrows not
>>> to scale (only the lengths do)?
>>>
>>> (2)It may be better to use "2D Glyph" instead of
>>> "Arrow", but the 2D Glyph is centered at a
>>> data point, instead of starting from the point...
>>> How can I make the 2D Glyphs start from the data
>>> points?
>>>
>>> (3)Do you have any recommendation on how to visualize
>>> such a particle paths?
>>>
>>> Thanks in advance,
>>>
>>> Kazuyoshi
>>> --
>>> Kazuyoshi Furutaka
>>> furutaka _dot_ kazuyoshi _at_ jaea _dot_ go _dot_ jp
>>> <arrows.png>_______________________________________________
>>> 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 ParaView Wiki at: http://paraview.org/Wiki/ParaView
>>>
>>> Search the list archives at: http://markmail.org/search/?q=ParaView
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://public.kitware.com/mailman/listinfo/paraview
>>
> _______________________________________________
> 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 ParaView Wiki at: http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
More information about the ParaView
mailing list