OpenSceneGraph 2.8.3

osgTerrain::CompositeLayer Class Reference

Inheritance diagram for osgTerrain::CompositeLayer:

List of all members.

Classes

struct  CompoundNameLayer

Public Member Functions

 CompositeLayer ()
 CompositeLayer (const CompositeLayer &compositeLayer, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
 Copy constructor using CopyOp to manage deep vs shallow copy.
 META_Object (osgTerrain, CompositeLayer)
void clear ()
void setSetName (const std::string &setname)
const std::string & getSetName () const
void setSetName (unsigned int i, const std::string &setname)
const std::string & getSetName (unsigned int i) const
void setFileName (unsigned int i, const std::string &filename)
const std::string & getFileName (unsigned int i) const
void setCompoundName (unsigned int i, const std::string &compoundname)
std::string getCompoundName (unsigned int i) const
void setLayer (unsigned int i, Layer *layer)
LayergetLayer (unsigned int i)
const LayergetLayer (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

Member Typedef Documentation

typedef std::vector< CompoundNameLayer > osgTerrain::CompositeLayer::Layers [protected]

Constructor & Destructor Documentation

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]

Member Function Documentation

void osgTerrain::CompositeLayer::addLayer ( const std::string &  compoundname)
void osgTerrain::CompositeLayer::addLayer ( Layer layer) [inline]
void osgTerrain::CompositeLayer::addLayer ( const std::string &  setname,
const std::string &  filename 
)
void osgTerrain::CompositeLayer::clear ( )
std::string osgTerrain::CompositeLayer::getCompoundName ( unsigned int  i) const
const std::string& osgTerrain::CompositeLayer::getFileName ( unsigned int  i) const [inline]
const Layer* osgTerrain::CompositeLayer::getLayer ( unsigned int  i) const [inline]
Layer* osgTerrain::CompositeLayer::getLayer ( unsigned int  i) [inline]
unsigned int osgTerrain::CompositeLayer::getNumLayers ( ) const [inline]
const std::string& osgTerrain::CompositeLayer::getSetName ( ) const [inline]

Reimplemented from osgTerrain::Layer.

const std::string& osgTerrain::CompositeLayer::getSetName ( unsigned int  i) const [inline]
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]
void osgTerrain::CompositeLayer::setLayer ( unsigned int  i,
Layer layer 
) [inline]
void osgTerrain::CompositeLayer::setSetName ( unsigned int  i,
const std::string &  setname 
) [inline]
void osgTerrain::CompositeLayer::setSetName ( const std::string &  setname) [inline]

Reimplemented from osgTerrain::Layer.


Member Data Documentation


The documentation for this class was generated from the following file:

osg logo
Generated at Tue Mar 22 2011 13:20:29 for the OpenSceneGraph by doxygen 1.7.3.