UNPKG

molstar

Version:

A comprehensive macromolecular library.

69 lines (68 loc) 3.39 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 { Structure } from '../../../mol-model/structure'; import { ComplexVisual } from '../complex-visual'; import { WebGLContext } from '../../../mol-gl/webgl/context'; export declare const InterUnitBondCylinderParams: { sizeFactor: PD.Numeric; sizeAspectRatio: PD.Numeric; tryUseImpostor: PD.BooleanParam; includeParent: PD.BooleanParam; adjustCylinderLength: PD.BooleanParam; includeTypes: PD.MultiSelect<"covalent" | "computed" | "aromatic" | "metal-coordination" | "hydrogen-bond" | "disulfide">; excludeTypes: PD.MultiSelect<"covalent" | "computed" | "aromatic" | "metal-coordination" | "hydrogen-bond" | "disulfide">; ignoreHydrogens: PD.BooleanParam; aromaticBonds: PD.BooleanParam; multipleBonds: PD.Select<"off" | "symmetric" | "offset">; linkScale: PD.Numeric; linkSpacing: PD.Numeric; linkCap: PD.BooleanParam; dashCount: PD.Numeric; dashScale: PD.Numeric; dashCap: PD.BooleanParam; stubCap: PD.BooleanParam; radialSegments: PD.Numeric; unitKinds: PD.MultiSelect<"spheres" | "atomic" | "gaussians">; doubleSided: PD.BooleanParam; ignoreLight: PD.BooleanParam; xrayShaded: PD.BooleanParam; alpha: PD.Numeric; quality: PD.Select<"custom" | "auto" | "highest" | "higher" | "high" | "medium" | "low" | "lower" | "lowest">; flipSided: PD.BooleanParam; flatShaded: PD.BooleanParam; }; export declare type InterUnitBondCylinderParams = typeof InterUnitBondCylinderParams; export declare function InterUnitBondCylinderVisual(materialId: number, structure: Structure, props: PD.Values<InterUnitBondCylinderParams>, webgl?: WebGLContext): ComplexVisual<{ sizeFactor: PD.Numeric; sizeAspectRatio: PD.Numeric; tryUseImpostor: PD.BooleanParam; includeParent: PD.BooleanParam; adjustCylinderLength: PD.BooleanParam; includeTypes: PD.MultiSelect<"covalent" | "computed" | "aromatic" | "metal-coordination" | "hydrogen-bond" | "disulfide">; excludeTypes: PD.MultiSelect<"covalent" | "computed" | "aromatic" | "metal-coordination" | "hydrogen-bond" | "disulfide">; ignoreHydrogens: PD.BooleanParam; aromaticBonds: PD.BooleanParam; multipleBonds: PD.Select<"off" | "symmetric" | "offset">; linkScale: PD.Numeric; linkSpacing: PD.Numeric; linkCap: PD.BooleanParam; dashCount: PD.Numeric; dashScale: PD.Numeric; dashCap: PD.BooleanParam; stubCap: PD.BooleanParam; radialSegments: PD.Numeric; unitKinds: PD.MultiSelect<"spheres" | "atomic" | "gaussians">; doubleSided: PD.BooleanParam; ignoreLight: PD.BooleanParam; xrayShaded: PD.BooleanParam; alpha: PD.Numeric; quality: PD.Select<"custom" | "auto" | "highest" | "higher" | "high" | "medium" | "low" | "lower" | "lowest">; flipSided: PD.BooleanParam; flatShaded: PD.BooleanParam; }>; export declare function InterUnitBondCylinderImpostorVisual(materialId: number): ComplexVisual<InterUnitBondCylinderParams>; export declare function InterUnitBondCylinderMeshVisual(materialId: number): ComplexVisual<InterUnitBondCylinderParams>;