[Paraview] Table to Points and Threshold filter

Fabian Nick fabian.nick at scai.fraunhofer.de
Tue Jan 28 02:01:33 EST 2014


Thanks,

the Glyph+Treshold version worked, although I had to uncheck a couple of things (Mask Points, Random Mode, Keep Random Points) in the Glyph filter.

Regards,
Fabian

----- Original Message -----
> From: "Cory Quammen" <cory.quammen at kitware.com>
> To: "Paul Edwards" <paul.m.edwards at gmail.com>
> Cc: "Fabian Nick" <fabian.nick at scai.fraunhofer.de>, "paraview" <paraview at paraview.org>
> Sent: Monday, 27 January, 2014 4:45:23 PM
> Subject: Re: [Paraview] Table to Points and Threshold filter
> 
> I think Paul is right. As an alternative to creating glyphs, you can
> use VTK's threshold points filter, which you can expose in ParaView
> by
> loading this XML plugin:
> https://raw.github.com/MADAI/MADAIWorkbench/master/Plugins/ThresholdPointsFilter/ThresholdPoints.xml
> 
> Best,
> Cory
> 
> On Mon, Jan 27, 2014 at 10:17 AM, Paul Edwards
> <paul.m.edwards at gmail.com> wrote:
> > I think it is because the threshold filter operates on cells (and
> > you don't
> > have any).  You could use the glyph filter to create a vertex for
> > each point
> > and then it should work (e.g. select "2D Glyph" and "Vertex").
> >
> > Regards,
> > Paul
> >
> >
> > On 27 January 2014 11:06, Fabian Nick
> > <fabian.nick at scai.fraunhofer.de>
> > wrote:
> >>
> >> Hi everyone,
> >>
> >> I am new to ParaView and the following question has come up:
> >>
> >> I have a file with a certain number of points as coordinates and
> >> integers
> >> between 1 and 5 assigned to every point. I.e. each row of the file
> >> looks
> >> like
> >>
> >> x,y,int
> >>
> >> x and y being the 2D coordinates, int the integer between 1 and
> >> five.
> >>
> >> Now I saved this file as mesh.csv and imported this file into
> >> ParaView.
> >> Next I added a "TableToPoints" filter, setting X Column to x, Y
> >> Column to
> >> y and Z Column to int.
> >> I checked "2D points" and "Keep All Data Arrays".
> >> When I choose "int" in the Coloring section I see all my points in
> >> different colors according to the integer I've assigned them. So
> >> far so
> >> good.
> >>
> >> Now I want to display only those points, which have been assigned
> >> a value
> >> between 2 and 5, for example. So I added a thershold filter, set
> >> it to
> >> visible, choose "int" from the Scalars Dropdown menu and set
> >> Minimum and
> >> Maximum to 2 and 5 respectively. However, although I've set the
> >> TableToPoints layer to invisible, I still see ALL the points (just
> >> not
> >> colored any more). I only want to see those with values between 2
> >> and 5
> >> though... So what am I doing wrong?
> >>
> >> Thanks,
> >> Fabian
> >>
> >> _______________________________________________
> >> 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
> >>
> >> Follow this link to subscribe/unsubscribe:
> >> http://www.paraview.org/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
> >
> > Follow this link to subscribe/unsubscribe:
> > http://www.paraview.org/mailman/listinfo/paraview
> >
> 


More information about the ParaView mailing list