Esempio n. 1
0
 void InfoVisitor::apply(osg::Node& node)
 {
     std::cout << spaces() << node.libraryName() << "::" << node.className() << std::endl;
     ++_level;
     traverse(node);
     --_level;
 }
Esempio n. 2
0
	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--;
	}
Esempio n. 3
0
    virtual void apply(osg::Node& node)
    {
        std::cout
            << spaces()
            << node.libraryName()
            << "::"
            << node.className()
            << std::endl;

        level_++;
        traverse(node);
        level_--;
    }