# What is SetSampleDimensions in vtkSampleFunction?

**URL:** https://discourse.vtk.org/t/what-is-setsampledimensions-in-vtksamplefunction/2540
**Category:** Support
**Created:** [February 4, 2020, 1:16pm UTC](https://discourse.vtk.org/t/what-is-setsampledimensions-in-vtksamplefunction/2540 "2020-02-04T13:16:44Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![stwalker](https://discourse.vtk.org/user_avatar/discourse.vtk.org/stwalker/32/1245_2.png) [@stwalker](https://discourse.vtk.org/u/stwalker)
#### Post date: [February 4, 2020, 1:16pm UTC](https://discourse.vtk.org/t/what-is-setsampledimensions-in-vtksamplefunction/2540/1 "2020-02-04T13:16:44Z")

</div>

Referring to the example found here:

[https://cmake.org/Wiki/VTK/Examples/Python/Implicit/Quadric](https://cmake.org/Wiki/VTK/Examples/Python/Implicit/Quadric)

I know that increasing the arguments SetSampleDimensions seems to increase the mesh density (I think), and generally makes it slower, but beyond that I am not sure what exactly this is doing. The doc string says: `Specify the dimensions of the data on which to sample`, but I am not sure what this means exactly. Can anyone shed some light on this for me please? Thank you.
