|
osgEarth 2.1.1
|
Inheritance diagram for anonymous_namespace{StreamingTile.cpp}::TileColorLayerRequest:
Collaboration diagram for anonymous_namespace{StreamingTile.cpp}::TileColorLayerRequest:Public Member Functions | |
| TileColorLayerRequest (const TileKey &key, const MapFrame &mapf, OSGTileFactory *tileFactory, UID layerUID) | |
| void | operator() (ProgressCallback *progress) |
Public Attributes | |
| UID | _layerUID |
Definition at line 96 of file StreamingTile.cpp.
| anonymous_namespace{StreamingTile.cpp}::TileColorLayerRequest::TileColorLayerRequest | ( | const TileKey & | key, |
| const MapFrame & | mapf, | ||
| OSGTileFactory * | tileFactory, | ||
| UID | layerUID | ||
| ) | [inline] |
Definition at line 98 of file StreamingTile.cpp.
: TileLayerRequest( key, mapf, tileFactory ), _layerUID(layerUID) { }
| void anonymous_namespace{StreamingTile.cpp}::TileColorLayerRequest::operator() | ( | ProgressCallback * | progress | ) | [inline, virtual] |
Implements osgEarth::TaskRequest.
Definition at line 101 of file StreamingTile.cpp.
{
osg::ref_ptr<ImageLayer> imageLayer = _mapf.getImageLayerByUID( _layerUID );
if ( imageLayer.valid() )
{
_result = _tileFactory->createImageLayer( _mapf.getMapInfo(), imageLayer.get(), _key, progress );
if (!wasCanceled())
{
_numTries++;
}
}
}
| UID anonymous_namespace{StreamingTile.cpp}::TileColorLayerRequest::_layerUID |
Definition at line 113 of file StreamingTile.cpp.
1.7.3