FlightGear next
|
#include <tileentry.hxx>
Inherits TileEntry.
Public Member Functions | |
VPBTileEntry (const SGBucket &b, osg::ref_ptr< simgear::SGReaderWriterOptions > options) | |
~VPBTileEntry () | |
TileEntry::Extension | getExtension () |
![]() | |
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 | |
![]() | |
enum | Extension { STG , VPB } |
![]() | |
SGBucket | tile_bucket |
std::string | tileFileName |
![]() | |
osg::ref_ptr< osg::LOD > | _node |
Definition at line 163 of file tileentry.hxx.
VPBTileEntry::VPBTileEntry | ( | const SGBucket & | b, |
osg::ref_ptr< simgear::SGReaderWriterOptions > | options ) |
Definition at line 148 of file tileentry.cxx.
VPBTileEntry::~VPBTileEntry | ( | ) |
Definition at line 193 of file tileentry.cxx.
|
inlinevirtual |
Implements TileEntry.
Definition at line 167 of file tileentry.hxx.