|
OpenSceneGraph
3.0.1
|
VolumeTile provides a framework for loosely coupling 3d image data with rendering algorithms. More...

Public Member Functions | |
| VolumeTile () | |
| VolumeTile (const VolumeTile &, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
| Copy constructor using CopyOp to manage deep vs shallow copy. | |
| META_Node (osgVolume, VolumeTile) | |
| virtual void | traverse (osg::NodeVisitor &nv) |
| Traverse downwards : calls children's accept method with NodeVisitor. | |
| void | init () |
| Call init on any attached TerrainTechnique. | |
| void | setVolume (Volume *ts) |
| Set the Volume that this Volume tile is a member of. | |
| Volume * | getVolume () |
| Get the Volume that this Volume tile is a member of. | |
| const Volume * | getVolume () const |
| Get the const Volume that this Volume tile is a member of. | |
| void | setTileID (const TileID &tileID) |
| Set the TileID (layer, x,y,z) of the VolumeTile. | |
| const TileID & | getTileID () const |
| Get the TileID (layer, x,y,z) of the VolumeTile. | |
| void | setLocator (Locator *locator) |
| Locator * | getLocator () |
| const Locator * | getLocator () const |
| void | setLayer (Layer *layer) |
| Layer * | getLayer () |
| const Layer * | getLayer () const |
| void | setVolumeTechnique (VolumeTechnique *VolumeTechnique) |
| Set the VolumeTechnique that will be used to render this tile. | |
| VolumeTechnique * | getVolumeTechnique () |
| Get the VolumeTechnique that will be used to render this tile. | |
| const VolumeTechnique * | getVolumeTechnique () const |
| Get the const VolumeTechnique that will be used to render this tile. | |
| void | setDirty (bool dirty) |
| Set the dirty flag on/off. | |
| bool | getDirty () const |
| return true if the tile is dirty and needs to be updated, | |
| virtual osg::BoundingSphere | computeBound () const |
| Compute the bounding sphere around Node's geometry or children. | |
Protected Member Functions | |
| virtual | ~VolumeTile () |
Protected Attributes | |
| Volume * | _volume |
| bool | _dirty |
| bool | _hasBeenTraversal |
| TileID | _tileID |
| osg::ref_ptr< VolumeTechnique > | _volumeTechnique |
| osg::ref_ptr< Locator > | _locator |
| osg::ref_ptr< Layer > | _layer |
Friends | |
| class | Volume |
VolumeTile provides a framework for loosely coupling 3d image data with rendering algorithms.
This allows TerrainTechnique's to be plugged in at runtime.
| osgVolume::VolumeTile::VolumeTile | ( | const VolumeTile & | , |
| const osg::CopyOp & | copyop = osg::CopyOp::SHALLOW_COPY |
||
| ) |
Copy constructor using CopyOp to manage deep vs shallow copy.
| virtual osgVolume::VolumeTile::~VolumeTile | ( | ) | [protected, virtual] |
| virtual osg::BoundingSphere osgVolume::VolumeTile::computeBound | ( | ) | const [virtual] |
Compute the bounding sphere around Node's geometry or children.
This method is automatically called by getBound() when the bounding sphere has been marked dirty via dirtyBound().
Reimplemented from osg::Group.
| bool osgVolume::VolumeTile::getDirty | ( | ) | const [inline] |
return true if the tile is dirty and needs to be updated,
| Layer* osgVolume::VolumeTile::getLayer | ( | ) | [inline] |
| const Layer* osgVolume::VolumeTile::getLayer | ( | ) | const [inline] |
| Locator* osgVolume::VolumeTile::getLocator | ( | ) | [inline] |
| const Locator* osgVolume::VolumeTile::getLocator | ( | ) | const [inline] |
| const TileID& osgVolume::VolumeTile::getTileID | ( | ) | const [inline] |
Get the TileID (layer, x,y,z) of the VolumeTile.
| Volume* osgVolume::VolumeTile::getVolume | ( | ) | [inline] |
| const Volume* osgVolume::VolumeTile::getVolume | ( | ) | const [inline] |
| VolumeTechnique* osgVolume::VolumeTile::getVolumeTechnique | ( | ) | [inline] |
Get the VolumeTechnique that will be used to render this tile.
| const VolumeTechnique* osgVolume::VolumeTile::getVolumeTechnique | ( | ) | const [inline] |
Get the const VolumeTechnique that will be used to render this tile.
| void osgVolume::VolumeTile::init | ( | ) |
Call init on any attached TerrainTechnique.
| osgVolume::VolumeTile::META_Node | ( | osgVolume | , |
| VolumeTile | |||
| ) |
| void osgVolume::VolumeTile::setDirty | ( | bool | dirty | ) |
Set the dirty flag on/off.
| void osgVolume::VolumeTile::setLayer | ( | Layer * | layer | ) |
| void osgVolume::VolumeTile::setLocator | ( | Locator * | locator | ) | [inline] |
| void osgVolume::VolumeTile::setTileID | ( | const TileID & | tileID | ) |
Set the TileID (layer, x,y,z) of the VolumeTile.
The TileID is used so it can be located by its neighbours via the enclosing Volume node that manages a map of TileID to VolumeTiles.
| void osgVolume::VolumeTile::setVolume | ( | Volume * | ts | ) |
| void osgVolume::VolumeTile::setVolumeTechnique | ( | VolumeTechnique * | VolumeTechnique | ) |
Set the VolumeTechnique that will be used to render this tile.
| virtual void osgVolume::VolumeTile::traverse | ( | osg::NodeVisitor & | ) | [virtual] |
Traverse downwards : calls children's accept method with NodeVisitor.
Reimplemented from osg::Group.
friend class Volume [friend] |
bool osgVolume::VolumeTile::_dirty [protected] |
bool osgVolume::VolumeTile::_hasBeenTraversal [protected] |
osg::ref_ptr<Layer> osgVolume::VolumeTile::_layer [protected] |
osg::ref_ptr<Locator> osgVolume::VolumeTile::_locator [protected] |
TileID osgVolume::VolumeTile::_tileID [protected] |
Volume* osgVolume::VolumeTile::_volume [protected] |
| Generated at Thu Sep 27 2012 17:03:34 for the OpenSceneGraph by doxygen 1.7.6.1. |