NodeIterator::NodeIterator(NodeBase &start, const char *name) { _stack.push_back(start.getNode()); _type = OSG::FieldContainerFactory::the()->findType(name); }
void traverseSeq(OSG::GraphOpSeq& g, NodeBase& b) { OSG::NodePtr p = b.getNode(); g.run(p); }
void traverse(OSG::GraphOp& g, NodeBase& b) { OSG::NodePtr p = b.getNode(); g.traverse(p); }
void subRef(NodeBase &node) { OSG::subRef(node.getNode()); }
void addRef(NodeBase &node) { OSG::addRef(node.getNode()); }
NodeBase makeShared(NodeBase &node) { return NodeBase(node.getNode()->getCore()); }
void Group::subChild(NodeBase &child) { // OSG::beginEditCP(_node); _node->subChild(child.getNode()); // OSG::endEditCP(_node); }