OpenSceneGraph
3.0.1
|
Classes | |
struct | CompoundNameLayer |
Public Member Functions | |
CompositeLayer () | |
CompositeLayer (const CompositeLayer &compositeLayer, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
Copy constructor using CopyOp to manage deep vs shallow copy. | |
META_Object (osgTerrain, CompositeLayer) | |
void | clear () |
void | setSetName (unsigned int i, const std::string &setname) |
Set the set name of layer 'i'. | |
const std::string & | getSetName (unsigned int i) const |
Get the set name of layer 'i'. | |
void | setFileName (unsigned int i, const std::string &filename) |
Set the file name of the data associated with layer 'i'. | |
const std::string & | getFileName (unsigned int i) const |
Get the file name of the data associated with layer 'i'. | |
void | setCompoundName (unsigned int i, const std::string &compoundname) |
std::string | getCompoundName (unsigned int i) const |
void | setLayer (unsigned int i, Layer *layer) |
Layer * | getLayer (unsigned int i) |
const Layer * | getLayer (unsigned int i) const |
void | addLayer (const std::string &compoundname) |
void | addLayer (const std::string &setname, const std::string &filename) |
void | addLayer (Layer *layer) |
void | removeLayer (unsigned int i) |
unsigned int | getNumLayers () const |
Protected Types | |
typedef std::vector < CompoundNameLayer > | Layers |
Protected Member Functions | |
virtual | ~CompositeLayer () |
Protected Attributes | |
Layers | _layers |
typedef std::vector< CompoundNameLayer > osgTerrain::CompositeLayer::Layers [protected] |
osgTerrain::CompositeLayer::CompositeLayer | ( | const CompositeLayer & | compositeLayer, |
const osg::CopyOp & | copyop = osg::CopyOp::SHALLOW_COPY |
||
) |
Copy constructor using CopyOp to manage deep vs shallow copy.
virtual osgTerrain::CompositeLayer::~CompositeLayer | ( | ) | [inline, protected, virtual] |
void osgTerrain::CompositeLayer::addLayer | ( | const std::string & | compoundname | ) |
void osgTerrain::CompositeLayer::addLayer | ( | const std::string & | setname, |
const std::string & | filename | ||
) |
void osgTerrain::CompositeLayer::addLayer | ( | Layer * | layer | ) | [inline] |
References osgTerrain::Layer::getFileName(), and osg::Object::getName().
void osgTerrain::CompositeLayer::clear | ( | ) |
std::string osgTerrain::CompositeLayer::getCompoundName | ( | unsigned int | i | ) | const |
const std::string& osgTerrain::CompositeLayer::getFileName | ( | unsigned int | i | ) | const [inline] |
Get the file name of the data associated with layer 'i'.
Layer* osgTerrain::CompositeLayer::getLayer | ( | unsigned int | i | ) | [inline] |
const Layer* osgTerrain::CompositeLayer::getLayer | ( | unsigned int | i | ) | const [inline] |
unsigned int osgTerrain::CompositeLayer::getNumLayers | ( | ) | const [inline] |
const std::string& osgTerrain::CompositeLayer::getSetName | ( | unsigned int | i | ) | const [inline] |
Get the set name of layer 'i'.
osgTerrain::CompositeLayer::META_Object | ( | osgTerrain | , |
CompositeLayer | |||
) |
void osgTerrain::CompositeLayer::removeLayer | ( | unsigned int | i | ) | [inline] |
void osgTerrain::CompositeLayer::setCompoundName | ( | unsigned int | i, |
const std::string & | compoundname | ||
) |
void osgTerrain::CompositeLayer::setFileName | ( | unsigned int | i, |
const std::string & | filename | ||
) | [inline] |
Set the file name of the data associated with layer 'i'.
void osgTerrain::CompositeLayer::setLayer | ( | unsigned int | i, |
Layer * | layer | ||
) | [inline] |
void osgTerrain::CompositeLayer::setSetName | ( | unsigned int | i, |
const std::string & | setname | ||
) | [inline] |
Set the set name of layer 'i'.
Layers osgTerrain::CompositeLayer::_layers [protected] |
![]() | Generated at Tue Feb 28 2012 17:50:46 for the OpenSceneGraph by doxygen 1.7.6.1. |