/** * Copyright (c) 2019-2023 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author Schäfer, Marco * @author Alexander Rose */ import { Task } from '../../mol-task/index.js'; import { ShapeProvider } from '../../mol-model/shape/provider.js'; import { Color } from '../../mol-util/color/index.js'; import { PlyFile } from '../../mol-io/reader/ply/schema.js'; import { Mesh } from '../../mol-geo/geometry/mesh/mesh.js'; import { ParamDefinition as PD } from '../../mol-util/param-definition.js'; import { Mat4 } from '../../mol-math/linear-algebra/3d/mat4.js'; export type PlyData = { source: PlyFile; transforms?: Mat4[]; }; export declare const PlyShapeParams: { coloring: PD.Mapped, "uniform"> | PD.NamedParams, "material"> | PD.NamedParams, "vertex">>; grouping: PD.Mapped, "none"> | PD.NamedParams, "vertex">>; 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 PlyShapeParams = typeof PlyShapeParams; export declare function shapeFromPly(source: PlyFile, params?: { transforms?: Mat4[]; }): Task, "uniform"> | PD.NamedParams, "material"> | PD.NamedParams, "vertex">>; grouping: PD.Mapped, "none"> | PD.NamedParams, "vertex">>; 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; }>>;