HoloField - Boundary-to-Volume Generator
    Preparing search index...

    Variable UniformVoxelSamplerConst

    UniformVoxelSampler: {
        defaults: { resolution: number; size: number };
        metadata: {
            description: string;
            displayName: string;
            samplerType: "voxel";
        };
        generate(decoder: BoundDecoder, options: SpatialSamplerOptions): VoxelGrid;
    } = ...

    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.

    Type Declaration

    Decoder bound to a scalar field to evaluate values at voxel indexes / coordinates.

    Sampling configuration.

    Physical size of the cubic sampling volume.

    Number of voxels along each axis.