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 | setFileName (unsigned int i, const std::string &filename) |
const std::string & | getFileName (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 &filename) |
void | addLayer (Layer *layer) |
void | removeLayer (unsigned int i) |
unsigned int | getNumLayers () const |
Protected Types | |
typedef std::pair < std::string, osg::ref_ptr< Layer > > | FileNameLayerPair |
typedef std::vector < FileNameLayerPair > | Layers |
Protected Member Functions | |
virtual | ~CompositeLayer () |
Protected Attributes | |
Layers | _layers |
typedef std::pair< std::string, osg::ref_ptr<Layer> > osgTerrain::CompositeLayer::FileNameLayerPair [protected] |
typedef std::vector< FileNameLayerPair > osgTerrain::CompositeLayer::Layers [protected] |
osgTerrain::CompositeLayer::CompositeLayer | ( | ) |
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] |
osgTerrain::CompositeLayer::META_Object | ( | osgTerrain | , | |
CompositeLayer | ||||
) |
void osgTerrain::CompositeLayer::clear | ( | ) |
void osgTerrain::CompositeLayer::setFileName | ( | unsigned int | i, | |
const std::string & | filename | |||
) | [inline] |
const std::string& osgTerrain::CompositeLayer::getFileName | ( | unsigned int | i | ) | const [inline] |
void osgTerrain::CompositeLayer::setLayer | ( | unsigned int | i, | |
Layer * | layer | |||
) | [inline] |
Layer* osgTerrain::CompositeLayer::getLayer | ( | unsigned int | i | ) | [inline] |
const Layer* osgTerrain::CompositeLayer::getLayer | ( | unsigned int | i | ) | const [inline] |
void osgTerrain::CompositeLayer::addLayer | ( | const std::string & | filename | ) | [inline] |
void osgTerrain::CompositeLayer::addLayer | ( | Layer * | layer | ) | [inline] |
void osgTerrain::CompositeLayer::removeLayer | ( | unsigned int | i | ) | [inline] |
unsigned int osgTerrain::CompositeLayer::getNumLayers | ( | ) | const [inline] |
Layers osgTerrain::CompositeLayer::_layers [protected] |