Samples a decoded scalar field within a uniform Cartesian voxel grid.
The sampler divides a cubic volume of the specified size into equally
sized voxels and evaluates the decoder at the centre position of each voxel.
The resulting values are stored in a VoxelGrid suitable for volume rendering,
isosurface extraction, or other 3D processing techniques.
This sampler assumes that the input decoder represents a continuous
scalar field in 3D space. The sampling resolution is uniform along all
three axes, producing a regular grid with predictable memory requirements.
Samples a decoded scalar field within a uniform Cartesian voxel grid.
The sampler divides a cubic volume of the specified
sizeinto equally sized voxels and evaluates the decoder at the centre position of each voxel.The resulting values are stored in a
VoxelGridsuitable for volume rendering, isosurface extraction, or other 3D processing techniques.This sampler assumes that the input decoder represents a continuous scalar field in 3D space. The sampling resolution is uniform along all three axes, producing a regular grid with predictable memory requirements.