voxel_field node

Creates a voxel field from a volume geometry. The value of the field at any position is the value of the named property of the volume geometry, as interpolated between neighboring voxels.

Inputs

volume [in]

The volume geometry to convert to a field.

property [in]

The name of the property on the geometry whose values should be returned when the field is sampled.

interpolation [in]

How to interpolate values: kLinear is the fastest but is not smooth, while kCubicC1 is the smoothest but takes the longest time to compute.

field_type [in]

Specifies the type of field. Connect a scalar field or vector field, depending on the type of the property.

Outputs

voxel_field [out]

The resulting field.