/** * Copyright (c) 2020-2026 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author Alexander Rose */ import { TextureImage } from '../../../mol-gl/renderable/util.js'; import { Sphere3D } from '../../../mol-math/geometry.js'; import { Vec2, Vec3, Quat, Mat4 } from '../../../mol-math/linear-algebra.js'; import { ValueCell } from '../../../mol-util/index.js'; import { ParamDefinition as PD } from '../../../mol-util/param-definition.js'; import { GeometryUtils } from '../geometry.js'; export declare const InterpolationTypes: { nearest: string; catmulrom: string; mitchell: string; bspline: string; }; export type InterpolationTypes = keyof typeof InterpolationTypes; export declare const InterpolationTypeNames: InterpolationTypes[]; export { Image }; interface Image { readonly kind: 'image'; readonly imageTexture: ValueCell>; readonly imageTextureDim: ValueCell; readonly cornerBuffer: ValueCell; readonly groupTexture: ValueCell>; readonly valueTexture: ValueCell>; readonly trimType: ValueCell; readonly trimCenter: ValueCell; readonly trimRotation: ValueCell; readonly trimScale: ValueCell; readonly trimTransform: ValueCell; readonly isoLevel: ValueCell; /** Bounding sphere of the image */ readonly boundingSphere: Sphere3D; setBoundingSphere(boundingSphere: Sphere3D): void; hasBoundingSphere(): boolean; readonly meta: { [k: string]: unknown; }; } declare namespace Image { type Trim = { type: 0 | 1 | 2 | 3 | 4 | 5; center: Vec3; rotation: Quat; scale: Vec3; transform: Mat4; }; function createEmptyTrim(): Trim; function create(imageTexture: TextureImage, corners: Float32Array, groupTexture: TextureImage, valueTexture: TextureImage, trim: Trim, isoLevel: number, image?: Image): Image; function createEmpty(image?: Image): Image; const Params: { interpolation: PD.Select<"nearest" | "catmulrom" | "mitchell" | "bspline">; alpha: PD.Numeric; quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">; material: PD.Group>; clip: PD.Group[]; }>>; emissive: PD.Numeric; density: PD.Numeric; instanceGranularity: PD.BooleanParam; lod: PD.Vec3; cellSize: PD.Numeric; batchSize: PD.Numeric; }; type Params = typeof Params; const Utils: GeometryUtils; }