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

    Variable SurfacePointCloudSamplerConst

    SurfacePointCloudSampler: {
        defaults: {
            isoValue: number;
            resolution: number;
            size: number;
            threshold: number;
        };
        metadata: {
            description: string;
            displayName: string;
            samplerType: "pointCloud";
        };
        generate(
            decoder: BoundDecoder,
            options: SpatialSamplerOptions,
        ): PointDataset;
    } = ...

    Samples a decoded scalar field as a point cloud representing its surface.

    The sampler evaluates the decoder throughout the specified volume and retains positions where the scalar field meets the configured surface criterion.

    The resulting points are stored in a PointDataset suitable for point-based rendering or other surface-based 3D processing.

    Unlike UniformPointCloudSampler, this sampler selects points according to the decoded field rather than sampling the volume uniformly.

    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 sampling positions along each axis.

    Tolerance around the isovalue used to select surface samples.

    Scalar-field value defining the target surface.