示例#1
0
void POVWriteNodeVisitor::apply(osg::Group& group)
{
    _out << "/* A group starts... */\n\n";

    // visiting children
    group.traverse(*this);

    _out << "/* A group ends... */\n\n";
}
示例#2
0
void WriteNodeVisitor::apply(osg::Group& group)
{
	_out << "<group>\n";
	
	// visiting children
	group.traverse(*this);

	_out << "</group>\n";
}
示例#3
0
 void                                apply( osg::Group& grp )
                                     {
                                         grp.traverse( *this );
                                     }