27 #include "WGEManagedGroupNode.h"
28 #include "callbacks/WGENodeMaskCallback.h"
33 setDataVariance( osg::Object::DYNAMIC );
38 addUpdateCallback( osg::ref_ptr< WGENodeMaskCallback >(
new WGENodeMaskCallback( active ) ) );
Class to wrap around the osg Group node and providing a thread safe add/removal mechanism.
virtual ~WGEManagedGroupNode()
Destructor.
WGEManagedGroupNode(std::shared_ptr< WBoolFlag > active)
Default constructor.
This callback is useful to en-/disable nodes using the node mask based on properties.