osgEarth 2.1.1
|
Public Member Functions | |
CustomTileFrame (CustomTile *tile) | |
bool | getCustomColorLayer (UID layerUID, CustomColorLayer &out) const |
Public Attributes | |
TileKey | _tileKey |
ColorLayersByUID | _colorLayers |
osg::ref_ptr< osgTerrain::Layer > | _elevationLayer |
osg::ref_ptr< osgTerrain::Locator > | _locator |
float | _sampleRatio |
osg::ref_ptr< osg::Vec3dArray > | _mask |
Definition at line 277 of file CustomTile.
CustomTileFrame::CustomTileFrame | ( | CustomTile * | tile | ) | [inline] |
Definition at line 280 of file CustomTile.
: _tileKey(tile->getKey()) { Threading::ScopedReadLock sharedLock( tile->_tileLayersMutex ); _colorLayers = tile->_colorLayers; _elevationLayer = tile->getElevationLayer(); _locator = tile->getLocator(); _sampleRatio = tile->getTerrain()->getSampleRatio(); _mask = tile->getTerrainMaskGeometry(); }
bool CustomTileFrame::getCustomColorLayer | ( | UID | layerUID, |
CustomColorLayer & | out | ||
) | const [inline] |
Definition at line 297 of file CustomTile.
{ ColorLayersByUID::const_iterator i = _colorLayers.find( layerUID ); if ( i != _colorLayers.end() ) { out = i->second; return true; } return false; }
Definition at line 291 of file CustomTile.
osg::ref_ptr< osgTerrain::Layer > CustomTileFrame::_elevationLayer |
Definition at line 292 of file CustomTile.
osg::ref_ptr< osgTerrain::Locator > CustomTileFrame::_locator |
Definition at line 293 of file CustomTile.
osg::ref_ptr< osg::Vec3dArray > CustomTileFrame::_mask |
Definition at line 295 of file CustomTile.
Definition at line 294 of file CustomTile.
Definition at line 290 of file CustomTile.