typedef std::map< TileID, TerrainTile* > osgTerrain::Terrain::TerrainTileMap [protected] |
typedef std::set< TerrainTile* > osgTerrain::Terrain::TerrainTileSet [protected] |
osgTerrain::Terrain::Terrain | ( | ) |
osgTerrain::Terrain::Terrain | ( | const Terrain & | , | |
const osg::CopyOp & | copyop = osg::CopyOp::SHALLOW_COPY | |||
) |
Copy constructor using CopyOp to manage deep vs shallow copy.
virtual osgTerrain::Terrain::~Terrain | ( | ) | [protected, virtual] |
osgTerrain::Terrain::META_Node | ( | osgTerrain | , | |
Terrain | ||||
) |
virtual void osgTerrain::Terrain::traverse | ( | osg::NodeVisitor & | ) | [virtual] |
Traverse downwards : calls children's accept method with NodeVisitor.
Reimplemented from osg::Group.
void osgTerrain::Terrain::setSampleRatio | ( | float | ratio | ) | [inline] |
Set the sample ratio hint that TerrainTile should use when building geometry. Defaults to 1.0, which means use all original sample points.
float osgTerrain::Terrain::getSampleRatio | ( | ) | const [inline] |
Get the sample ratio hint.
void osgTerrain::Terrain::setVerticalScale | ( | float | scale | ) | [inline] |
Set the vertical scale hint.
float osgTerrain::Terrain::getVerticalScale | ( | ) | const [inline] |
Get the vertical scale hint.
TerrainTile* osgTerrain::Terrain::getTile | ( | const TileID & | tileID | ) |
Get the TerrainTile for a given TileID.
const TerrainTile* osgTerrain::Terrain::getTile | ( | const TileID & | tileID | ) | const |
Get the const TerrainTile for a given TileID.
void osgTerrain::Terrain::setTerrainTechniquePrototype | ( | TerrainTechnique * | technique | ) | [inline] |
Set the TerrainTechnique prototype from which TerrainTiles can clone the techniques from.
TerrainTechnique* osgTerrain::Terrain::getTerrainTechniquePrototype | ( | ) | [inline] |
Get the TerrainTechnique prototype
const TerrainTechnique* osgTerrain::Terrain::getTerrainTechniquePrototype | ( | ) | const [inline] |
Get the const TerrainTechnique protype
void osgTerrain::Terrain::dirtyRegisteredTiles | ( | ) | [protected] |
void osgTerrain::Terrain::registerTerrainTile | ( | TerrainTile * | tile | ) | [protected] |
void osgTerrain::Terrain::unregisterTerrainTile | ( | TerrainTile * | tile | ) | [protected] |
friend class TerrainTile [friend] |
float osgTerrain::Terrain::_sampleRatio [protected] |
float osgTerrain::Terrain::_verticalScale [protected] |
OpenThreads::Mutex osgTerrain::Terrain::_mutex [mutable, protected] |
TerrainTileSet osgTerrain::Terrain::_terrainTileSet [protected] |
TerrainTileMap osgTerrain::Terrain::_terrainTileMap [protected] |