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

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

osgVolume::SwitchProperty::META_Object ( osgVolume  ,
SwitchProperty   
)

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

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

Set which child property is active. -1 disables all children.

int osgVolume::SwitchProperty::getActiveProperty (  )  const [inline]

Get the active property.


Member Data Documentation


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

Generated on Sat Mar 20 12:34:08 2010 for openscenegraph by  doxygen 1.5.6