osgEarth 2.1.1
Public Member Functions | Public Attributes

seamless::anonymous_namespace{Geographic.cpp}::ImageRequest Struct Reference

Inheritance diagram for seamless::anonymous_namespace{Geographic.cpp}::ImageRequest:
Collaboration diagram for seamless::anonymous_namespace{Geographic.cpp}::ImageRequest:

List of all members.

Public Member Functions

 ImageRequest (Geographic *gpatchset, const TileKey &key)
void operator() (ProgressCallback *progress)

Public Attributes

ref_ptr< Geographic_gpatchset
const TileKey _key
MapFrame _mapf

Detailed Description

Definition at line 380 of file Geographic.cpp.


Constructor & Destructor Documentation

seamless::anonymous_namespace{Geographic.cpp}::ImageRequest::ImageRequest ( Geographic gpatchset,
const TileKey key 
) [inline]

Definition at line 382 of file Geographic.cpp.

    {

Member Function Documentation

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:


Member Data Documentation

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.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines