void ComputeCylinderVisitor::apply( osg::Geode & geode ) { for( unsigned int i = 0; i < geode.getNumDrawables(); ++i ) { applyDrawable( geode.getDrawable( i ) ); } }
void CollectVerticesVisitor::apply( osg::Geode& geode ) { unsigned int idx; for( idx = 0; idx < geode.getNumDrawables(); idx++ ) applyDrawable( geode.getDrawable( idx ) ); }
void ComputeTriMeshVisitor::apply( osg::Geode & geode ) { unsigned int idx; for( idx = 0; idx < geode.getNumDrawables(); idx++ ) applyDrawable( geode.getDrawable( idx ) ); }
void VertexCollectionVisitor::apply(osg::Geode& geode) { for(unsigned int i=0; i<geode.getNumDrawables(); ++i) applyDrawable(geode.getDrawable(i)); }