[vtkusers] VTKProbeFilter
John Biddiscombe
jbiddiscombe at skippingmouse.co.uk
Thu Nov 7 10:06:30 EST 2002
> > is possible for example to get N scalairs value in my polydata around
> > the point where I am (in the line) and do a mean of these value ? How
> > can I do that without searching in all my polydata ?
On second thoughts, why not just use a vtkPointLocator to query the
N-nearest points for each sample location and then use these for
interpolation. it ought to be reasonably fast as the pointlocator does a
spatial search using buckets.
create a class similar to ProbeFilter which takes the polydata as input, the
probepoints as source and pumps out the scalars
JB
----- Original Message -----
From: "John Biddiscombe" <jbiddiscombe at skippingmouse.co.uk>
To: "list-vtk-users" <vtkusers at public.kitware.com>; "Louis-Jacques Lalonde"
<lalond01 at gel.ulaval.ca>
Sent: Thursday, November 07, 2002 2:30 PM
Subject: Re: [vtkusers] VTKProbeFilter
>
> One approach might be to create a tube implicit function (you'd have to
> write some code) that lay along the line you wish to do the probing - then
> intersect this with your points. You could vary the width of the tube
> depending upon the density of your points. Then you can use the output of
> the intersection as the search space for your interpolation.
>
> just a thought!
>
> JB
>
>
> ----- Original Message -----
> From: "Louis-Jacques Lalonde" <lalond01 at gel.ulaval.ca>
> To: <vtkusers at public.kitware.com>
> Sent: Thursday, November 07, 2002 1:16 PM
> Subject: [vtkusers] VTKProbeFilter
>
>
> > Hi !
> >
> > I'm using vtkProbefilter with a polydata of points as a source and a
> > line as the input. Like someone said here
> >
> > http://public.kitware.com/pipermail/]/2000-October/004532.html
> >
> > the output of the vtkProbefilter is zero or black in RGB if you use a
> > points-only data set. Someone knows an easy way to solve this ? I have
> > large polydata, around 500-600k points and I have 200-300 points on my
> > line that I want to interpolate. I need to do some kind if
> > interpolation for the points I choose on my line.
> > I don't want to choose an interpolation method that takes too long. It
> > is possible for example to get N scalairs value in my polydata around
> > the point where I am (in the line) and do a mean of these value ? How
> > can I do that without searching in all my polydata ?
> >
> > If anyone modified the vtkprobefilter code do solve this problem, I
> > would be very happy to contact him/her.
> >
> > Thanks !
> >
> > Louis-Jacques
> >
>
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
<http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list