import { List } from "../longan/gs.collections"; import { ViewerOperator } from "./viewerOperator"; import { ViewerEvent } from "../viewer"; export declare enum TouchOpertionType { Pan = 0, Rotate = 1, RotateCenter = 2, Scale = 3, None = 4 } export declare class CameraTouch extends ViewerOperator { typeName: string; static drawRotatePointSVG: List<(point: Float64Array) => void>; static clearRotatePointSVG: List<() => void>; static touchStart: List<(cm: CameraTouch, e: ViewerEvent) => void>; static touchEnd: List<(cm: CameraTouch, e: ViewerEvent) => void>; static touchMove: List<(cm: CameraTouch, e: ViewerEvent) => void>; static touchCancel: List<(cm: CameraTouch, e: ViewerEvent) => void>; touchStart: List<(...params: any[]) => void>; touchEnd: List<(...params: any[]) => void>; touchMove: List<(...params: any[]) => void>; touchCancel: List<(...params: any[]) => void>; protected radius: number; protected downWorldPos: Float32Array; protected downWinPos: Float32Array; protected downPixelPos: Float32Array; protected centerPos: Float64Array; protected downSpherePos: Float32Array; protected moveSpherePos: Float32Array; protected downSelectedDist: number; protected cameraTarget: Float64Array; protected downWorldPos1: Float32Array; protected downSelectedDist1: number; protected cameraTarget1: Float64Array; protected _operationType: TouchOpertionType; winPos: any; downPos: Float64Array; touchStartWinPos: any; touchStartPixelPos: any; touchStartWinPos1: any; touchStartPixelPos1: any; startFigureDistance: any; touchStartCamera: any; firstFigurePerspectiveAsyn: boolean; secondFigurePerspectiveAsyn: boolean; moving: boolean; highlightAsync: boolean; get operationType(): TouchOpertionType; set operationType(value: TouchOpertionType); constructor(); init(): void; fina(): void; onTouchStart(e: ViewerEvent): void; onTouchMove(e: ViewerEvent): void; onTouchEnd(e: ViewerEvent): void; getSpherePoint(e: ViewerEvent): Float32Array; protected getTouchPointDistance(touchEvent: TouchEvent): number; protected divideByTen(number: any): number; }