FlightGear next
STGTileEntry Class Reference

#include <tileentry.hxx>

Inherits TileEntry.

Public Member Functions

 STGTileEntry (const SGBucket &b)
 
 ~STGTileEntry ()
 
TileEntry::Extension getExtension ()
 
- Public Member Functions inherited from TileEntry
 TileEntry (const SGBucket &b)
 
 TileEntry (const TileEntry &t)
 
virtual ~TileEntry ()=0
 
void prep_ssg_node (float vis)
 
bool is_loaded () const
 Return true if the tile entry is loaded, otherwise return false indicating that the loading thread is still working on this.
 
const SGBucket & get_tile_bucket () const
 Return the "bucket" for this tile.
 
void addToSceneGraph (osg::Group *terrain_branch)
 Add terrain mesh and ground lighting to scene graph.
 
void removeFromSceneGraph ()
 disconnect terrain mesh and ground lighting nodes from scene graph for this tile.
 
osg::LOD * getNode () const
 return the scenegraph node for the terrain
 
double get_time_expired () const
 
void update_time_expired (double time_expired)
 
void set_priority (float priority)
 
float get_priority () const
 
void set_current_view (bool current_view)
 
bool is_current_view () 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 longer in active use.
 
osg::ref_ptr< osg::Referenced > & getDatabaseRequest ()
 

Additional Inherited Members

- Public Types inherited from TileEntry
enum  Extension { STG , VPB }
 
- Public Attributes inherited from TileEntry
SGBucket tile_bucket
 
std::string tileFileName
 
- Protected Attributes inherited from TileEntry
osg::ref_ptr< osg::LOD > _node
 

Detailed Description

Definition at line 156 of file tileentry.hxx.

Constructor & Destructor Documentation

◆ STGTileEntry()

STGTileEntry::STGTileEntry ( const SGBucket & b)

Definition at line 136 of file tileentry.cxx.

◆ ~STGTileEntry()

STGTileEntry::~STGTileEntry ( )

Definition at line 143 of file tileentry.cxx.

Member Function Documentation

◆ getExtension()

TileEntry::Extension STGTileEntry::getExtension ( )
inlinevirtual

Implements TileEntry.

Definition at line 160 of file tileentry.hxx.


The documentation for this class was generated from the following files: