OpenSceneGraph 2.8.3

osgTerrain::SwitchLayer Class Reference

Inheritance diagram for osgTerrain::SwitchLayer:

List of all members.

Public Member Functions

 SwitchLayer ()
 SwitchLayer (const SwitchLayer &switchLayer, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
 Copy constructor using CopyOp to manage deep vs shallow copy.
 META_Object (osgTerrain, SwitchLayer)
void setActiveLayer (int i)
int getActiveLayer () const
virtual osg::ImagegetImage ()
 Return image associated with layer if supported.
virtual const osg::ImagegetImage () const
 Return const image associated with layer if supported.

Protected Member Functions

virtual ~SwitchLayer ()

Protected Attributes

int _activeLayer

Constructor & Destructor Documentation

osgTerrain::SwitchLayer::SwitchLayer ( )
osgTerrain::SwitchLayer::SwitchLayer ( const SwitchLayer switchLayer,
const osg::CopyOp copyop = osg::CopyOp::SHALLOW_COPY 
)

Copy constructor using CopyOp to manage deep vs shallow copy.

virtual osgTerrain::SwitchLayer::~SwitchLayer ( ) [inline, protected, virtual]

Member Function Documentation

int osgTerrain::SwitchLayer::getActiveLayer ( ) const [inline]
virtual const osg::Image* osgTerrain::SwitchLayer::getImage ( ) const [inline, virtual]

Return const image associated with layer if supported.

Reimplemented from osgTerrain::Layer.

virtual osg::Image* osgTerrain::SwitchLayer::getImage ( ) [inline, virtual]

Return image associated with layer if supported.

Reimplemented from osgTerrain::Layer.

osgTerrain::SwitchLayer::META_Object ( osgTerrain  ,
SwitchLayer   
)
void osgTerrain::SwitchLayer::setActiveLayer ( int  i) [inline]

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.