Module: Eval On Lines ()
The module takes an object of type Spatial Graph and a uniform scalar field (e.g., distance map) as input. The field is evaluated at each point of the SpatialGraph and the result is stored there as the thickness (radius) attribute. Press the Apply button to start the computation.A common usage of this module is to connect a skeleton and the distance map used to compute this skeleton, so that each point of the skeleton includes a thickness information. If the distance map is a Chamfer distance map, it could include a data parameter named ChamferMapScaleFactor. This parameter is automatically created by Distance Map On Disk Data for example. It can also be added by hand through the parameters editor.
A chamfer map is by default computed with integer values. The ChamferMapScaleFactor factor is used to scale the chamfer map so that it uses the same units as the voxels. In order to have the real distances (in voxel length units), the integer values of the Chamfer map must be divided by the ChamferMapScaleFactor, with a minimum of half the voxel size.
Eval On Lines having such a distance map connected will consider the ChamferMapScaleFactor parameter to compute the thickness.
Data [required]
The Spatial Graph object.Field [required]
The uniform scalar field to be sampled.