FlightGear next
VPBTileEntry Class Reference

#include <tileentry.hxx>

Inherits TileEntry.

Public Member Functions

 VPBTileEntry (const SGBucket &b, osg::ref_ptr< simgear::SGReaderWriterOptions > options)
 
 ~VPBTileEntry ()
 
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 163 of file tileentry.hxx.

Constructor & Destructor Documentation

◆ VPBTileEntry()

VPBTileEntry::VPBTileEntry ( const SGBucket & b,
osg::ref_ptr< simgear::SGReaderWriterOptions > options )

Definition at line 148 of file tileentry.cxx.

◆ ~VPBTileEntry()

VPBTileEntry::~VPBTileEntry ( )

Definition at line 193 of file tileentry.cxx.

Member Function Documentation

◆ getExtension()

TileEntry::Extension VPBTileEntry::getExtension ( )
inlinevirtual

Implements TileEntry.

Definition at line 167 of file tileentry.hxx.


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