The IlvGeoTIFFTileLoader Class
The IlvGeoTIFFTileLoader class provides the services to load a tiled TIFF file on demand, that is, only the visible parts of the tiled TIFF file are loaded and displayed at a given time. This tile loader works as any tile loader, in conjunction with an IlvTiledLayer. The TIFF reader provides required information about the tiles (such as the tile origin) and is able to retrieve a given tile as an IlvBitmapData.
IlvMapAdapter adapter(0.001); IlvGeoTIFFTileLoader* loader = new IlvGeoTIFFTileLoader(fileName, &adapter); IlvMapsError status = loader->getInitStatus(); if(status != IlvMaps::NoError()) return status; IlvTiledLayer* tiledLayer = new IlvTiledLayer(getTileOrigin()); tiledLayer->setTileLoader(loader); |
Version 6.1
Copyright © 2016, Rogue Wave Software, Inc. All Rights Reserved.