@dp_unity/dpu-gis-viewer
Version:
DPU GIS Viewer version Beta
55 lines (54 loc) • 1.67 kB
TypeScript
import '../styles/contextMenu.css';
import { InputDataPrimitive } from "./styleElement";
export declare class ContextMenu {
viewer: any;
containerId: string;
IdGenneral: string;
opacityClick: number;
private _hexColorPick;
private _hexColorEdge;
private handler;
private isIsolate;
private isIsolating;
private isShowOff;
private contextMenu;
private _boxDrag;
listPicked: any[];
private _isAltPressed;
private _inputDataPrimitive;
edgeDetection: any;
private _states;
constructor(containerId: string, viewer: any, inputDataPrimitive: InputDataPrimitive);
createContextMenu: () => void;
private _handlePickedCesium;
private _pickElementIsIsolate;
private _checkPickElementIsolate;
private _handleResetAllColor;
private _handleResetColorByClick;
private _handelResetColor;
private _handleEscPress;
addEscKeyListener: () => void;
removeEscKeyListener: () => void;
private addMenuEventListeners;
private objectIsolates;
conditionsIsolate: [string, string][];
conditionForShowOff: [string, string][];
tempCondition: {
conditionColor?: any;
conditionShow?: any;
listPicked?: any;
};
isLoadFromShow: boolean;
contextMenu_Isolate: () => void;
private objectOffs;
conditionShowOff: [string, string][];
contextMenu_ShowOff: () => void;
private _firstShowAll;
private contextMenu_ShowAll;
destroyContextMenu: () => void;
getObjsIdsPicked: () => any[];
private _handleKeyDown;
private _handleKeyUp;
private _handeListenEventKeyBoard;
private _removeListenEventKeyBoard;
}