OpenSceneGraph
Classes | Functions
osgTerrain Namespace Reference

The osgTerrain library is a NodeKit that provides geospecifc terrain rendering support. More...

Classes

class  CompositeLayer
 
class  ContourLayer
 
class  DisplacementMappingTechnique
 
class  GeometryPool
 
class  GeometryTechnique
 
class  HeightFieldDrawable
 
class  HeightFieldLayer
 
class  ImageLayer
 
class  Layer
 
class  Locator
 
struct  NoDataValue
 
class  ProxyLayer
 
class  SharedGeometry
 
class  SwitchLayer
 
class  Terrain
 Terrain provides a framework for loosely coupling height field data with height rendering algorithms. More...
 
class  TerrainNeighbours
 
class  TerrainTechnique
 
class  TerrainTile
 Terrain provides a framework for loosely coupling height field data with height rendering algorithms. More...
 
class  TileID
 
struct  ValidDataOperator
 
struct  ValidRange
 
class  WhiteListTileLoadedCallback
 Helper callback for managing optional sets of layers, that loading of is deffered to this callback, with this callback working out which layers to load, and how to create fallback versions of the layers. More...
 

Functions

OSGTERRAIN_EXPORT const osgTerrain::LocatorcomputeMasterLocator (const osgTerrain::TerrainTile *tile)
 
OSGTERRAIN_EXPORT void extractSetNameAndFileName (const std::string &compoundstring, std::string &setname, std::string &filename)
 Extact the setname and filename from a compound string in the from set:setname:filename". More...
 
OSGTERRAIN_EXPORT std::string createCompoundSetNameAndFileName (const std::string &setname, const std::string &filename)
 Create a compound string in the form set:setname:filename, or just filename if setname is "". More...
 

Detailed Description

The osgTerrain library is a NodeKit that provides geospecifc terrain rendering support.

Function Documentation

◆ computeMasterLocator()

OSGTERRAIN_EXPORT const osgTerrain::Locator* osgTerrain::computeMasterLocator ( const osgTerrain::TerrainTile tile)

◆ createCompoundSetNameAndFileName()

OSGTERRAIN_EXPORT std::string osgTerrain::createCompoundSetNameAndFileName ( const std::string &  setname,
const std::string &  filename 
)

Create a compound string in the form set:setname:filename, or just filename if setname is "".

Referenced by osgTerrain::Layer::getCompoundName().

◆ extractSetNameAndFileName()

OSGTERRAIN_EXPORT void osgTerrain::extractSetNameAndFileName ( const std::string &  compoundstring,
std::string &  setname,
std::string &  filename 
)

Extact the setname and filename from a compound string in the from set:setname:filename".

Returns a setname of "" when non set:setname: entry is present.