|
osgEarth 2.1.1
|
Collaboration diagram for CustomTile:Definition at line 105 of file CustomTile.
typedef std::queue<TileUpdate> CustomTile::TileUpdateQueue [private] |
Definition at line 243 of file CustomTile.
| CustomTile::CustomTile | ( | const TileKey & | key, |
| GeoLocator * | keyLocator, | ||
| bool | quickReleaseGLObjects | ||
| ) |
| CustomTile::~CustomTile | ( | ) | [protected] |
| void CustomTile::applyImmediateTileUpdate | ( | TileUpdate::Action | action, |
| int | index = -1 |
||
| ) |
| bool CustomTile::cancelRequests | ( | ) |
| virtual const char* CustomTile::className | ( | ) | const [inline, virtual] |
Definition at line 111 of file CustomTile.
{ return "CustomTile"; }
| virtual osg::BoundingSphere CustomTile::computeBound | ( | ) | const [virtual] |
| bool CustomTile::getCustomColorLayer | ( | UID | layerUID, |
| CustomColorLayer & | output, | ||
| bool | readLock = true |
||
| ) | const |
| void CustomTile::getCustomColorLayers | ( | ColorLayersByUID & | out, |
| bool | readLock = true |
||
| ) | const |
| class CustomTerrain* CustomTile::getCustomTerrain | ( | ) |
Gets the terrain object to which this tile belongs.
| class CustomTerrain* CustomTile::getCustomTerrain | ( | ) | const |
| int CustomTile::getElevationLOD | ( | ) | const |
Gets or sets the LOD of this tile's current heightfield data.
| Relative* CustomTile::getFamily | ( | ) | [inline] |
Definition at line 188 of file CustomTile.
{ return _family; }
| bool CustomTile::getHasBeenTraversed | ( | ) | const |
| const TileKey& CustomTile::getKey | ( | ) | const |
Gets the tilekey associated with this tile.
| osg::Vec3dArray* CustomTile::getTerrainMaskGeometry | ( | ) | [inline] |
Gets or sets the terrain mask geometry.
Definition at line 175 of file CustomTile.
{ return _mask.get(); }
Here is the caller graph for this function:| int CustomTile::getTerrainRevision | ( | ) | const |
Gets the terrain revision that this tile is in sync with.
| Threading::ReadWriteMutex& CustomTile::getTileLayersMutex | ( | ) |
| int CustomTile::getTileRevision | ( | ) | const |
Gets this tile's revision number.
| bool CustomTile::getUseLayerRequests | ( | ) | const [inline] |
Definition at line 121 of file CustomTile.
{ return _useLayerRequests; }
| bool CustomTile::getUseTileGenRequest | ( | ) | const |
| float CustomTile::getVerticalScale | ( | ) | const |
| void CustomTile::incrementTileRevision | ( | ) |
Bumps this tile's revision number.
| void CustomTile::installRequests | ( | const MapFrame & | mapf, |
| int | stamp | ||
| ) | [private] |
Deals with completed requests during the UPDATE traversal.
| bool CustomTile::isElevationLayerUpToDate | ( | ) | const |
Gets whether the tile's real (not placeholder) elevation data has been loaded.
| bool CustomTile::isInSyncWithTerrain | ( | ) | const |
Returns true if this tile is in sync with its parent Terrain (i.e., their version numbers are equal).
| virtual const char* CustomTile::libraryName | ( | ) | const [inline, virtual] |
Definition at line 110 of file CustomTile.
{ return "osgEarth"; }
| void CustomTile::queueTileUpdate | ( | TileUpdate::Action | action, |
| int | index = -1 |
||
| ) |
| bool CustomTile::readyForNewElevation | ( | ) | [private] |
| bool CustomTile::readyForNewImagery | ( | osgEarth::ImageLayer * | layer, |
| int | currentLOD | ||
| ) | [private] |
| virtual void CustomTile::releaseGLObjects | ( | osg::State * | = 0 | ) | const [virtual] |
If State is non-zero, this function releases any associated OpenGL objects for the specified graphics context. Otherwise, releases OpenGL objects for all graphics contexts.
| void CustomTile::removeCustomColorLayer | ( | UID | layerUID, |
| bool | writeLock = true |
||
| ) |
| void CustomTile::resetElevationRequests | ( | const MapFrame & | mapf | ) |
| bool CustomTile::serviceCompletedRequests | ( | const MapFrame & | mapf, |
| bool | tileTableLocked | ||
| ) |
| void CustomTile::servicePendingElevationRequests | ( | const MapFrame & | mapf, |
| int | stamp, | ||
| bool | tileTableLocked | ||
| ) |
| void CustomTile::servicePendingImageRequests | ( | const MapFrame & | mapf, |
| int | stamp | ||
| ) |
Updates and services this tile's service pending requests.
| void CustomTile::setCustomColorLayer | ( | const CustomColorLayer & | colorLayer, |
| bool | writeLock = true |
||
| ) |
| void CustomTile::setCustomColorLayers | ( | const ColorLayersByUID & | in, |
| bool | writeLock = true |
||
| ) |
| void CustomTile::setElevationLOD | ( | int | lod | ) |
| void CustomTile::setHasElevationHint | ( | bool | hasElevation | ) |
Setting this hint tells the tile whether it should bother trying to load elevation data.
| void CustomTile::setTerrainMaskGeometry | ( | osg::Vec3dArray * | terrainMask | ) | [inline] |
Definition at line 176 of file CustomTile.
{ _mask = terrainMask; }
| void CustomTile::setTerrainRevision | ( | int | revision | ) |
Sets the terrain revision that this tile is in sync with.
| void CustomTile::setUseLayerRequests | ( | bool | ) |
Gets the locator associated with this tile. Sets whether to use the TaskService to schedule per-layer background data loading.
| void CustomTile::setUsePerLayerUpdates | ( | bool | ) |
Sets whether to update the tile layer by layer vs. rebuidling the entire tile.
| void CustomTile::setVerticalScale | ( | float | verticalScale | ) |
| virtual void CustomTile::traverse | ( | class osg::NodeVisitor & | nv | ) | [virtual] |
| void CustomTile::updateImagery | ( | ImageLayer * | layer, |
| const MapFrame & | mapf, | ||
| OSGTileFactory * | factory | ||
| ) |
friend class CustomTileFrame [friend] |
Definition at line 270 of file CustomTile.
ColorLayersByUID CustomTile::_colorLayers [private] |
Definition at line 267 of file CustomTile.
bool CustomTile::_colorLayersDirty [private] |
Definition at line 234 of file CustomTile.
osg::observer_ptr<osgTerrain::Terrain> CustomTile::_CustomTerrain [private] |
Definition at line 253 of file CustomTile.
bool CustomTile::_elevationLayerDirty [private] |
Definition at line 233 of file CustomTile.
bool CustomTile::_elevationLayerRequested [private] |
Definition at line 235 of file CustomTile.
bool CustomTile::_elevationLayerUpToDate [private] |
Definition at line 236 of file CustomTile.
int CustomTile::_elevationLOD [private] |
Definition at line 237 of file CustomTile.
osg::ref_ptr<TaskRequest> CustomTile::_elevPlaceholderRequest [private] |
Definition at line 250 of file CustomTile.
osg::ref_ptr<TaskRequest> CustomTile::_elevRequest [private] |
Definition at line 249 of file CustomTile.
Relative CustomTile::_family[5] [private] |
Definition at line 257 of file CustomTile.
bool CustomTile::_hasBeenTraversed [private] |
Definition at line 238 of file CustomTile.
bool CustomTile::_hasElevation [private] |
Definition at line 232 of file CustomTile.
TileKey CustomTile::_key [private] |
Definition at line 246 of file CustomTile.
osg::ref_ptr<GeoLocator> CustomTile::_keyLocator [private] |
Definition at line 247 of file CustomTile.
osg::ref_ptr<osg::Vec3dArray> CustomTile::_mask [private] |
Definition at line 255 of file CustomTile.
bool CustomTile::_quickReleaseGLObjects [private] |
Definition at line 241 of file CustomTile.
TaskRequestList CustomTile::_requests [private] |
Definition at line 248 of file CustomTile.
bool CustomTile::_requestsInstalled [private] |
Definition at line 230 of file CustomTile.
bool CustomTile::_sequentialImagery [private] |
Definition at line 240 of file CustomTile.
int CustomTile::_terrainRevision [private] |
Definition at line 227 of file CustomTile.
osg::ref_ptr<TaskRequest> CustomTile::_tileGenRequest [private] |
Definition at line 251 of file CustomTile.
Definition at line 258 of file CustomTile.
int CustomTile::_tileRevision [private] |
Definition at line 228 of file CustomTile.
TileUpdateQueue CustomTile::_tileUpdates [private] |
Definition at line 244 of file CustomTile.
bool CustomTile::_useLayerRequests [private] |
Definition at line 229 of file CustomTile.
bool CustomTile::_usePerLayerUpdates [private] |
Definition at line 231 of file CustomTile.
bool CustomTile::_useTileGenRequest [private] |
Definition at line 239 of file CustomTile.
float CustomTile::_verticalScale [private] |
Definition at line 265 of file CustomTile.
1.7.3