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

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

Copy constructor using CopyOp to manage deep vs shallow copy.

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

Member Function Documentation

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

Return image associated with layer if supported.

Reimplemented from osgTerrain::Layer.

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

Return const image associated with layer if supported.

Reimplemented from osgTerrain::Layer.

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 Fri Apr 27 2012 20:51:43 for the OpenSceneGraph by doxygen 1.8.0.