molstar
Version:
A comprehensive macromolecular library.
18 lines (17 loc) • 1.04 kB
TypeScript
/**
* Copyright (c) 2018-2022 mol* contributors, licensed under MIT, See LICENSE file for more info.
*
* @author Adam Midlik <midlik@gmail.com>
*/
import { Segment } from './volseg-api/data';
import { VolsegEntryData } from './entry-root';
export declare class VolsegMeshSegmentationData {
private entryData;
constructor(rootData: VolsegEntryData);
loadSegmentation(): Promise<void>;
updateOpacity(opacity: number): Promise<import("../../mol-state").StateObjectSelector<import("../../mol-state").StateObject<any, import("../../mol-state").StateObject.Type<any>>, import("../../mol-state").StateTransformer<import("../../mol-state").StateObject<any, import("../../mol-state").StateObject.Type<any>>, import("../../mol-state").StateObject<any, import("../../mol-state").StateObject.Type<any>>, any>>>;
highlightSegment(segment: Segment): Promise<void>;
selectSegment(segment?: number): Promise<void>;
/** Make visible the specified set of mesh segments */
showSegments(segments: number[]): Promise<void>;
}