|
Public Types |
typedef std::vector< bool > | ValueList |
typedef std::vector< ValueList > | SwitchSetList |
Public Member Functions |
| MultiSwitch () |
| MultiSwitch (const MultiSwitch &, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) |
| META_Node (osgSim, MultiSwitch) |
virtual void | traverse (osg::NodeVisitor &nv) |
void | setNewChildDefaultValue (bool value) |
bool | getNewChildDefaultValue () const |
virtual bool | addChild (osg::Node *child) |
virtual bool | insertChild (unsigned int index, osg::Node *child) |
virtual bool | removeChild (osg::Node *child) |
void | setValue (unsigned int switchSet, unsigned int pos, bool value) |
bool | getValue (unsigned int switchSet, unsigned int pos) const |
void | setChildValue (const osg::Node *child, unsigned int switchSet, bool value) |
bool | getChildValue (const osg::Node *child, unsigned int switchSet) const |
bool | setAllChildrenOff (unsigned int switchSet) |
bool | setAllChildrenOn (unsigned int switchSet) |
bool | setSingleChildOn (unsigned int switchSet, unsigned int pos) |
void | setActiveSwitchSet (unsigned int switchSet) |
unsigned int | getActiveSwitchSet () const |
const SwitchSetList & | getSwitchSetList () const |
const ValueList & | getValueList (unsigned int switchSet) const |
Protected Member Functions |
virtual | ~MultiSwitch () |
void | expandToEncompassSwitchSet (unsigned int switchSet) |
Protected Attributes |
bool | _newChildDefaultValue |
unsigned int | _activeSwitchSet |
SwitchSetList | _values |