[Paraview] How to represent many glyphs colored by SeedIds per streamline?

Dan Lipsa dan.lipsa at kitware.com
Mon Feb 26 15:35:23 EST 2018


Great. I am glad I could help.

Best,
Dan


On Mon, Feb 26, 2018 at 2:37 PM, Thomas Oliveira <thomas.oliveira at gmail.com>
wrote:

> Dear Dan,
>
> That is perfect. Thank you very much!
>
> Best regards,
> Thomas Oliveira
>
>
>
> On Mon, Feb 26, 2018 at 7:09 PM, Dan Lipsa <dan.lipsa at kitware.com> wrote:
>
>> Thomas,
>> I used the CellDataToPointData filter to convert SeedIds to point data.
>> This allows you to color the disks by SeedId.
>>
>> Does this solve your issue?
>> Dan
>>
>>
>>
>> On Mon, Feb 26, 2018 at 1:03 PM, Thomas Oliveira <
>> thomas.oliveira at gmail.com> wrote:
>>
>>> Dear Dan,
>>>
>>> Thank you for your time.
>>>
>>> Please find attached the ParaView state file and four PNGs showing that
>>> the glyphs are not rendered along the whole streamline if they are colours
>>> by SeedIds.
>>>
>>> Also, please download a tar.gz file with the data from
>>> https://icseclzt.cc.ic.ac.uk/pickup.php?claimID=yCNGSGa
>>> KeJ2pUJ54&claimPasscode=GFefaY4t8kVZ3rPQ . It is a OpenFOAM data.
>>>
>>> Best regards,
>>> Thomas Oliveira
>>>
>>>
>>>
>>> On Mon, Feb 26, 2018 at 2:13 PM, Dan Lipsa <dan.lipsa at kitware.com>
>>> wrote:
>>>
>>>> Thomas,
>>>> If you send me the data and the ParaView state file I can take a look.
>>>>
>>>> Dan
>>>>
>>>>
>>>> On Fri, Feb 23, 2018 at 6:06 PM, Thomas Oliveira <
>>>> thomas.oliveira at gmail.com> wrote:
>>>>
>>>>> Dear Dan,
>>>>>
>>>>> The issue is that, when I select SeedIds, just one glyph per
>>>>> streamline is shown, whereas when I select any other scalar, many glyphs
>>>>> per streamline are shown. It is this latter behaviour that I would like to
>>>>> see for SeedIds as well.
>>>>>
>>>>> Best regards,
>>>>> Thomas Oliveira
>>>>>
>>>>> On Fri, Feb 23, 2018 at 6:31 PM, Dan Lipsa <dan.lipsa at kitware.com>
>>>>> wrote:
>>>>>
>>>>>> Active Attributes > Scalars affects the scaling of the glyph not the
>>>>>> color.
>>>>>>
>>>>>> Look into Display > Coloring to change the color for your glyphs.
>>>>>>
>>>>>> Hope this helps,
>>>>>> Dan
>>>>>>
>>>>>>
>>>>>> On Fri, Feb 23, 2018 at 10:40 AM, Thomas Oliveira <
>>>>>> thomas.oliveira at gmail.com> wrote:
>>>>>>
>>>>>>> Dear Dan,
>>>>>>>
>>>>>>> The issue is when I select SeedIds in Glyph Properties > Active
>>>>>>> Attributes > Scalars. For any other scalar, it works well.
>>>>>>>
>>>>>>> Best regards,
>>>>>>> Thomas Oliveira
>>>>>>>
>>>>>>> On Thu, Feb 22, 2018 at 7:19 PM, Dan Lipsa <dan.lipsa at kitware.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Thomas,
>>>>>>>> Take a look at the ParaView pipeline in
>>>>>>>>
>>>>>>>> https://blog.kitware.com/evenly-spaced-streamlines-2d/
>>>>>>>>
>>>>>>>> There, I place arrows along a streamline.
>>>>>>>>
>>>>>>>> Dan
>>>>>>>>
>>>>>>>>
>>>>>>>> On Thu, Feb 22, 2018 at 1:53 PM, Thomas Oliveira <
>>>>>>>> thomas.oliveira at gmail.com> wrote:
>>>>>>>>
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> I am visualizing disks perpendicular to streamlines by performing
>>>>>>>>> the following steps, which works.
>>>>>>>>>     1) Create a Plane
>>>>>>>>>     2) Create a Stream Tracer with Custom Source using the plane
>>>>>>>>>     3) With the stream tracer selected in the pipeline browser,
>>>>>>>>> add the glyph filter
>>>>>>>>>     4) In the Glyph Type combo box, select “2D Glyph”.
>>>>>>>>>     5) Select “Circle” in the second Glyph Type combo box
>>>>>>>>>     6) Click on Filled checkbox.
>>>>>>>>>     5) Under Active Attributes, make sure the Vectors property is
>>>>>>>>> set to the vector field I used to create the streamlines.
>>>>>>>>>     6) Set the Glyph Transform Rotate property to 0, 90, 0.
>>>>>>>>>
>>>>>>>>> On each streamline, many disks are rendered.
>>>>>>>>>
>>>>>>>>> However, if, in Glyph Properties > Active Attributes > Scalars, I
>>>>>>>>> select SeedIds, I see just one disk per streamline. Would it be possible to
>>>>>>>>> have many disks per streamline colored by SeedIds?
>>>>>>>>>
>>>>>>>>> My final goal is to illustrate at the outlet face of my model the
>>>>>>>>> starting position the streamlines that cross it. To do I am trying to
>>>>>>>>> render disks colored by SeedIds near the inlet and outlet faces, so that
>>>>>>>>> pair of disks of a same color represents two points connected by a
>>>>>>>>> streamline. Any other idea that provides a similar visual result is also
>>>>>>>>> welcome.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Best regards,
>>>>>>>>> Thomas Oliveira
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> 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:
>>>>>>>>> https://public.kitware.com/mailman/listinfo/paraview
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/paraview/attachments/20180226/c13835e7/attachment.html>


More information about the ParaView mailing list