@rcsb/rcsb-saguaro-3d
Version:
RCSB Molstar/Saguaro Web App
29 lines (28 loc) • 1.01 kB
TypeScript
import { SaguaroPluginModelMapType, ViewerModelMapManagerInterface } from "../../StructureViewerInterface";
import { Viewer } from "@rcsb/rcsb-molstar/build/src/viewer";
import { LoadMethod } from "./MolstarActionManager";
interface LoadParams {
id: string;
}
export declare class MolstarModelMapManager<L> implements ViewerModelMapManagerInterface<{
loadMethod: LoadMethod;
loadParams: LoadParams;
}, L> {
private readonly viewer;
private readonly modelMap;
private readonly delegateModelIdFromTrajectory;
constructor(viewer: Viewer, delegateModelIdFromTrajectory: (trajectory: L) => string | undefined);
add(lC: {
loadMethod: LoadMethod;
loadParams: LoadParams;
}, trajectory: L): void;
delete(lC: {
loadMethod: LoadMethod;
loadParams: LoadParams;
}): void;
getChains(): SaguaroPluginModelMapType;
getModelId(id: string): string;
getModelIdFromTrajectory(trajectory: L): string | undefined;
private map;
}
export {};