UNPKG

molstar

Version:

A comprehensive macromolecular library.

83 lines (82 loc) 3.23 kB
/** * Copyright (c) 2018-2026 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> * @author Yakov Pechersky <ffxen158@gmail.com> */ import { Vec3 } from '../../mol-math/linear-algebra.js'; import { ParamDefinition as PD } from '../../mol-util/param-definition.js'; import { PluginStateObject as SO } from '../objects.js'; import { StateTransformer } from '../../mol-state/index.js'; export { VolumeFromCcp4 }; export { VolumeFromDsn6 }; export { VolumeFromCube }; export { VolumeFromDx }; export { AssignColorVolume }; export { VolumeFromDensityServerCif }; export { VolumeFromSegmentationCif }; export { VolumeTransform }; export { VolumeInstances }; export { CustomVolumeProperties }; type VolumeFromCcp4 = typeof VolumeFromCcp4; declare const VolumeFromCcp4: StateTransformer<SO.Format.Ccp4, SO.Volume.Data, PD.Normalize<{ voxelSize: Vec3; offset: Vec3; entryId: string; }>>; type VolumeFromDsn6 = typeof VolumeFromDsn6; declare const VolumeFromDsn6: StateTransformer<SO.Format.Dsn6, SO.Volume.Data, PD.Normalize<{ voxelSize: Vec3; entryId: string; }>>; type VolumeFromCube = typeof VolumeFromCube; declare const VolumeFromCube: StateTransformer<SO.Format.Cube, SO.Volume.Data, PD.Normalize<{ dataIndex: number; entryId: string; }>>; type VolumeFromDx = typeof VolumeFromDx; declare const VolumeFromDx: StateTransformer<SO.Format.Dx, SO.Volume.Data, PD.Normalize<{}>>; type VolumeFromDensityServerCif = typeof VolumeFromDensityServerCif; declare const VolumeFromDensityServerCif: StateTransformer<SO.Format.Cif, SO.Volume.Data, PD.Normalize<{ blockHeader: string | undefined; entryId: string; }>>; type VolumeFromSegmentationCif = typeof VolumeFromSegmentationCif; declare const VolumeFromSegmentationCif: StateTransformer<SO.Format.Cif, SO.Volume.Data, PD.Normalize<{ blockHeader: string | undefined; segmentLabels: PD.Normalize<{ id: /*elided*/ any; label: /*elided*/ any; }>[]; ownerId: string; }>>; type AssignColorVolume = typeof AssignColorVolume; declare const AssignColorVolume: StateTransformer<SO.Volume.Data, SO.Volume.Data, PD.Normalize<{ ref: string; }>>; type VolumeTransform = typeof VolumeTransform; declare const VolumeTransform: StateTransformer<SO.Volume.Data, SO.Volume.Data, PD.Normalize<{ transform: PD.NamedParams<PD.Normalize<{ data: /*elided*/ any; transpose: /*elided*/ any; }>, "matrix"> | PD.NamedParams<PD.Normalize<{ translation: /*elided*/ any; axis: /*elided*/ any; angle: /*elided*/ any; rotationCenter: /*elided*/ any; }>, "components">; }>>; type VolumeInstances = typeof VolumeInstances; declare const VolumeInstances: StateTransformer<SO.Volume.Data, SO.Volume.Data, PD.Normalize<{ transforms: PD.Normalize<{ transform: /*elided*/ any; }>[]; }>>; type CustomVolumeProperties = typeof CustomVolumeProperties; declare const CustomVolumeProperties: StateTransformer<SO.Volume.Data, SO.Volume.Data, PD.Normalize<{ autoAttach: string[]; properties: PD.Normalize<{ [x: string]: /*elided*/ any; }>; }>>;