drugflow-molstar
Version:
Molstar implementation for DrugFlow
61 lines (60 loc) • 2.64 kB
TypeScript
import { StateTransformer } from 'molstar/lib/mol-state';
import { PluginStateObject as SO } from 'molstar/lib/mol-plugin-state/objects';
export { StructureSelectionsContact3D };
declare type StructureSelectionsContact3D = typeof StructureSelectionsContact3D;
declare const StructureSelectionsContact3D: StateTransformer<SO.Molecule.Structure.Selections, SO.Shape.Representation3D, import("molstar/lib/mol-util/param-definition").ParamDefinition.Normalize<{
visuals: ("text" | "cylinder")[];
unitLabel: string;
borderWidth: number;
customText: string;
textColor: import("molstar/lib/mol-util/color").Color;
textSize: number;
sizeFactor: number;
borderColor: import("molstar/lib/mol-util/color").Color;
offsetX: number;
offsetY: number;
offsetZ: number;
background: boolean;
backgroundMargin: number;
backgroundColor: import("molstar/lib/mol-util/color").Color;
backgroundOpacity: number;
tether: boolean;
tetherLength: number;
tetherBaseWidth: number;
attachment: "bottom-left" | "bottom-center" | "bottom-right" | "middle-left" | "middle-center" | "middle-right" | "top-left" | "top-center" | "top-right";
fontFamily: import("molstar/lib/mol-geo/geometry/text/font-atlas").FontFamily;
fontQuality: number;
fontStyle: import("molstar/lib/mol-geo/geometry/text/font-atlas").FontStyle;
fontVariant: import("molstar/lib/mol-geo/geometry/text/font-atlas").FontVariant;
fontWeight: import("molstar/lib/mol-geo/geometry/text/font-atlas").FontWeight;
alpha: number;
quality: "auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest";
material: import("molstar/lib/mol-util/param-definition").ParamDefinition.Normalize<{
metalness: number;
roughness: number;
bumpiness: number;
}>;
clip: import("molstar/lib/mol-util/param-definition").ParamDefinition.Normalize<{
variant: import("molstar/lib/mol-util/clip").Clip.Variant;
objects: import("molstar/lib/mol-util/param-definition").ParamDefinition.Normalize<{
type: any;
invert: any;
position: any;
rotation: any;
scale: any;
}>[];
}>;
instanceGranularity: boolean;
lineSizeAttenuation: boolean;
linesSize: number;
dashLength: number;
interactionType: string;
cylinderColor: import("molstar/lib/mol-util/color").Color;
sizeAspectRatio: number;
doubleSided: boolean;
ignoreLight: boolean;
xrayShaded: boolean;
transparentBackfaces: string;
bumpFrequency: number;
bumpAmplitude: number;
}>>;