67 osg::ref_ptr<osg::Referenced> _databaseRequest;
69 simgear::OrthophotoRef _orthophoto;
83 void _create_orthophoto();
104 return _node->getNumChildren() > 0;
129 inline void update_time_expired(
double time_expired ) {
if (_time_expired<time_expired) _time_expired = time_expired; }
140 inline bool is_expired(
double current_time)
const {
return (_current_view) ? false : (current_time > _time_expired); }
146 return _databaseRequest;
TileEntry::Extension getExtension()
STGTileEntry(const SGBucket &b)
void prep_ssg_node(float vis)
void set_priority(float priority)
double get_time_expired() const
bool is_expired(double current_time) const
Return false if the tile entry is still needed, otherwise return true indicating that the tile is no ...
float get_priority() const
osg::ref_ptr< osg::Referenced > & getDatabaseRequest()
void addToSceneGraph(osg::Group *terrain_branch)
Add terrain mesh and ground lighting to scene graph.
virtual TileEntry::Extension getExtension()=0
bool is_current_view() const
const SGBucket & get_tile_bucket() const
Return the "bucket" for this tile.
void set_current_view(bool current_view)
bool is_loaded() const
Return true if the tile entry is loaded, otherwise return false indicating that the loading thread is...
void removeFromSceneGraph()
disconnect terrain mesh and ground lighting nodes from scene graph for this tile.
TileEntry(const SGBucket &b)
osg::LOD * getNode() const
return the scenegraph node for the terrain
void update_time_expired(double time_expired)
osg::ref_ptr< osg::LOD > _node
VPBTileEntry(const SGBucket &b, osg::ref_ptr< simgear::SGReaderWriterOptions > options)
TileEntry::Extension getExtension()