UNPKG

molstar

Version:

A comprehensive macromolecular library.

48 lines (47 loc) 2.52 kB
/** * Copyright (c) 2018-2020 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author Michal Malý <michal.maly@ibt.cas.cz> * @author Jiří Černý <jiri.cerny@ibt.cas.cz> */ import { Structure } from '../../../mol-model/structure'; import { RepresentationContext, RepresentationParamsGetter } from '../../../mol-repr/representation'; import { StructureRepresentation, StructureRepresentationProvider } from '../../../mol-repr/structure/representation'; import { ParamDefinition as PD } from '../../../mol-util/param-definition'; import { ThemeRegistryContext } from '../../../mol-theme/theme'; export declare const ConfalPyramidsParams: { 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 ConfalPyramidsParams = typeof ConfalPyramidsParams; export declare function getConfalPyramidsParams(ctx: ThemeRegistryContext, structure: Structure): { 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 ConfalPyramidsRepresentation = StructureRepresentation<ConfalPyramidsParams>; export declare function ConfalPyramidsRepresentation(ctx: RepresentationContext, getParams: RepresentationParamsGetter<Structure, ConfalPyramidsParams>): ConfalPyramidsRepresentation; export declare const ConfalPyramidsRepresentationProvider: StructureRepresentationProvider<{ 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">; }, "confal-pyramids">;