UNPKG

molstar

Version:

A comprehensive macromolecular library.

15 lines (14 loc) 975 B
/** * Copyright (c) 2019-2022 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author Alexander Rose <alexander.rose@weirdbyte.de> */ import { Unit, Structure } from '../../../../mol-model/structure.js'; import { Task } from '../../../../mol-task/index.js'; import { CommonSurfaceProps } from './common.js'; import { DensityData } from '../../../../mol-math/geometry.js'; import { MolecularSurfaceCalculationProps } from '../../../../mol-math/geometry/molecular-surface.js'; import { SizeTheme } from '../../../../mol-theme/size.js'; export type MolecularSurfaceProps = MolecularSurfaceCalculationProps & CommonSurfaceProps; export declare function computeUnitMolecularSurface(structure: Structure, unit: Unit, sizeTheme: SizeTheme<any>, props: MolecularSurfaceProps): Task<DensityData>; export declare function computeStructureMolecularSurface(structure: Structure, sizeTheme: SizeTheme<any>, props: MolecularSurfaceProps): Task<DensityData>;