/** * Copyright (c) 2018-2020 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author David Sehnal * @author Alexander Rose */ import { Task } from '../../../mol-task/index.js'; import { Tensor } from '../../../mol-math/linear-algebra.js'; import { Mesh } from '../../geometry/mesh/mesh.js'; import { Lines } from '../../geometry/lines/lines.js'; /** * The parameters required by the algorithm. */ export interface MarchingCubesParams { isoLevel: number; scalarField: Tensor; bottomLeft?: ReadonlyArray; topRight?: ReadonlyArray; idField?: Tensor; } export declare function computeMarchingCubesMesh(params: MarchingCubesParams, mesh?: Mesh): Task; export declare function computeMarchingCubesLines(params: MarchingCubesParams, lines?: Lines): Task;