List of all members.
Detailed Description
Terrain provides a framework for loosely coupling height field data with height rendering algorithms. This allows TerrainTechnique's to be plugged in at runtime.
Member Typedef Documentation
Constructor & Destructor Documentation
osgTerrain::TerrainTile::TerrainTile |
( |
) |
|
osgTerrain::TerrainTile::TerrainTile |
( |
const TerrainTile & |
, |
|
|
const osg::CopyOp & |
copyop = osg::CopyOp::SHALLOW_COPY |
|
) |
| |
Copy constructor using CopyOp to manage deep vs shallow copy.
virtual osgTerrain::TerrainTile::~TerrainTile |
( |
) |
[protected, virtual] |
Member Function Documentation
Compute the bounding volume of the terrain by computing the union of the bounding volumes of all layers.
Reimplemented from osg::Group.
const Layer* osgTerrain::TerrainTile::getColorLayer |
( |
unsigned int |
i ) |
const [inline] |
Set const color layer with specified layer number.
Layer* osgTerrain::TerrainTile::getColorLayer |
( |
unsigned int |
i ) |
[inline] |
Get color layer with specified layer number.
bool osgTerrain::TerrainTile::getDirty |
( |
) |
const [inline] |
return true if the tile is dirty and needs to be updated,
const Layer* osgTerrain::TerrainTile::getElevationLayer |
( |
) |
const [inline] |
Get the const layer to use to define the elevations of the terrain.
Layer* osgTerrain::TerrainTile::getElevationLayer |
( |
) |
[inline] |
Get the layer to use to define the elevations of the terrain.
Locator* osgTerrain::TerrainTile::getLocator |
( |
) |
[inline] |
Get the coordinate frame locator of the terrain node.
const Locator* osgTerrain::TerrainTile::getLocator |
( |
) |
const [inline] |
Get the coordinate frame locator of the terrain node.
unsigned int osgTerrain::TerrainTile::getNumColorLayers |
( |
) |
const [inline] |
Get the number of colour layers.
bool osgTerrain::TerrainTile::getRequiresNormals |
( |
) |
const [inline] |
Get whether the TerrainTechnique should create per vertex normals for lighting purposes.
const Terrain* osgTerrain::TerrainTile::getTerrain |
( |
) |
const [inline] |
Terrain* osgTerrain::TerrainTile::getTerrain |
( |
) |
[inline] |
const TerrainTechnique* osgTerrain::TerrainTile::getTerrainTechnique |
( |
) |
const [inline] |
const TileID& osgTerrain::TerrainTile::getTileID |
( |
) |
const [inline] |
bool osgTerrain::TerrainTile::getTreatBoundariesToValidDataAsDefaultValue |
( |
) |
const [inline] |
Get whether the TeatBoundariesToValidDataAsDefaultValue hint.
void osgTerrain::TerrainTile::init |
( |
) |
|
osgTerrain::TerrainTile::META_Node |
( |
osgTerrain |
, |
|
|
TerrainTile |
|
|
) |
| |
void osgTerrain::TerrainTile::setColorLayer |
( |
unsigned int |
i, |
|
|
Layer * |
layer |
|
) |
| |
Set a color layer with specified layer number.
void osgTerrain::TerrainTile::setDirty |
( |
bool |
dirty ) |
|
Set the dirty flag on/off.
void osgTerrain::TerrainTile::setElevationLayer |
( |
Layer * |
layer ) |
|
Set the layer to use to define the elevations of the terrain.
void osgTerrain::TerrainTile::setLocator |
( |
Locator * |
locator ) |
[inline] |
Set the coordinate frame locator of the terrain node. The locator takes non-dimensional s,t coordinates into the X,Y,Z world coords and back.
void osgTerrain::TerrainTile::setRequiresNormals |
( |
bool |
flag ) |
[inline] |
Set hint to whether the TerrainTechnique should create per vertex normals for lighting purposes.
void osgTerrain::TerrainTile::setTerrain |
( |
Terrain * |
ts ) |
|
void osgTerrain::TerrainTile::setTerrainTechnique |
( |
TerrainTechnique * |
terrainTechnique ) |
|
void osgTerrain::TerrainTile::setTileID |
( |
const TileID & |
tileID ) |
|
Set the TileID (layer, x,y) of the TerrainTile. The TileID is used so it can be located by its neighbours via the enclosing Terrain node that manages a map of TileID to TerraiTiles.
static void osgTerrain::TerrainTile::setTileLoadedCallback |
( |
TileLoadedCallback * |
lc ) |
[static] |
void osgTerrain::TerrainTile::setTreatBoundariesToValidDataAsDefaultValue |
( |
bool |
flag ) |
[inline] |
Set the hint to whether the TerrainTechnique should treat the invalid Layer entries that at are neigbours to valid entries with the default value.
Traverse downwards : calls children's accept method with NodeVisitor.
Reimplemented from osg::Group.
Friends And Related Function Documentation
Member Data Documentation
The documentation for this class was generated from the following file: