openscenegraph
|
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] |