export const UNIQUE_ID_KEY: "_uniqueId"; export const BLOCK_SIZE: 10000; /** * Assigns unique identifiers for tuples that pass through this transform. * * The identifiers are reserved in equally sized blocks, allowing for * quick lookup of the IdentifierTransform instance that assigned the id. * This is mainly used for creating ids that can be used for picking, i.e., * selecting rendered data items by hovering or clicking. */ export default class IdentifierTransform extends Transform { /** * * @param {import("../../spec/transform.js").IdentifierParams} params */ constructor(params: import("../../spec/transform.js").IdentifierParams); params: import("../../spec/transform.js").IdentifierParams; as: string; /** * The block indexes reserved by this transform instance. * @type {number[]} */ _blocks: number[]; /** * The number of blocks used */ _usedBlocks: number; /** * The next advancement allocates the initial block for this instance */ _id: number; /** * @returns {number} */ _nextId(): number; _getBlock(): number; _reserveBlock(): number; } import Transform from "./transform.js"; //# sourceMappingURL=identifier.d.ts.map