UNPKG

molstar

Version:

A comprehensive macromolecular library.

70 lines (69 loc) 2.95 kB
/** * Copyright (c) 2019-2020 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author David Sehnal <david.sehnal@gmail.com> * @author Alexander Rose <alexander.rose@weirdbyte.de> */ import { PluginStateObject as SO } from '../../../../mol-plugin-state/objects'; import { VolumeServerInfo } from './model'; import { ParamDefinition as PD } from '../../../../mol-util/param-definition'; import { StateAction, StateTransformer } from '../../../../mol-state'; import { VolumeStreaming } from './behavior'; export declare const InitVolumeStreaming: StateAction<SO.Molecule.Structure, void, PD.Normalize<{ method: VolumeServerInfo.Kind; entries: PD.Normalize<{ id: string; }>[]; defaultView: VolumeStreaming.ViewTypes; options: PD.Normalize<{ serverUrl: any; behaviorRef: any; emContourProvider: any; channelParams: any; }>; }>>; export declare const BoxifyVolumeStreaming: StateAction<VolumeStreaming, void | undefined, PD.Normalize<{}>>; export { CreateVolumeStreamingInfo }; declare type CreateVolumeStreamingInfo = typeof CreateVolumeStreamingInfo; declare const CreateVolumeStreamingInfo: StateTransformer<SO.Molecule.Structure, VolumeServerInfo, PD.Normalize<{ serverUrl: string; entries: PD.Normalize<PD.Values<{ dataId: PD.Text<string>; source: PD.Mapped<PD.NamedParams<PD.Normalize<{ isoValue: any; }>, "em"> | PD.NamedParams<PD.Normalize<unknown>, "x-ray">>; }>>[]; }>>; export { CreateVolumeStreamingBehavior }; declare type CreateVolumeStreamingBehavior = typeof CreateVolumeStreamingBehavior; declare const CreateVolumeStreamingBehavior: StateTransformer<VolumeServerInfo, VolumeStreaming, PD.Normalize<{ entry: PD.NamedParams<PD.Values<{ view: PD.Mapped<PD.NamedParams<PD.Normalize<{}>, "cell"> | PD.NamedParams<PD.Normalize<{ radius: any; selectionDetailLevel: any; isSelection: any; bottomLeft: any; topRight: any; }>, "auto"> | PD.NamedParams<PD.Normalize<{}>, "off"> | PD.NamedParams<PD.Normalize<{ bottomLeft: any; topRight: any; }>, "box"> | PD.NamedParams<PD.Normalize<{ radius: any; bottomLeft: any; topRight: any; }>, "selection-box">>; detailLevel: PD.Select<number>; channels: PD.Group<PD.Normalize<{ em: any; }>> | PD.Group<PD.Normalize<{ '2fo-fc': any; 'fo-fc(+ve)': any; 'fo-fc(-ve)': any; }>>; }>, string>; }>>; export { VolumeStreamingVisual }; declare type VolumeStreamingVisual = typeof VolumeStreamingVisual; declare const VolumeStreamingVisual: StateTransformer<VolumeStreaming, SO.Volume.Representation3D, PD.Normalize<{ channel: VolumeStreaming.ChannelType; }>>;