void InfoVisitor::apply(osg::Node& node) { std::cout << spaces() << node.libraryName() << "::" << node.className() << std::endl; ++_level; traverse(node); --_level; }
virtual void apply(osg::Node& node) { for(int i=0;i<_indent;++i) std::cout<<" "; std::cout<<"["<<_indent+1<<"]"<<node.libraryName() <<"::"<<node.className()<<std::endl; _indent++; traverse(node); _indent--; }
virtual void apply(osg::Node& node) { std::cout << spaces() << node.libraryName() << "::" << node.className() << std::endl; level_++; traverse(node); level_--; }