# vtkProbeFilter uses vtkStaticCellLocator::FindCell which produces different results than vtkDataSet::FindCell

**URL:** https://discourse.vtk.org/t/vtkprobefilter-uses-vtkstaticcelllocator-findcell-which-produces-different-results-than-vtkdataset-findcell/984
**Category:** Development
**Tags:** proposal
**Created:** [May 17, 2019, 6:46pm UTC](https://discourse.vtk.org/t/vtkprobefilter-uses-vtkstaticcelllocator-findcell-which-produces-different-results-than-vtkdataset-findcell/984 "2019-05-17T18:46:39Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![psandana](https://discourse.vtk.org/user_avatar/discourse.vtk.org/psandana/32/438_2.png) [@psandana](https://discourse.vtk.org/u/psandana)
#### Post date: [May 17, 2019, 6:46pm UTC](https://discourse.vtk.org/t/vtkprobefilter-uses-vtkstaticcelllocator-findcell-which-produces-different-results-than-vtkdataset-findcell/984/1 "2019-05-17T18:46:39Z")

</div>

Hi,

I found that vtkProbeFilter, since vtk8.2 uses by default a vtkStaticCellLocator. That breaks some of my tests. So I propose either of these two options:

1. Modify vtkStaticCellLocator::FindCell() to use the this-\>DataSet-\>FindCell()
2. Modify vtkProbeFilter to not use vtkStaticCellLocator if no CellLocatorPrototype is used and use the DataSet-\>FindCell() method.
  - Merge Request: [https://gitlab.kitware.com/vtk/vtk/merge\_requests/5556](https://gitlab.kitware.com/vtk/vtk/merge_requests/5556)

I would like to apply the fix to 8.2 if possible.

I’m working in the Pull Requests in the meanwhile.

Cheers,  
Pato
