OpenSceneGraph
3.0.1
|
Public Member Functions | |
SwitchProperty () | |
SwitchProperty (const SwitchProperty &switchProperty, const osg::CopyOp ©op=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 |
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] |
virtual void osgVolume::SwitchProperty::accept | ( | PropertyVisitor & | pv | ) | [inline, virtual] |
Reimplemented from osgVolume::CompositeProperty.
References osgVolume::PropertyVisitor::apply().
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.
int osgVolume::SwitchProperty::_activeProperty [protected] |
![]() | Generated at Mon Oct 3 2011 12:39:51 for the OpenSceneGraph by doxygen 1.7.5. |