Public Member Functions | |
TerrainTechnique () | |
TerrainTechnique (const TerrainTechnique &, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
Copy constructor using CopyOp to manage deep vs shallow copy. | |
META_Object (osgTerrain, TerrainTechnique) | |
Terrain * | getTerrain () |
const Terrain * | getTerrain () const |
virtual void | init () |
virtual void | update (osgUtil::UpdateVisitor *nv) |
virtual void | cull (osgUtil::CullVisitor *nv) |
virtual void | cleanSceneGraph () |
Clean scene graph from any terrain technique specific nodes. | |
virtual void | traverse (osg::NodeVisitor &nv) |
Traverse the terain subgraph. | |
virtual void | dirty () |
Dirty so that cached data structurese will be updated on next use. | |
virtual bool | isDirty () const |
Return true if cached data structurese need updating. | |
Protected Member Functions | |
virtual | ~TerrainTechnique () |
Protected Attributes | |
Terrain * | _terrain |
bool | _dirty |
Friends | |
class | osgTerrain::Terrain |
osgTerrain::TerrainTechnique::TerrainTechnique | ( | ) |
osgTerrain::TerrainTechnique::TerrainTechnique | ( | const TerrainTechnique & | , | |
const osg::CopyOp & | copyop = osg::CopyOp::SHALLOW_COPY | |||
) |
Copy constructor using CopyOp to manage deep vs shallow copy.
virtual osgTerrain::TerrainTechnique::~TerrainTechnique | ( | ) | [protected, virtual] |
osgTerrain::TerrainTechnique::META_Object | ( | osgTerrain | , | |
TerrainTechnique | ||||
) |
Terrain* osgTerrain::TerrainTechnique::getTerrain | ( | ) | [inline] |
const Terrain* osgTerrain::TerrainTechnique::getTerrain | ( | ) | const [inline] |
virtual void osgTerrain::TerrainTechnique::init | ( | ) | [virtual] |
Reimplemented in osgTerrain::GeometryTechnique.
virtual void osgTerrain::TerrainTechnique::update | ( | osgUtil::UpdateVisitor * | nv | ) | [virtual] |
Reimplemented in osgTerrain::GeometryTechnique.
virtual void osgTerrain::TerrainTechnique::cull | ( | osgUtil::CullVisitor * | nv | ) | [virtual] |
Reimplemented in osgTerrain::GeometryTechnique.
virtual void osgTerrain::TerrainTechnique::cleanSceneGraph | ( | ) | [virtual] |
Clean scene graph from any terrain technique specific nodes.
Reimplemented in osgTerrain::GeometryTechnique.
virtual void osgTerrain::TerrainTechnique::traverse | ( | osg::NodeVisitor & | nv | ) | [virtual] |
virtual void osgTerrain::TerrainTechnique::dirty | ( | ) | [virtual] |
Dirty so that cached data structurese will be updated on next use.
Reimplemented in osgTerrain::GeometryTechnique.
virtual bool osgTerrain::TerrainTechnique::isDirty | ( | ) | const [inline, virtual] |
Return true if cached data structurese need updating.
friend class osgTerrain::Terrain [friend] |
Terrain* osgTerrain::TerrainTechnique::_terrain [protected] |
bool osgTerrain::TerrainTechnique::_dirty [protected] |