/** * Copyright (c) 2019-2020 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author Alexander Rose */ import { Model, Symmetry } from '../../../mol-model/structure.js'; import { ParamDefinition as PD } from '../../../mol-util/param-definition.js'; import { Vec3 } from '../../../mol-math/linear-algebra.js'; import { RepresentationParamsGetter, Representation, RepresentationContext } from '../../representation.js'; interface UnitcellData { symmetry: Symmetry; ref: Vec3; } export declare const UnitcellParams: { cellColor: PD.Color; cellScale: PD.Numeric; ref: PD.Select<"origin" | "model">; attachment: PD.Select<"center" | "corner">; doubleSided: PD.BooleanParam; flipSided: PD.BooleanParam; flatShaded: PD.BooleanParam; ignoreLight: PD.BooleanParam; celShaded: PD.BooleanParam; xrayShaded: PD.Select; transparentBackfaces: PD.Select<"off" | "on" | "opaque">; bumpFrequency: PD.Numeric; bumpAmplitude: PD.Numeric; interior: PD.Group; substanceStrength: number; }>>; alpha: PD.Numeric; quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">; material: PD.Group>; clip: PD.Group[]; }>>; emissive: PD.Numeric; density: PD.Numeric; instanceGranularity: PD.BooleanParam; lod: PD.Vec3; cellSize: PD.Numeric; batchSize: PD.Numeric; }; export type UnitcellParams = typeof UnitcellParams; export type UnitcellProps = PD.Values; export declare function getUnitcellData(model: Model, symmetry: Symmetry, props: UnitcellProps): { symmetry: Symmetry; ref: Vec3; }; export type UnitcellRepresentation = Representation; export declare function UnitcellRepresentation(ctx: RepresentationContext, getParams: RepresentationParamsGetter): UnitcellRepresentation; export {};