UNPKG

molstar

Version:

A comprehensive macromolecular library.

186 lines (185 loc) 6.53 kB
/** * Copyright (c) 2019-2026 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author Alexander Rose <alexander.rose@weirdbyte.de> * @author Gianluca Tomasello <giagitom@gmail.com> */ import { ParamDefinition as PD } from '../../../mol-util/param-definition.js'; import { UnitsVisual } from '../units-visual.js'; import { ComplexVisual } from '../complex-visual.js'; export declare const MolecularSurfaceWireframeParams: { 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<PD.Normalize<{ metalness: number; roughness: number; bumpiness: number; }>>; clip: PD.Group<PD.Normalize<{ variant: import("../../../mol-util/clip.js").Clip.Variant; objects: PD.Normalize<{ type: /*elided*/ any; invert: /*elided*/ any; position: /*elided*/ any; rotation: /*elided*/ any; scale: /*elided*/ any; transform: /*elided*/ any; }>[]; }>>; emissive: PD.Numeric; density: PD.Numeric; instanceGranularity: PD.BooleanParam; lod: PD.Vec3; cellSize: PD.Numeric; batchSize: PD.Numeric; }; export type MolecularSurfaceWireframeParams = typeof MolecularSurfaceWireframeParams; export type MolecularSurfaceWireframeProps = PD.Values<MolecularSurfaceWireframeParams>; export declare const StructureMolecularSurfaceWireframeParams: { 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<PD.Normalize<{ metalness: number; roughness: number; bumpiness: number; }>>; clip: PD.Group<PD.Normalize<{ variant: import("../../../mol-util/clip.js").Clip.Variant; objects: PD.Normalize<{ type: /*elided*/ any; invert: /*elided*/ any; position: /*elided*/ any; rotation: /*elided*/ any; scale: /*elided*/ any; transform: /*elided*/ any; }>[]; }>>; emissive: PD.Numeric; density: PD.Numeric; instanceGranularity: PD.BooleanParam; lod: PD.Vec3; cellSize: PD.Numeric; batchSize: PD.Numeric; }; export type StructureMolecularSurfaceWireframeParams = typeof StructureMolecularSurfaceWireframeParams; export type StructureMolecularSurfaceWireframeProps = PD.Values<StructureMolecularSurfaceWireframeParams>; export declare function MolecularSurfaceWireframeVisual(materialId: number): UnitsVisual<MolecularSurfaceWireframeParams>; export declare function StructureMolecularSurfaceWireframeVisual(materialId: number): ComplexVisual<StructureMolecularSurfaceWireframeParams>;