/** * Copyright (c) 2025 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author Alexander Rose */ import { ParamDefinition as PD } from '../../../mol-util/param-definition.js'; import { VisualContext } from '../../visual.js'; import { Structure } from '../../../mol-model/structure.js'; import { Theme } from '../../../mol-theme/theme.js'; import { Vec3 } from '../../../mol-math/linear-algebra.js'; import { ComplexVisual } from '../complex-visual.js'; import { Image } from '../../../mol-geo/geometry/image/image.js'; import { Color } from '../../../mol-util/color/color.js'; export declare const PlaneImageParams: { interpolation: PD.Select<"nearest" | "catmulrom" | "mitchell" | "bspline">; imageResolution: PD.Numeric; mode: PD.Select<"frame" | "plane">; offset: PD.Numeric; axis: PD.Select<"a" | "b" | "c">; rotation: PD.Group>; plane: PD.Group>; extent: PD.Select<"frame" | "sphere">; margin: PD.Numeric; frame: PD.Select<"principalAxes" | "boundingBox">; antialias: PD.BooleanParam; cutout: PD.BooleanParam; defaultColor: PD.Color; includeParent: PD.BooleanParam; unitKinds: PD.MultiSelect<"spheres" | "gaussians" | "atomic">; 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; }; export type PlaneImageParams = typeof PlaneImageParams; export declare function PlaneImageVisual(materialId: number): ComplexVisual; export interface PlaneImageProps { imageResolution: number; mode: 'frame' | 'plane'; offset: number; axis: 'a' | 'b' | 'c'; margin: number; frame: 'principalAxes' | 'boundingBox'; extent: 'frame' | 'sphere'; rotation: { axis: Vec3; angle: number; }; plane: { point: Vec3; normal: Vec3; }; antialias: boolean; cutout: boolean; defaultColor: Color; includeParent: boolean; } export declare function createPlaneImage(ctx: VisualContext, structure: Structure, theme: Theme, props: PlaneImageProps, image?: Image): Image;