Inheritance diagram for osgTerrain::TerrainNode:

typedef std::vector<LayerData> osgTerrain::TerrainNode::Layers [protected] |
| osgTerrain::TerrainNode::TerrainNode | ( | ) |
| osgTerrain::TerrainNode::TerrainNode | ( | const TerrainNode & | , | |
| const osg::CopyOp & | copyop = osg::CopyOp::SHALLOW_COPY | |||
| ) |
Copy constructor using CopyOp to manage deep vs shallow copy.
| virtual osgTerrain::TerrainNode::~TerrainNode | ( | ) | [protected, virtual] |
| osgTerrain::TerrainNode::META_Node | ( | osgTerrain | , | |
| TerrainNode | ||||
| ) |
| virtual void osgTerrain::TerrainNode::traverse | ( | osg::NodeVisitor & | nv | ) | [virtual] |
Traverse downwards : calls children's accept method with NodeVisitor.
Reimplemented from osg::Group.
| void osgTerrain::TerrainNode::init | ( | ) |
Call init on any attached TerrainTechnique.
| void osgTerrain::TerrainNode::setTerrainTechnique | ( | osgTerrain::TerrainTechnique * | TerrainTechnique | ) |
Set the TerrainTechnique
| TerrainTechnique* osgTerrain::TerrainNode::getTerrainTechnique | ( | ) | [inline] |
Get the TerrainTechnique
| const TerrainTechnique* osgTerrain::TerrainNode::getTerrainTechnique | ( | ) | const [inline] |
Get the const TerrainTechnique
| void osgTerrain::TerrainNode::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.
| Locator* osgTerrain::TerrainNode::getLocator | ( | ) | [inline] |
Get the coordinate frame locator of the terrain node.
| const Locator* osgTerrain::TerrainNode::getLocator | ( | ) | const [inline] |
Get the coordinate frame locator of the terrain node.
| void osgTerrain::TerrainNode::setElevationLayer | ( | Layer * | layer | ) |
Set the layer to use to define the elevations of the terrain.
| Layer* osgTerrain::TerrainNode::getElevationLayer | ( | ) | [inline] |
Get the layer to use to define the elevations of the terrain.
| const Layer* osgTerrain::TerrainNode::getElevationLayer | ( | ) | const [inline] |
Get the const layer to use to define the elevations of the terrain.
| void osgTerrain::TerrainNode::setColorLayer | ( | unsigned int | i, | |
| osgTerrain::Layer * | layer | |||
| ) |
Set a color layer with specified layer number.
| Layer* osgTerrain::TerrainNode::getColorLayer | ( | unsigned int | i | ) | [inline] |
Get color layer with specified layer number.
| const Layer* osgTerrain::TerrainNode::getColorLayer | ( | unsigned int | i | ) | const [inline] |
Set const color layer with specified layer number.
| void osgTerrain::TerrainNode::setColorTransferFunction | ( | unsigned int | i, | |
| osg::TransferFunction * | tf | |||
| ) |
Set a color transfer function with specified layer number.
| osg::TransferFunction* osgTerrain::TerrainNode::getColorTransferFunction | ( | unsigned int | i | ) | [inline] |
Get color transfer function with specified layer number.
| const osg::TransferFunction* osgTerrain::TerrainNode::getColorTransferFunction | ( | unsigned int | i | ) | const [inline] |
Get const color transfer function with specified layer number.
| void osgTerrain::TerrainNode::setColorFilter | ( | unsigned int | i, | |
| Filter | filter | |||
| ) |
Set a color filter with specified layer number.
| Filter osgTerrain::TerrainNode::getColorFilter | ( | unsigned int | i | ) | const [inline] |
Set const color filter with specified layer number.
| unsigned int osgTerrain::TerrainNode::getNumColorLayers | ( | ) | const [inline] |
Get the number of colour layers.
| void osgTerrain::TerrainNode::setRequiresNormals | ( | bool | flag | ) | [inline] |
Set hint to whether the TerrainTechnique should create per vertex normals for lighting purposes.
| bool osgTerrain::TerrainNode::getRequiresNormals | ( | ) | const [inline] |
Get whether the TerrainTechnique should create per vertex normals for lighting purposes.
| void osgTerrain::TerrainNode::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.
| bool osgTerrain::TerrainNode::getTreatBoundariesToValidDataAsDefaultValue | ( | ) | const [inline] |
Get whether the TeatBoundariesToValidDataAsDefaultValue hint.
| virtual osg::BoundingSphere osgTerrain::TerrainNode::computeBound | ( | ) | const [virtual] |
Compute the bounding volume of the terrain by computing the union of the bounding volumes of all layers.
Reimplemented from osg::Group.
osg::ref_ptr<Locator> osgTerrain::TerrainNode::_locator [protected] |
osg::ref_ptr<Layer> osgTerrain::TerrainNode::_elevationLayer [protected] |
Layers osgTerrain::TerrainNode::_colorLayers [protected] |
bool osgTerrain::TerrainNode::_requiresNormals [protected] |
bool osgTerrain::TerrainNode::_treatBoundariesToValidDataAsDefaultValue [protected] |
1.5.1