A class to encapsulate everything we need to know about a scenery tile.
More...
#include <tileentry.hxx>
Inherited by STGTileEntry, and VPBTileEntry.
|
osg::ref_ptr< osg::LOD > | _node |
|
A class to encapsulate everything we need to know about a scenery tile.
Definition at line 53 of file tileentry.hxx.
◆ Extension
◆ TileEntry() [1/2]
TileEntry::TileEntry |
( |
const SGBucket & | b | ) |
|
◆ TileEntry() [2/2]
◆ ~TileEntry()
TileEntry::~TileEntry |
( |
| ) |
|
|
pure virtual |
◆ addToSceneGraph()
void TileEntry::addToSceneGraph |
( |
osg::Group * | terrain_branch | ) |
|
Add terrain mesh and ground lighting to scene graph.
Definition at line 101 of file tileentry.cxx.
◆ get_priority()
float TileEntry::get_priority |
( |
| ) |
const |
|
inline |
◆ get_tile_bucket()
const SGBucket & TileEntry::get_tile_bucket |
( |
| ) |
const |
|
inline |
Return the "bucket" for this tile.
Definition at line 110 of file tileentry.hxx.
◆ get_time_expired()
double TileEntry::get_time_expired |
( |
| ) |
const |
|
inline |
◆ getDatabaseRequest()
osg::ref_ptr< osg::Referenced > & TileEntry::getDatabaseRequest |
( |
| ) |
|
|
inline |
◆ getExtension()
◆ getNode()
osg::LOD * TileEntry::getNode |
( |
| ) |
const |
|
inline |
return the scenegraph node for the terrain
Definition at line 126 of file tileentry.hxx.
◆ is_current_view()
bool TileEntry::is_current_view |
( |
| ) |
const |
|
inline |
◆ is_expired()
bool TileEntry::is_expired |
( |
double | current_time | ) |
const |
|
inline |
Return false if the tile entry is still needed, otherwise return true indicating that the tile is no longer in active use.
Definition at line 140 of file tileentry.hxx.
◆ is_loaded()
bool TileEntry::is_loaded |
( |
| ) |
const |
|
inline |
Return true if the tile entry is loaded, otherwise return false indicating that the loading thread is still working on this.
Definition at line 102 of file tileentry.hxx.
◆ prep_ssg_node()
void TileEntry::prep_ssg_node |
( |
float | vis | ) |
|
◆ removeFromSceneGraph()
void TileEntry::removeFromSceneGraph |
( |
| ) |
|
disconnect terrain mesh and ground lighting nodes from scene graph for this tile.
Definition at line 114 of file tileentry.cxx.
◆ set_current_view()
void TileEntry::set_current_view |
( |
bool | current_view | ) |
|
|
inline |
◆ set_priority()
void TileEntry::set_priority |
( |
float | priority | ) |
|
|
inline |
◆ update_time_expired()
void TileEntry::update_time_expired |
( |
double | time_expired | ) |
|
|
inline |
◆ _node
osg::ref_ptr<osg::LOD> TileEntry::_node |
|
protected |
◆ tile_bucket
SGBucket TileEntry::tile_bucket |
◆ tileFileName
std::string TileEntry::tileFileName |
The documentation for this class was generated from the following files: