/** * 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 { StructureRepresentation, StructureRepresentationProvider } from '../representation.js'; import { RepresentationParamsGetter, RepresentationContext } from '../../representation.js'; import { ThemeRegistryContext } from '../../../mol-theme/theme.js'; import { Structure } from '../../../mol-model/structure.js'; export declare const PlaneParams: { visuals: PD.MultiSelect<"plane-image">; 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 PlaneParams = typeof PlaneParams; export declare function getPlaneParams(ctx: ThemeRegistryContext, structure: Structure): { visuals: PD.MultiSelect<"plane-image">; 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 PlaneRepresentation = StructureRepresentation; export declare function PlaneRepresentation(ctx: RepresentationContext, getParams: RepresentationParamsGetter): PlaneRepresentation; export declare const PlaneRepresentationProvider: StructureRepresentationProvider<{ visuals: PD.MultiSelect<"plane-image">; 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; }, "plane">;