import type Accessor from "../../../core/Accessor.js"; import type RasterInfo from "../../../layers/support/RasterInfo.js"; import type PanoramicTileNode from "./PanoramicTileNode.js"; /** @internal */ export default abstract class PanoramicTilePyramid extends Accessor { /** * Pitch of the horizon in degrees. This is used to adjust the orientation of the panoramic image. A positive value tilts the horizon upwards, while a negative value tilts it downwards. * * @default 0 * @internal */ accessor horizonPitch: number; /** * Roll of the horizon in degrees. This is used to adjust the orientation of the panoramic image. A positive value rolls the horizon clockwise, while a negative value rolls it counterclockwise. * * @default 0 * @internal */ accessor horizonRoll: number; /** * Yaw of the horizon in degrees. This is used to adjust the orientation of the panoramic image. A positive value rotates the horizon to the right, while a negative value rotates it to the left. * * @default 0 * @internal */ accessor horizonYaw: number; /** @internal */ get imageSize(): [ number, number ]; /** @internal */ get maximumPyramidLevel(): number; /** @internal */ get rasterInfo(): RasterInfo; /** @internal */ destroy(): void; /** * Returns all the tiles at the specified level of the pyramid. If no tiles are found for the given level, it returns null. * * @param level - The level of the pyramid for which to retrieve the tiles. * @internal */ getLevelTiles(level: number): PanoramicTileNode[] | null; /** * Returns the level of the pyramid that corresponds to the specified pixel angle. If no level is found, it returns 0. * * @param resolution - The pixel angle for which to find the corresponding pyramid level. * @internal */ getLevelWithPixelAngle(resolution: number): number; /** @internal */ getLowResolutionTiles(): PanoramicTileNode[] | null; /** * Returns the tiles that are visible in the current view based on the specified level, yaw, pitch, horizontal field of view (hfov), and vertical field of view (vfov). * * @param level - The level of the pyramid for which to retrieve the visible tiles. * @param yaw - The yaw angle of the current view. * @param pitch - The pitch angle of the current view. * @param hfov - The horizontal field of view. * @param vfov - The vertical field of view. * @internal */ getTiles(level: number, yaw: number, pitch: number, hfov: number, vfov: number): PanoramicTileNode[]; }