|
osgEarth 2.1.1
|
Collaboration diagram for TileFrame:Public Member Functions | |
| TileFrame (Tile *tile) | |
| bool | getCustomColorLayer (UID layerUID, CustomColorLayer &out) const |
Public Attributes | |
| TileKey | _tileKey |
| ColorLayersByUID | _colorLayers |
| osg::ref_ptr < osgTerrain::HeightFieldLayer > | _elevationLayer |
| osg::ref_ptr< osgTerrain::Locator > | _locator |
| float | _sampleRatio |
| MaskLayerVector | _masks |
| TileFrame::TileFrame | ( | Tile * | tile | ) |
Definition at line 355 of file Tile.cpp.
: _tileKey(tile->getKey()) { Threading::ScopedReadLock sharedLock( tile->_tileLayersMutex ); _colorLayers = tile->_colorLayers; _elevationLayer = tile->getElevationLayer(); _locator = tile->getLocator(); osg::ref_ptr< Terrain > terrain = tile->getTerrain(); if (terrain.valid()) { _sampleRatio = terrain->getSampleRatio(); } _masks = MaskLayerVector(tile->getTerrainMasks()); }
Here is the call graph for this function:| bool TileFrame::getCustomColorLayer | ( | UID | layerUID, |
| CustomColorLayer & | out | ||
| ) | const [inline] |
Definition at line 191 of file Tile.
{
ColorLayersByUID::const_iterator i = _colorLayers.find( layerUID );
if ( i != _colorLayers.end() ) {
out = i->second;
return true;
}
return false;
}
Here is the caller graph for this function:| osg::ref_ptr< osgTerrain::HeightFieldLayer > TileFrame::_elevationLayer |
| osg::ref_ptr< osgTerrain::Locator > TileFrame::_locator |
| float TileFrame::_sampleRatio |
1.7.3