Exemple #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";
}
Exemple #2
0
void WriteNodeVisitor::apply(osg::Group& group)
{
	_out << "<group>\n";
	
	// visiting children
	group.traverse(*this);

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