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

List of all members.

Public Member Functions

 SwitchProperty ()
 SwitchProperty (const SwitchProperty &switchProperty, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
 Copy constructor using CopyOp to manage deep vs shallow copy.
 META_Object (osgVolume, SwitchProperty)
virtual void accept (PropertyVisitor &pv)
void setActiveProperty (int i)
 Set which child property is active.
int getActiveProperty () const
 Get the active property.

Protected Member Functions

virtual ~SwitchProperty ()

Protected Attributes

int _activeProperty

Constructor & Destructor Documentation

Copy constructor using CopyOp to manage deep vs shallow copy.

virtual osgVolume::SwitchProperty::~SwitchProperty ( ) [inline, protected, virtual]

Member Function Documentation

virtual void osgVolume::SwitchProperty::accept ( PropertyVisitor pv) [inline, virtual]

Get the active property.

Set which child property is active.

-1 disables all children.


Member Data Documentation


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

osg logo
Generated at Fri Apr 27 2012 20:41:35 for the OpenSceneGraph by doxygen 1.8.0.