# Getting the samples out of vtkProbeFilter ...

**URL:** https://discourse.vtk.org/t/getting-the-samples-out-of-vtkprobefilter/13996
**Category:** Support
**Created:** [June 6, 2024, 1:45pm UTC](https://discourse.vtk.org/t/getting-the-samples-out-of-vtkprobefilter/13996 "2024-06-06T13:45:20Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![rexthor](https://discourse.vtk.org/user_avatar/discourse.vtk.org/rexthor/32/6481_2.png) [@rexthor](https://discourse.vtk.org/u/rexthor)
#### Post date: [June 6, 2024, 3:53pm UTC](https://discourse.vtk.org/t/getting-the-samples-out-of-vtkprobefilter/13996/2 "2024-06-06T15:53:07Z")

</div>

Apparently I have been down this road before, and nobody seemed to know then either:

> [@vtkProbe not passing scalar values?](https://discourse.vtk.org/t/vtkprobe-not-passing-scalar-values/13272/2):
>
> I tried to increase the node density, that didn’t seem to work either: def project\_onto\_sphere(pd): s = vtk.vtkSphereSource() s.SetThetaResolution(60) s.SetPhiResolution(30) s.SetRadius(1) tf = vtk.vtkTriangleFilter() tf.SetInputData(pd) lf = vtk.vtkLoopSubdivisionFilter() lf.SetInputConnection(tf.GetOutputPort()) lf.SetNumberOfSubdivisions(3) lf.Update() pf = vtk.vtkProbeFilter() pf.SetInputConnection(s.GetOutputPort()) pf.SetSourceConnec…

---

_[View the full topic](https://discourse.vtk.org/t/getting-the-samples-out-of-vtkprobefilter/13996)._
