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

osgVolume::SwitchProperty::SwitchProperty ( )
osgVolume::SwitchProperty::SwitchProperty ( const SwitchProperty switchProperty,
const osg::CopyOp copyop = osg::CopyOp::SHALLOW_COPY 
)

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]
int osgVolume::SwitchProperty::getActiveProperty ( ) const [inline]

Get the active property.

osgVolume::SwitchProperty::META_Object ( osgVolume  ,
SwitchProperty   
)
void osgVolume::SwitchProperty::setActiveProperty ( int  i) [inline]

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 Mon Oct 3 2011 12:39:51 for the OpenSceneGraph by doxygen 1.7.5.