14 #include <osg/NodeVisitor>
33 : NodeVisitor(NodeVisitor::TRAVERSE_ALL_CHILDREN),
current_level(0),
61 setNodeMaskOverride(0xffffffff);
71 virtual void apply(osg::Node &_node)
84 if((_node.getName().size() > 0) &&
85 ((_node.getName() ==
"Gizmo") || (_node.getName() ==
"UnitGrid") ||
86 (_node.getName() ==
"Hud") ||
87 (_node.getName().compare(0, 7,
"Dragger") == 0)))
94 result.
name = _node.getName();
95 result.
type = Helpers::DataType::GROUP;
106 virtual void apply(osg::Geode &_geode)
119 result.
node = &_geode;
120 result.
name = _geode.getName();
121 result.
type = Helpers::DataType::MODEL;