/*! * Copyright (c) Microsoft Corporation. * Licensed under the MIT License. */ import { vec3 } from "gl-matrix"; import { Manipulator } from "./manipulator.js"; import { Core } from "../main.js"; export declare class ManipulationProcessor { private _previousCentroid; private _centroid; private _relativePositionToCentroid; private _directionToCentroid; private _previousDirectionToCentroid; private _previousCount; private _manipulators; private _removedManipulators; private _count; private _isDragging; private _core; cumulativeTranslation: vec3; translationDelta: vec3; minScale: number; maxScale: number; cumulativeScale: number; scaleDelta: number; twistAxis: vec3; cumulativeTwist: number; twistDelta: number; centroid: vec3; addManipulator: (manipulator: Manipulator) => boolean; removeManipulator: (manipulator: Manipulator) => void; prepareManipulation: () => void; beginManipulation: () => void; processManipulation: (elapsedTime: number) => void; endManipulation: () => void; get manipulators(): { [key: string]: Manipulator; }; get count(): number; get isDragging(): boolean; constructor(core: Core); update(elapsedTime: number, manipulators: { [key: string]: Manipulator; }): void; initialize(): void; private _process; }