molstar
Version:
A comprehensive macromolecular library.
83 lines (82 loc) • 3.1 kB
TypeScript
/**
* Copyright (c) 2018-2024 mol* contributors, licensed under MIT, See LICENSE file for more info.
*
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @author Gianluca Tomasello <giagitom@gmail.com>
*/
import { ParamDefinition as PD } from '../../../mol-util/param-definition';
import { UnitsVisual } from '../units-visual';
export declare const PolymerTraceMeshParams: {
sizeFactor: PD.Numeric;
aspectRatio: PD.Numeric;
arrowFactor: PD.Numeric;
tubularHelices: PD.BooleanParam;
roundCap: PD.BooleanParam;
helixProfile: PD.Select<"square" | "elliptical" | "rounded">;
nucleicProfile: PD.Select<"square" | "elliptical" | "rounded">;
detail: PD.Numeric;
linearSegments: PD.Numeric;
radialSegments: PD.Numeric;
};
export declare const DefaultPolymerTraceMeshProps: PD.Values<{
sizeFactor: PD.Numeric;
aspectRatio: PD.Numeric;
arrowFactor: PD.Numeric;
tubularHelices: PD.BooleanParam;
roundCap: PD.BooleanParam;
helixProfile: PD.Select<"square" | "elliptical" | "rounded">;
nucleicProfile: PD.Select<"square" | "elliptical" | "rounded">;
detail: PD.Numeric;
linearSegments: PD.Numeric;
radialSegments: PD.Numeric;
}>;
export type PolymerTraceMeshProps = typeof DefaultPolymerTraceMeshProps;
export declare const PolymerTraceParams: {
sizeFactor: PD.Numeric;
aspectRatio: PD.Numeric;
arrowFactor: PD.Numeric;
tubularHelices: PD.BooleanParam;
roundCap: PD.BooleanParam;
helixProfile: PD.Select<"square" | "elliptical" | "rounded">;
nucleicProfile: PD.Select<"square" | "elliptical" | "rounded">;
detail: PD.Numeric;
linearSegments: PD.Numeric;
radialSegments: PD.Numeric;
unitKinds: PD.MultiSelect<"spheres" | "gaussians" | "atomic">;
includeParent: PD.BooleanParam;
doubleSided: PD.BooleanParam;
flipSided: PD.BooleanParam;
flatShaded: PD.BooleanParam;
ignoreLight: PD.BooleanParam;
celShaded: PD.BooleanParam;
xrayShaded: PD.Select<boolean | "inverted">;
transparentBackfaces: PD.Select<"off" | "on" | "opaque">;
bumpFrequency: PD.Numeric;
bumpAmplitude: PD.Numeric;
alpha: PD.Numeric;
quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">;
material: PD.Group<PD.Normalize<{
metalness: number;
roughness: number;
bumpiness: number;
}>>;
clip: PD.Group<PD.Normalize<{
variant: import("../../../mol-util/clip").Clip.Variant;
objects: PD.Normalize<{
type: /*elided*/ any;
invert: /*elided*/ any;
position: /*elided*/ any;
rotation: /*elided*/ any;
scale: /*elided*/ any;
transform: /*elided*/ any;
}>[];
}>>;
emissive: PD.Numeric;
density: PD.Numeric;
instanceGranularity: PD.BooleanParam;
lod: PD.Vec3;
cellSize: PD.Numeric;
batchSize: PD.Numeric;
};
export type PolymerTraceParams = typeof PolymerTraceParams;
export declare function PolymerTraceVisual(materialId: number): UnitsVisual<PolymerTraceParams>;