osgTerrain::CompositeLayer Class Reference

Inheritance diagram for osgTerrain::CompositeLayer:

Inheritance graph
[legend]

List of all members.

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 setFileName (unsigned int i, const std::string &filename)
const std::string & getFileName (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 &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


Member Typedef Documentation

typedef std::pair< std::string, osg::ref_ptr<Layer> > osgTerrain::CompositeLayer::FileNameLayerPair [protected]

typedef std::vector< FileNameLayerPair > 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

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]


Member Data Documentation

Layers osgTerrain::CompositeLayer::_layers [protected]


The documentation for this class was generated from the following file:
Generated at Sun Oct 14 02:12:48 2007 for the OpenSceneGraph by doxygen 1.5.3.