molstar
Version:
A comprehensive macromolecular library.
43 lines (42 loc) • 2.11 kB
TypeScript
/**
* Copyright (c) 2018-2021 mol* contributors, licensed under MIT, See LICENSE file for more info.
*
* @author Alexander Rose <alexander.rose@weirdbyte.de>
*/
import { ParamDefinition as PD } from '../../../mol-util/param-definition';
import { Structure } from '../../../mol-model/structure';
import { UnitsVisual } from '../units-visual';
import { WebGLContext } from '../../../mol-gl/webgl/context';
export declare const PolymerBackboneCylinderParams: {
sizeFactor: PD.Numeric;
radialSegments: PD.Numeric;
tryUseImpostor: PD.BooleanParam;
unitKinds: PD.MultiSelect<"spheres" | "atomic" | "gaussians">;
includeParent: PD.BooleanParam;
sizeAspectRatio: PD.Numeric;
doubleSided: PD.BooleanParam;
ignoreLight: PD.BooleanParam;
xrayShaded: PD.BooleanParam;
alpha: PD.Numeric;
quality: PD.Select<"custom" | "auto" | "highest" | "higher" | "high" | "medium" | "low" | "lower" | "lowest">;
flipSided: PD.BooleanParam;
flatShaded: PD.BooleanParam;
};
export declare type PolymerBackboneCylinderParams = typeof PolymerBackboneCylinderParams;
export declare function PolymerBackboneCylinderVisual(materialId: number, structure: Structure, props: PD.Values<PolymerBackboneCylinderParams>, webgl?: WebGLContext): UnitsVisual<{
sizeFactor: PD.Numeric;
radialSegments: PD.Numeric;
tryUseImpostor: PD.BooleanParam;
unitKinds: PD.MultiSelect<"spheres" | "atomic" | "gaussians">;
includeParent: PD.BooleanParam;
sizeAspectRatio: PD.Numeric;
doubleSided: PD.BooleanParam;
ignoreLight: PD.BooleanParam;
xrayShaded: PD.BooleanParam;
alpha: PD.Numeric;
quality: PD.Select<"custom" | "auto" | "highest" | "higher" | "high" | "medium" | "low" | "lower" | "lowest">;
flipSided: PD.BooleanParam;
flatShaded: PD.BooleanParam;
}>;
export declare function PolymerBackboneCylinderImpostorVisual(materialId: number): UnitsVisual<PolymerBackboneCylinderParams>;
export declare function PolymerBackboneCylinderMeshVisual(materialId: number): UnitsVisual<PolymerBackboneCylinderParams>;