OpenWalnut
1.5.0dev
|
Update callback which inserts and removes nodes from m_childRemovalQueue and m_childInsertionQueue to the group node. More...
#include <WGEGroupNode.h>
Public Member Functions | |
virtual void | operator() (osg::Node *node, osg::NodeVisitor *nv) |
Callback method called by the NodeVisitor when visiting a node. More... | |
Update callback which inserts and removes nodes from m_childRemovalQueue and m_childInsertionQueue to the group node.
This ensures thread safe modification of the osg root node.
Definition at line 101 of file WGEGroupNode.h.
|
virtual |
Callback method called by the NodeVisitor when visiting a node.
This inserts and removes enqueued nodes from this group node instance.
node | the node calling this update |
nv | The node visitor which performs the traversal. Should be an update visitor. |
Definition at line 88 of file WGEGroupNode.cpp.
References WGEGroupNode::CLEAR, WGEGroupNode::m_childOperationQueue, WGEGroupNode::m_childOperationQueueDirty, WGEGroupNode::m_childOperationQueueLock, WGEGroupNode::m_removeAll, WGEGroupNode::REMOVE, and WGEGroupNode::REMOVE_IF.