![]() |
OpenWalnut
1.5.0dev
|
A struct denoting an operation on this group. More...
#include <WGEGroupNode.h>
Collaboration diagram for WGEGroupNode::ChildOperation:Public Member Functions | |
| ChildOperation (ChildOperationType what, osg::ref_ptr< osg::Node > item) | |
| Constructs instance and fills members properly. More... | |
| ChildOperation (ChildOperationType what, std::shared_ptr< NodePredicate > predicate) | |
| Constructs instance and fills members properly. More... | |
Public Attributes | |
| ChildOperationType | m_operation |
| the operation to take More... | |
| osg::ref_ptr< osg::Node > | m_item |
| the item to delete/add More... | |
| std::shared_ptr< NodePredicate > | m_predicate |
| the predicate used by conditional operations More... | |
A struct denoting an operation on this group.
The operation itself, as well as the item and predicate are stored.
Definition at line 135 of file WGEGroupNode.h.
|
inline |
Constructs instance and fills members properly.
| what | the operation to make |
| item | the child to delete |
Definition at line 143 of file WGEGroupNode.h.
|
inline |
Constructs instance and fills members properly.
| what | the operation to make |
| predicate | the predicate to use for conditional operations (REMOVE_IF) |
Definition at line 156 of file WGEGroupNode.h.
| osg::ref_ptr< osg::Node > WGEGroupNode::ChildOperation::m_item |
the item to delete/add
Definition at line 164 of file WGEGroupNode.h.
| ChildOperationType WGEGroupNode::ChildOperation::m_operation |
the operation to take
Definition at line 163 of file WGEGroupNode.h.
| std::shared_ptr< NodePredicate > WGEGroupNode::ChildOperation::m_predicate |
the predicate used by conditional operations
Definition at line 165 of file WGEGroupNode.h.