|
osgEarth 2.1.1
|
Inheritance diagram for seamless::anonymous_namespace{Geographic.cpp}::ImageRequest:
Collaboration diagram for seamless::anonymous_namespace{Geographic.cpp}::ImageRequest:Public Member Functions | |
| ImageRequest (Geographic *gpatchset, const TileKey &key) | |
| void | operator() (ProgressCallback *progress) |
Public Attributes | |
| ref_ptr< Geographic > | _gpatchset |
| const TileKey | _key |
| MapFrame | _mapf |
Definition at line 380 of file Geographic.cpp.
| seamless::anonymous_namespace{Geographic.cpp}::ImageRequest::ImageRequest | ( | Geographic * | gpatchset, |
| const TileKey & | key | ||
| ) | [inline] |
Definition at line 382 of file Geographic.cpp.
{
| void seamless::anonymous_namespace{Geographic.cpp}::ImageRequest::operator() | ( | ProgressCallback * | progress | ) | [inline, virtual] |
Implements osgEarth::TaskRequest.
Definition at line 387 of file Geographic.cpp.
{
GeoImageVector gis;
if (!layers.empty())
{
for (int child = 0; child < 4; ++child)
{
TileKey subCubeKey = _key.createChildKey(child);
gis.push_back(layers[0]->createImage(subCubeKey));
}
}
if (!gis.empty())
gimage = mergeImages(_key.getExtent(), gis);
}
else
{
if (!layers.empty())
gimage = layers[0]->createImage(_key);
}
_result = gimage.getImage();
}
ref_ptr<Geographic> _gpatchset;
const TileKey _key;
MapFrame _mapf;
Here is the call graph for this function:| ref_ptr<Geographic> seamless::anonymous_namespace{Geographic.cpp}::ImageRequest::_gpatchset |
Definition at line 412 of file Geographic.cpp.
| const TileKey seamless::anonymous_namespace{Geographic.cpp}::ImageRequest::_key |
Definition at line 413 of file Geographic.cpp.
| MapFrame seamless::anonymous_namespace{Geographic.cpp}::ImageRequest::_mapf |
Definition at line 414 of file Geographic.cpp.
1.7.3