[vtkusers] vtkPolyData as source of vtkProbeFilter does not work
Bill Lorensen
bill.lorensen at gmail.com
Sat Sep 12 11:35:28 EDT 2009
It should work. Are you sure they overlap? Check the bounds for both
the source and inoput.
On Sat, Sep 12, 2009 at 10:56 AM, Boettcher, Dr. Peter
<Boettcher at kleintierklinik.uni-leipzig.de> wrote:
> Dear all
>
>
>
> I would like to probe a vtkPolyData (e.g. a sphere) with a vtkImageData:
>
> Source = vtkPolyData
>
> Input = vtkImageData
>
>
>
> Unfortunately vtkProbeFilter always returns -1 when calling
> FindCell(x,NULL,-1,tol2,subId,pcoords,weights) and therefore the image is
> passed through vtkProbeFilter remaining unchanged as no interpolation of
> scalars is performed at any point of the vtkImageData. Both data overlaps
> each other completely. Therefore, probing should give valuable results!
>
>
>
> I think it has something to do with tol2. Any suggestions?
>
>
>
> Thanks – Peter.
>
>
>
> Using vtkGaussianSplatter works well. However no scalars are splatted into
> the vtkImageData.
>
>
>
> _______________________________________________
> 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 VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
More information about the vtkusers
mailing list