/** * Copyright (c) 2018-2026 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author Alexander Rose * @author Gianluca Tomasello */ import { ParamDefinition as PD } from '../../../mol-util/param-definition.js'; import { StructureRepresentation, StructureRepresentationProvider } from '../representation.js'; import { RepresentationParamsGetter, RepresentationContext } from '../../../mol-repr/representation.js'; import { ThemeRegistryContext } from '../../../mol-theme/theme.js'; import { Structure } from '../../../mol-model/structure.js'; export declare const MolecularSurfaceParams: { visuals: PD.MultiSelect<"molecular-surface-mesh" | "structure-molecular-surface-mesh" | "molecular-surface-wireframe" | "structure-molecular-surface-wireframe">; bumpFrequency: PD.Numeric; density: PD.Numeric; sizeFactor: PD.Numeric; ignoreHydrogens: PD.BooleanParam; ignoreHydrogensVariant: PD.Select<"all" | "non-polar">; traceOnly: PD.BooleanParam; includeParent: PD.BooleanParam; resolution: { label?: string; description?: string; legend?: import("../../../mol-util/legend.js").Legend; fieldLabels?: { [name: string]: string; }; isHidden?: boolean; shortLabel?: boolean; twoColumns?: boolean; isEssential?: boolean; category?: string; hideIf?: (currentGroup: any) => boolean; help?: (value: any) => { description?: string; legend?: import("../../../mol-util/legend.js").Legend; }; type: "number"; immediateUpdate?: boolean; isOptional?: boolean; defaultValue: number; min?: number; max?: number; step?: number; }; probePositions: { label?: string; description?: string; legend?: import("../../../mol-util/legend.js").Legend; fieldLabels?: { [name: string]: string; }; isHidden?: boolean; shortLabel?: boolean; twoColumns?: boolean; isEssential?: boolean; category?: string; hideIf?: (currentGroup: any) => boolean; help?: (value: any) => { description?: string; legend?: import("../../../mol-util/legend.js").Legend; }; type: "number"; immediateUpdate?: boolean; isOptional?: boolean; defaultValue: number; min?: number; max?: number; step?: number; }; floodfill: PD.Select<"inside" | "outside" | "off">; probeRadius: PD.Numeric; unitKinds: PD.MultiSelect<"spheres" | "gaussians" | "atomic">; lineSizeAttenuation: PD.BooleanParam; alpha: PD.Numeric; quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">; material: PD.Group>; clip: PD.Group[]; }>>; emissive: PD.Numeric; instanceGranularity: PD.BooleanParam; lod: PD.Vec3; cellSize: PD.Numeric; batchSize: PD.Numeric; smoothColors: PD.Mapped, "auto"> | PD.NamedParams, "off"> | PD.NamedParams, "on">>; doubleSided: PD.BooleanParam; flipSided: PD.BooleanParam; flatShaded: PD.BooleanParam; ignoreLight: PD.BooleanParam; celShaded: PD.BooleanParam; xrayShaded: PD.Select; transparentBackfaces: PD.Select<"off" | "on" | "opaque">; bumpAmplitude: PD.Numeric; interior: PD.Group; substanceStrength: number; }>>; }; export type MolecularSurfaceParams = typeof MolecularSurfaceParams; export declare function getMolecularSurfaceParams(ctx: ThemeRegistryContext, structure: Structure): { visuals: PD.MultiSelect<"molecular-surface-mesh" | "structure-molecular-surface-mesh" | "molecular-surface-wireframe" | "structure-molecular-surface-wireframe">; bumpFrequency: PD.Numeric; density: PD.Numeric; sizeFactor: PD.Numeric; ignoreHydrogens: PD.BooleanParam; ignoreHydrogensVariant: PD.Select<"all" | "non-polar">; traceOnly: PD.BooleanParam; includeParent: PD.BooleanParam; resolution: { label?: string; description?: string; legend?: import("../../../mol-util/legend.js").Legend; fieldLabels?: { [name: string]: string; }; isHidden?: boolean; shortLabel?: boolean; twoColumns?: boolean; isEssential?: boolean; category?: string; hideIf?: (currentGroup: any) => boolean; help?: (value: any) => { description?: string; legend?: import("../../../mol-util/legend.js").Legend; }; type: "number"; immediateUpdate?: boolean; isOptional?: boolean; defaultValue: number; min?: number; max?: number; step?: number; }; probePositions: { label?: string; description?: string; legend?: import("../../../mol-util/legend.js").Legend; fieldLabels?: { [name: string]: string; }; isHidden?: boolean; shortLabel?: boolean; twoColumns?: boolean; isEssential?: boolean; category?: string; hideIf?: (currentGroup: any) => boolean; help?: (value: any) => { description?: string; legend?: import("../../../mol-util/legend.js").Legend; }; type: "number"; immediateUpdate?: boolean; isOptional?: boolean; defaultValue: number; min?: number; max?: number; step?: number; }; floodfill: PD.Select<"inside" | "outside" | "off">; probeRadius: PD.Numeric; unitKinds: PD.MultiSelect<"spheres" | "gaussians" | "atomic">; lineSizeAttenuation: PD.BooleanParam; alpha: PD.Numeric; quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">; material: PD.Group>; clip: PD.Group[]; }>>; emissive: PD.Numeric; instanceGranularity: PD.BooleanParam; lod: PD.Vec3; cellSize: PD.Numeric; batchSize: PD.Numeric; smoothColors: PD.Mapped, "auto"> | PD.NamedParams, "off"> | PD.NamedParams, "on">>; doubleSided: PD.BooleanParam; flipSided: PD.BooleanParam; flatShaded: PD.BooleanParam; ignoreLight: PD.BooleanParam; celShaded: PD.BooleanParam; xrayShaded: PD.Select; transparentBackfaces: PD.Select<"off" | "on" | "opaque">; bumpAmplitude: PD.Numeric; interior: PD.Group; substanceStrength: number; }>>; }; export type MolecularSurfaceRepresentation = StructureRepresentation; export declare function MolecularSurfaceRepresentation(ctx: RepresentationContext, getParams: RepresentationParamsGetter): MolecularSurfaceRepresentation; export declare const MolecularSurfaceRepresentationProvider: StructureRepresentationProvider<{ visuals: PD.MultiSelect<"molecular-surface-mesh" | "structure-molecular-surface-mesh" | "molecular-surface-wireframe" | "structure-molecular-surface-wireframe">; bumpFrequency: PD.Numeric; density: PD.Numeric; sizeFactor: PD.Numeric; ignoreHydrogens: PD.BooleanParam; ignoreHydrogensVariant: PD.Select<"all" | "non-polar">; traceOnly: PD.BooleanParam; includeParent: PD.BooleanParam; resolution: { label?: string; description?: string; legend?: import("../../../mol-util/legend.js").Legend; fieldLabels?: { [name: string]: string; }; isHidden?: boolean; shortLabel?: boolean; twoColumns?: boolean; isEssential?: boolean; category?: string; hideIf?: (currentGroup: any) => boolean; help?: (value: any) => { description?: string; legend?: import("../../../mol-util/legend.js").Legend; }; type: "number"; immediateUpdate?: boolean; isOptional?: boolean; defaultValue: number; min?: number; max?: number; step?: number; }; probePositions: { label?: string; description?: string; legend?: import("../../../mol-util/legend.js").Legend; fieldLabels?: { [name: string]: string; }; isHidden?: boolean; shortLabel?: boolean; twoColumns?: boolean; isEssential?: boolean; category?: string; hideIf?: (currentGroup: any) => boolean; help?: (value: any) => { description?: string; legend?: import("../../../mol-util/legend.js").Legend; }; type: "number"; immediateUpdate?: boolean; isOptional?: boolean; defaultValue: number; min?: number; max?: number; step?: number; }; floodfill: PD.Select<"inside" | "outside" | "off">; probeRadius: PD.Numeric; unitKinds: PD.MultiSelect<"spheres" | "gaussians" | "atomic">; lineSizeAttenuation: PD.BooleanParam; alpha: PD.Numeric; quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">; material: PD.Group>; clip: PD.Group[]; }>>; emissive: PD.Numeric; instanceGranularity: PD.BooleanParam; lod: PD.Vec3; cellSize: PD.Numeric; batchSize: PD.Numeric; smoothColors: PD.Mapped, "auto"> | PD.NamedParams, "off"> | PD.NamedParams, "on">>; doubleSided: PD.BooleanParam; flipSided: PD.BooleanParam; flatShaded: PD.BooleanParam; ignoreLight: PD.BooleanParam; celShaded: PD.BooleanParam; xrayShaded: PD.Select; transparentBackfaces: PD.Select<"off" | "on" | "opaque">; bumpAmplitude: PD.Numeric; interior: PD.Group; substanceStrength: number; }>>; }, "molecular-surface">;