Pyramids
Issues
- Should have just 1 zoom level rendered when tile has vector data
BlueSpray Tiles
CMTile
Approach
- Loads Tiles as needed
- Loads raster immeidately after a tile is loaded that contains a raster
Functions
- Private
- GetPolygonCoordinates
- GetDataForTextureTil
- Protected 3D Management
- HideMesh
- HideTiles
- SetupGeometry (overriden)
- Static Protected 3D Management
- GetSubSample()
- GetNewMaterial
- GetDistanceTo3DView
- Protected
- GetTileImageFilePath
- GetOriginalTileWidth
- GetOriginalTileExtent
- GetGeographicTileExtent
- GetGeoTileExtent
- GetGeoTileWidth
- Protected Raster functions
- HaveLoadedRasterData
- NeedToLoadRasterData
- LoadTileRaster
- GetRaster
- GetRasterRequest
- PaintRaster
- Protected tile management
- LoadTile
- PaintChildTiles
- GetChildrenVisible
- GetNumChildTilesLoaded
- GetPaintThisTile
- GetBestTileToLoad
- PaintTile
- Protected
- AddToFeatureBounds
- In
- MouseDown
- Public
- SetPaintTileInfo
- GetPaintTileInfo
- SetData
- GetData
OpenFormat Tiles
CMTileOpenFormat
The TileOpenFormat is based on the 256x256 original Google Mercator pixel-baed projection rather than WebMercator.
- Private
- GetChildTile() - allocates new child tile
- SetupGeometr
- Protected (overrides)
- GetTileImageFilePath
- GetOriginalTileExtent
- Protected (overrides)
- GetNumChildTilesLoaded
- GetChildrenVisible
- GetPaintThisTile
- GetBestTileToLoad
- PaintTile
- Public
- GetData()
Implementation
- PaintTile()
- 3D Rendering
- 2D Rendering
- CheckPaintTile()
- 3D specific checks:
- 2D Specific checks:
- If this steps pixel width<256, PaintTile=true
- else PaintChildren=true
- If PaintTile==false
- If this step is 0, PaintTile=true
- CheckPaintTile()