[Paraview] Equally spaced points on a slice (for the streamlines)

Andrew antech777 at gmail.com
Thu Nov 23 05:26:50 EST 2017


Hello, Kenichiro Yoshimi, and thanks for your help.
I tried the Smooth filter just now. It works, but it seems to be not
appropriate with very irregular point distributions. Things look only a bit
better with it.
I also tried this filter after Mask Points with Random sampling +
Randomized ID strides that generates more even distribution than initial
seed. But the Smooth filter tells that, in this case, it has "nothing to
smooth".
Mask points filter works being applied after the Smooth (with default 20
iterations) but it's not better than just Mask Point on initial slice with
Random Sampling + Randomized ID strides.
The way that look simple is just to create glyphs with Uniform spatial
distribution option and to apply the Streamlines to these glyphs as source
points. But here is an another "snake in the grass": although there is an
appropriate number of glyphs when I visualize them, the Streamline filter
tries to draw lines from every point of initial slice, not from "glyphed"
points.
So I still stay with Mask Points + Random sampling + Randomized ID strides.

2017-11-23 11:48 GMT+03:00 kenichiro yoshimi <rccm.kyoshimi at gmail.com>:

> Hi  Andrew,
>
> Would you try to apply the set of filters with Smooth, Subdivide and
> Mask Points to a slice surface? The smoothing process helps to secure
> an evenly distribution of points on a slice.
>
> Thanks
>
> 2017-11-22 21:17 GMT+09:00 Andrew <antech777 at gmail.com>:
> > Hello.
> > Sorry for being so slow, got lots of work with reports...
> > Just tried Mandelbrot filter applied to a slice. With defaults, it
> created a
> > kind of fractal rotated and translated relative to original slice.
> Should I
> > use some particular settings to just resample? Also, tried Wavelet and
> > Gaussian resample. These filters create volumes being appliet to the
> slice
> > so it seems that they doesnt fit my needs. Any suggestions? Is there some
> > simple filter to resample arbitrary surface in ParaView.
> > Thanks for your attention. (Now I use Mask Points with the same problem
> of
> > un-even point distribution, the best results are with Random sampling +
> > randomised ID strides, but without limiting the maximum number of points;
> > instead of this limit I preview points with glyphs and then feed these
> point
> > to the Stream tracer with custom source)
> >
> > 2017-10-25 9:41 GMT+03:00 Andrew <antech777 at gmail.com>:
> >>
> >> Hello, sorry for being late.
> >> The slice may be oriented arbitrary, it may be not a flat but cylinder
> >> slice e.t.c. But often I need just axis-aligned slices. Thanks for
> >> suggestion about sources.
> >>
> >> 2017-10-23 18:03 GMT+03:00 Utkarsh Ayachit <utkarsh.ayachit at kitware.com
> >:
> >>>
> >>> Is the slice axis aligned? If so, you can use a regular source eg.
> >>> Wavelet or Mandlebrot to generate the evenly spaced points by setting
> the
> >>> extents appropriately.
> >>>
> >>> Utkarsh
> >>>
> >>> On Mon, Oct 23, 2017 at 2:41 AM, Andrew <antech777 at gmail.com> wrote:
> >>>>
> >>>> Hello.
> >>>> I need to distribute points on a slice equally to start streamlines
> from
> >>>> these points. The problem is that the Mask Points filter seems to not
> to
> >>>> have such option. I tried all combinations of randomizing in this
> filter but
> >>>> the problem persist. My mesh is unstructured tetra with inflation
> layers on
> >>>> wall so there are lots of cells (points) at the wall and almost all
> >>>> streamlines start in near-wall region while I need their starting
> points to
> >>>> be equally distributed along the slice. Is there a way to do it in
> ParaView?
> >>>> Thanks for attention...
> >>>>
> >>>> _______________________________________________
> >>>> 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
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20171123/624d8aed/attachment.html>


More information about the ParaView mailing list