OpenSceneGraph  3.0.1
Classes | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
osgTerrain::CompositeLayer Class Reference
Inheritance diagram for osgTerrain::CompositeLayer:
Inheritance graph
[legend]

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 (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)
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 ( const std::string &  setname,
const std::string &  filename 
)
void osgTerrain::CompositeLayer::addLayer ( Layer layer) [inline]
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'.


Member Data Documentation


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

osg logo
Generated at Mon Oct 3 2011 12:39:49 for the OpenSceneGraph by doxygen 1.7.5.