explanation of vtkSignedDistance() function ?

Hi,

I’m a new VTK user wanting to find the distance from a vtkPolyData surface to the points of a structured vtkImageData grid…

My problem is in understanding the logic beneath vtkSignedDistance, if anyone can help! correct me if i’m wrong -

  • SetBounds() sets limits of ImageData grid

  • SetDimensions() sets increments of grid, i.e. number of points within

  • what does radius do? the documentation is unclear to me; does this set (a) the radius from the centre of the polydata object to sweep, (b) the maximum min-distance-from-object-surface it will record, (c) the radius the filter will sweep from each gridpoint as it iterates through, or (d) something else?

the documentation recommends keeping radius low (default=0.1), so how does this fit into the above?

Thanks :slight_smile: