TileService
Index
Properties
Accessors
Methods
Properties
remainingTiles
readonlytileStream
workersReady
Accessors
zfpReady
Returns boolean
staticInstance
Returns TileService
Methods
clearCompressedCache
Parameters
fileId: number
Returns void
clearGPUCache
Parameters
fileId: number
Returns void
clearRequestQueue
Parameters
optionalfileId: number
Returns void
publicdecompressPreviewRasterData
Parameters
previewData: PvPreviewData
Returns void
getTile
Parameters
tileCoordinateEncoded: number
fileId: number
channel: number
stokes: number
peek: boolean = false
Returns any
getTileTextureParameters
Parameters
tile: RasterTile
Returns { offset: { x: number; y: number }; texture: WebGLTexture }
offset: { x: number; y: number }
x: number
y: number
texture: WebGLTexture
handleFileClosed
Parameters
fileId: number
Returns void
requestTiles
Parameters
tiles: TileCoordinate[]
fileId: number
channel: number
stokes: number
focusPoint: Point2D
compressionQuality: number
channelsChanged: boolean = false
Returns void
publicsetAnimationEnabled
Parameters
val: boolean
Returns void
publicsetCache
Parameters
lruCapacityGPU: number
lruCapacitySystem: number
Returns void
setWorkerReady
Parameters
index: number
Returns void
updateHiddenFileChannels
Parameters
fileId: number
channel: number
stokes: number
Returns void
updateRemainingTileCount
Returns void
uploadTileToGPU
Parameters
tile: RasterTile
Returns void