Reputation: 487
I have created a slice. On this slice I have generated 2D streamlines. I would like to have arrows to represent the direction of the streamlines in the following manner:
I tried to create them using Glyphs. Below is the screenshot of the settings I used in the Glyph filter:
I am getting the following as the output:
As one can see the arrows are not in line with the streamlines. Can someone please help me get the desired output? Also I just want the arrow head and not the arrow itself.
When I use the edge arrow I am getting the following (Please note that I have rotated the slice to show that the arrow head is appearing perpendicular to the streamlines):
Upvotes: 0
Views: 4132
Reputation: 2498
You should set the orientation array
to the array used to extract the streamlines.
Use EdgeArrow
as Glyph type to only have the arrow head.
Edit: investigation
Check the `Glyph Transform' values. Rotation should be [0,0,0].
You can also use the Spreadsheet View to check the values of the orientation array at the buggy points.
Here is a state file I made with PV 5.8 RC1, so you can compare with your configurations. It contains: a Wavelet source to create a grid, a RandomAttributes filter to add Points Vector, a StreamTracer and finally the Glyph filter: https://drive.google.com/file/d/11E3du4warRIX5v8pxX7LxdCy-jsmGlZ5/view?usp=sharing
Upvotes: 1