/** @packageDocumentation * @module Viewport */ import { Matrix3d, Point3d, Vector3d } from "@itwin/core-geometry"; import type { StandardViewId, Viewport } from "@itwin/core-frontend"; import { UiEvent } from "@itwin/appui-abstract"; import { Face } from "../navigationaids/Cube.js"; /** Arguments for [[DrawingViewportChangeEvent]] * @public * @deprecated in 4.13.0. Event args are inferred from a listener. If explicit type is needed use a type helper. */ export interface DrawingViewportChangeEventArgs { rotation: Matrix3d; origin: Point3d; complete: boolean; } /** Drawing View Change event * @public * @deprecated in 4.13.0. This class should not be used by applications to instantiate objects. */ export declare class DrawingViewportChangeEvent extends UiEvent { } /** Arguments for [[CubeRotationChangeEvent]] * @public * @deprecated in 4.13.0. Event args are inferred from a listener. If explicit type is needed use a type helper. */ export interface CubeRotationChangeEventArgs { rotMatrix: Matrix3d; face: Face; complete?: boolean; } /** 3d Cube Rotation Change event * @public * @deprecated in 4.13.0. This class should not be used by applications to instantiate objects. */ export declare class CubeRotationChangeEvent extends UiEvent { } /** Arguments for [[StandardRotationChangeEvent]] * @public * @deprecated in 4.13.0. Event args are inferred from a listener. If explicit type is needed use a type helper. */ export interface StandardRotationChangeEventArgs { standardRotation: StandardViewId; } /** Standard Rotation Change event * @public * @deprecated in 4.13.0. This class should not be used by applications to instantiate objects. */ export declare class StandardRotationChangeEvent extends UiEvent { } /** Arguments for [[ViewRotationChangeEvent]] * @public * @deprecated in 4.13.0. Event args are inferred from a listener. If explicit type is needed use a type helper. */ export interface ViewRotationChangeEventArgs { viewport: Viewport; animationTime?: number; } /** View Rotation Change event * @public * @deprecated in 4.13.0. This class should not be used by applications to instantiate objects. */ export declare class ViewRotationChangeEvent extends UiEvent { } /** Arguments for [[ViewClassFullNameChangedEvent]] * @public * @deprecated in 4.13.0. Event args are inferred from a listener. If explicit type is needed use a type helper. */ export interface ViewClassFullNameChangedEventArgs { viewport: Viewport; oldName: string; newName: string; } /** View Class Full Name Change event * @public * @deprecated in 4.13.0. This class should not be used by applications to instantiate objects. */ export declare class ViewClassFullNameChangedEvent extends UiEvent { } /** Arguments for [[ViewIdChangedEvent]] * @public * @deprecated in 4.13.0. Event args are inferred from a listener. If explicit type is needed use a type helper. */ export interface ViewIdChangedEventArgs { viewport: Viewport; oldId: string; newId: string; } /** View Id Change event * @public * @deprecated in 4.13.0. This class should not be used by applications to instantiate objects. */ export declare class ViewIdChangedEvent extends UiEvent { } /** Viewport Rotation events and methods * @public */ export declare class ViewportComponentEvents { private static _removeListener?; static initialize(): void; /** @internal - for unit testing */ static terminate(): void; static face: Face; static readonly origin: Point3d; static readonly extents: Vector3d; static readonly rotationMatrix: Matrix3d; static readonly onDrawingViewportChangeEvent: DrawingViewportChangeEvent; static readonly onCubeRotationChangeEvent: CubeRotationChangeEvent; static readonly onStandardRotationChangeEvent: StandardRotationChangeEvent; static readonly onViewRotationChangeEvent: ViewRotationChangeEvent; static readonly onViewClassFullNameChangedEvent: ViewClassFullNameChangedEvent; static readonly onViewIdChangedEvent: ViewIdChangedEvent; private static _handleSelectedViewportChanged; static setCubeMatrix(rotMatrix: Matrix3d, face?: Face, complete?: boolean): void; static setDrawingViewportState(origin: Point3d, rotation: Matrix3d, complete?: boolean): void; static setStandardRotation(standardRotation: StandardViewId): void; static setViewMatrix(viewport: Viewport, animationTime?: number): void; } //# sourceMappingURL=ViewportComponentEvents.d.ts.map