A class to encapsulate everything we need to know about a scenery tile. More...
#include <TileEntry.hxx>
Public Member Functions | |
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 | |
Static Public Member Functions | |
static osg::Node * | loadTileByFileName (const std::string &index_str, const osgDB::ReaderWriter::Options *) |
Transition to OSG database pager. |
A class to encapsulate everything we need to know about a scenery tile.
Definition at line 60 of file TileEntry.hxx.