openscenegraph
Public Member Functions | Protected Member Functions | Protected Attributes
osgVolume::SwitchProperty Class Reference
Inheritance diagram for osgVolume::SwitchProperty:
osgVolume::CompositeProperty osgVolume::Property osg::Object osg::Referenced

List of all members.

Public Member Functions

 SwitchProperty ()
 SwitchProperty (const SwitchProperty &switchProperty, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
 META_Object (osgVolume, SwitchProperty)
virtual void accept (PropertyVisitor &pv)
void setActiveProperty (int i)
int getActiveProperty () const

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: