UNPKG

molstar

Version:

A comprehensive macromolecular library.

47 lines (46 loc) 1.78 kB
/** * Copyright (c) 2018-2021 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author Alexander Rose <alexander.rose@weirdbyte.de> */ import { ParamDefinition as PD } from '../../../mol-util/param-definition'; import { UnitsVisual } from '../units-visual'; export declare const PolymerTraceMeshParams: { sizeFactor: PD.Numeric; aspectRatio: PD.Numeric; arrowFactor: PD.Numeric; tubularHelices: PD.BooleanParam; detail: PD.Numeric; linearSegments: PD.Numeric; radialSegments: PD.Numeric; }; export declare const DefaultPolymerTraceMeshProps: PD.Values<{ sizeFactor: PD.Numeric; aspectRatio: PD.Numeric; arrowFactor: PD.Numeric; tubularHelices: PD.BooleanParam; detail: PD.Numeric; linearSegments: PD.Numeric; radialSegments: PD.Numeric; }>; export declare type PolymerTraceMeshProps = typeof DefaultPolymerTraceMeshProps; export declare const PolymerTraceParams: { sizeFactor: PD.Numeric; aspectRatio: PD.Numeric; arrowFactor: PD.Numeric; tubularHelices: PD.BooleanParam; detail: PD.Numeric; linearSegments: PD.Numeric; radialSegments: PD.Numeric; unitKinds: PD.MultiSelect<"spheres" | "atomic" | "gaussians">; includeParent: PD.BooleanParam; 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 PolymerTraceParams = typeof PolymerTraceParams; export declare function PolymerTraceVisual(materialId: number): UnitsVisual<PolymerTraceParams>;