osgEarth 2.1.1
Public Member Functions | Public Attributes

anonymous_namespace{StreamingTile.cpp}::TileElevationPlaceholderLayerRequest Struct Reference

Inheritance diagram for anonymous_namespace{StreamingTile.cpp}::TileElevationPlaceholderLayerRequest:
Collaboration diagram for anonymous_namespace{StreamingTile.cpp}::TileElevationPlaceholderLayerRequest:

List of all members.

Public Member Functions

 TileElevationPlaceholderLayerRequest (const TileKey &key, const MapFrame &mapf, OSGTileFactory *tileFactory, GeoLocator *keyLocator)
void setParentHF (osg::HeightField *parentHF)
void setNextLOD (int nextLOD)
void operator() (ProgressCallback *progress)

Public Attributes

osg::ref_ptr< osg::HeightField > _parentHF
TileKey _parentKey
osg::ref_ptr< GeoLocator_keyLocator
int _nextLOD

Detailed Description

Definition at line 131 of file StreamingTile.cpp.


Constructor & Destructor Documentation

anonymous_namespace{StreamingTile.cpp}::TileElevationPlaceholderLayerRequest::TileElevationPlaceholderLayerRequest ( const TileKey key,
const MapFrame mapf,
OSGTileFactory tileFactory,
GeoLocator keyLocator 
) [inline]

Definition at line 133 of file StreamingTile.cpp.

            : TileLayerRequest( key, mapf, tileFactory ),
              _parentKey( key.createParentKey() ),
              _keyLocator(keyLocator)
        {
            //nop
        }

Member Function Documentation

void anonymous_namespace{StreamingTile.cpp}::TileElevationPlaceholderLayerRequest::operator() ( ProgressCallback progress) [inline, virtual]

Implements osgEarth::TaskRequest.

Definition at line 151 of file StreamingTile.cpp.

        {
            if ( !progress->isCanceled() )
            {
                _result = _tileFactory->createPlaceholderHeightfieldLayer(
                    _parentHF.get(),
                    _parentKey,
                    _key,
                    _keyLocator.get() );
            }
        }

Here is the call graph for this function:

void anonymous_namespace{StreamingTile.cpp}::TileElevationPlaceholderLayerRequest::setNextLOD ( int  nextLOD) [inline]

Definition at line 146 of file StreamingTile.cpp.

        {
            _nextLOD = nextLOD;
        }
void anonymous_namespace{StreamingTile.cpp}::TileElevationPlaceholderLayerRequest::setParentHF ( osg::HeightField *  parentHF) [inline]

Definition at line 141 of file StreamingTile.cpp.

        {
            _parentHF = parentHF; 
        }

Member Data Documentation

osg::ref_ptr<GeoLocator> anonymous_namespace{StreamingTile.cpp}::TileElevationPlaceholderLayerRequest::_keyLocator

Definition at line 165 of file StreamingTile.cpp.

int anonymous_namespace{StreamingTile.cpp}::TileElevationPlaceholderLayerRequest::_nextLOD

Definition at line 166 of file StreamingTile.cpp.

osg::ref_ptr<osg::HeightField> anonymous_namespace{StreamingTile.cpp}::TileElevationPlaceholderLayerRequest::_parentHF

Definition at line 163 of file StreamingTile.cpp.

TileKey anonymous_namespace{StreamingTile.cpp}::TileElevationPlaceholderLayerRequest::_parentKey

Definition at line 164 of file StreamingTile.cpp.


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