Expand description
Constructors§
Source§new RasterLayer(
layerInfo: ILayerInfo,
layerRenderInfo: ILayerRenderInfo,
layerData: ILayerData,
): RasterLayer
new RasterLayer(
layerInfo: ILayerInfo,
layerRenderInfo: ILayerRenderInfo,
layerData: ILayerData,
): RasterLayer
Constructor for Raster
Properties§
protected _ components: ILayerComponent[][]Components of the layer.
protected _ data Is Dirty: booleanfalseIndicates if the layer's data is dirty. This is used to determine if VOBs need to be reconstructed.
protected _ indices: number[]Indices of the triangles.
protected _ layer Info: ILayerInfoLayer information.
protected _ layer Render Info: ILayerRenderInfoLayer rendering information.
protected _ pipeline: PipelinePipeline for rendering borders.
protected _ position: number[]Positions of the triangles.
protected _ raster Data: number[]The raster data for the layer.
protected _ raster Res X: numberThe raster resolution in X direction.
protected _ raster Res Y: numberThe raster resolution in Y direction.
protected _ render Info Is Dirty: booleanfalseIndicates if the layer's rendering information is dirty. This is used to determine if uniforms need to be reloaded.
protected _ tex Coord: number[]The texture coordinates for the layer.
Accessors§
Source§get components(): ILayerComponent[]
get components(): ILayerComponent[]
Get the components of the layer.
Source§get layerInfo(): ILayerInfo
get layerInfo(): ILayerInfo
Gets the information of the layer.
Source§set layerInfo(layerInfo: ILayerInfo): void
set layerInfo(layerInfo: ILayerInfo): void
Sets the information of the layer.
Source§get layerRenderInfo(): ILayerRenderInfo
get layerRenderInfo(): ILayerRenderInfo
Gets the rendering information of the layer.
Source§set layerRenderInfo(layerRenderInfo: ILayerRenderInfo): void
set layerRenderInfo(layerRenderInfo: ILayerRenderInfo): void
Sets the rendering information of the layer.
Methods§
Source§loadComponent(layerComponents: ILayerComponent[]): void
loadComponent(layerComponents: ILayerComponent[]): void
Load the components of the layer.
Source§loadGeometry(layerGeometry: ILayerGeometry[]): void
loadGeometry(layerGeometry: ILayerGeometry[]): void
Load the texture coordinates from the layer data.
Source§loadLayerData(layerData: ILayerData): void
loadLayerData(layerData: ILayerData): void
Load the layer data.
Source§loadRaster(layerRaster: IRasterData[]): void
loadRaster(layerRaster: IRasterData[]): void
Load the raster data from the layer data.
Source§makeLayerDataDirty(): void
makeLayerDataDirty(): void
Marks the layer's data as dirty, indicating that VOBs need to be reconstructed.
Base class for map layers. This class provides the basic structure and functionality for all map layers.
It includes methods for loading data, geometry, components, and thematic data, as well as rendering and picking operations.