UNPKG

molstar

Version:

A comprehensive macromolecular library.

121 lines (120 loc) 5.47 kB
/** * Copyright (c) 2018-2020 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author Alexander Rose <alexander.rose@weirdbyte.de> * @author David Sehnal <david.sehnal@gmail.com> */ import { ParamDefinition as PD } from '../../mol-util/param-definition'; import { UnitKind } from './visual/util/common'; export declare function getUnitKindsParam(defaultValue: UnitKind[]): PD.MultiSelect<"spheres" | "atomic" | "gaussians">; export declare const StructureParams: { unitKinds: PD.MultiSelect<"spheres" | "atomic" | "gaussians">; includeParent: PD.BooleanParam; }; export declare type StructureParams = typeof StructureParams; export declare const StructureMeshParams: { doubleSided: PD.BooleanParam; flipSided: PD.BooleanParam; flatShaded: PD.BooleanParam; ignoreLight: PD.BooleanParam; xrayShaded: PD.BooleanParam; alpha: PD.Numeric; quality: PD.Select<"custom" | "auto" | "highest" | "higher" | "high" | "medium" | "low" | "lower" | "lowest">; }; export declare type StructureMeshParams = typeof StructureMeshParams; export declare const StructureSpheresParams: { sizeFactor: PD.Numeric; doubleSided: PD.BooleanParam; ignoreLight: PD.BooleanParam; xrayShaded: PD.BooleanParam; alpha: PD.Numeric; quality: PD.Select<"custom" | "auto" | "highest" | "higher" | "high" | "medium" | "low" | "lower" | "lowest">; }; export declare type StructureSpheresParams = typeof StructureSpheresParams; export declare const StructureCylindersParams: { sizeFactor: PD.Numeric; sizeAspectRatio: PD.Numeric; doubleSided: PD.BooleanParam; ignoreLight: PD.BooleanParam; xrayShaded: PD.BooleanParam; alpha: PD.Numeric; quality: PD.Select<"custom" | "auto" | "highest" | "higher" | "high" | "medium" | "low" | "lower" | "lowest">; }; export declare type StructureCylindersParams = typeof StructureCylindersParams; export declare const StructurePointsParams: { sizeFactor: PD.Numeric; pointSizeAttenuation: PD.BooleanParam; pointStyle: PD.Select<"square" | "circle" | "fuzzy">; alpha: PD.Numeric; quality: PD.Select<"custom" | "auto" | "highest" | "higher" | "high" | "medium" | "low" | "lower" | "lowest">; }; export declare type StructurePointsParams = typeof StructurePointsParams; export declare const StructureLinesParams: { sizeFactor: PD.Numeric; lineSizeAttenuation: PD.BooleanParam; alpha: PD.Numeric; quality: PD.Select<"custom" | "auto" | "highest" | "higher" | "high" | "medium" | "low" | "lower" | "lowest">; }; export declare type StructureLinesParams = typeof StructureLinesParams; export declare const StructureTextParams: { sizeFactor: PD.Numeric; borderWidth: PD.Numeric; borderColor: PD.Color; offsetX: PD.Numeric; offsetY: PD.Numeric; offsetZ: PD.Numeric; background: PD.BooleanParam; backgroundMargin: PD.Numeric; backgroundColor: PD.Color; backgroundOpacity: PD.Numeric; tether: PD.BooleanParam; tetherLength: PD.Numeric; tetherBaseWidth: PD.Numeric; attachment: PD.Select<"middle-center" | "bottom-left" | "bottom-center" | "bottom-right" | "middle-left" | "middle-right" | "top-left" | "top-center" | "top-right">; fontFamily: PD.Select<import("../../mol-geo/geometry/text/font-atlas").FontFamily>; fontQuality: PD.Select<number>; fontStyle: PD.Select<import("../../mol-geo/geometry/text/font-atlas").FontStyle>; fontVariant: PD.Select<import("../../mol-geo/geometry/text/font-atlas").FontVariant>; fontWeight: PD.Select<import("../../mol-geo/geometry/text/font-atlas").FontWeight>; alpha: PD.Numeric; quality: PD.Select<"custom" | "auto" | "highest" | "higher" | "high" | "medium" | "low" | "lower" | "lowest">; }; export declare type StructureTextParams = typeof StructureTextParams; export declare const StructureDirectVolumeParams: { doubleSided: PD.BooleanParam; flipSided: PD.BooleanParam; flatShaded: PD.BooleanParam; ignoreLight: PD.BooleanParam; xrayShaded: PD.BooleanParam; renderMode: PD.Mapped<PD.NamedParams<PD.Normalize<{ controlPoints: import("../../mol-math/linear-algebra/3d/vec2").Vec2[]; list: { kind: "set" | "interpolate"; colors: import("../../mol-util/color/color").ColorListEntry[]; }; }>, "volume"> | PD.NamedParams<PD.Normalize<{ isoValue: Readonly<{ kind: "absolute"; absoluteValue: number; }> | Readonly<{ kind: "relative"; relativeValue: number; }>; singleLayer: boolean; }>, "isosurface">>; stepsPerCell: PD.Numeric; jumpLength: PD.Numeric; alpha: PD.Numeric; quality: PD.Select<"custom" | "auto" | "highest" | "higher" | "high" | "medium" | "low" | "lower" | "lowest">; }; export declare type StructureDirectVolumeParams = typeof StructureDirectVolumeParams; export declare const StructureTextureMeshParams: { doubleSided: PD.BooleanParam; flipSided: PD.BooleanParam; flatShaded: PD.BooleanParam; ignoreLight: PD.BooleanParam; xrayShaded: PD.BooleanParam; alpha: PD.Numeric; quality: PD.Select<"custom" | "auto" | "highest" | "higher" | "high" | "medium" | "low" | "lower" | "lowest">; }; export declare type StructureTextureMeshParams = typeof StructureTextureMeshParams;