29 #ifndef EQ_PLY_MODELASSIGNER_H
30 #define EQ_PLY_MODELASSIGNER_H
39 : _models( models ), _current( models.begin( )) {}
41 virtual eq::VisitorResult visit(
eq::View* view )
44 static_cast< View*
>( view )->setModelID( model->getID( ));
47 if( _current == _models.end( ))
48 _current = _models.begin();
50 return eq::TRAVERSE_CONTINUE;
54 const ModelDists& _models;
55 ModelDists::const_iterator _current;
59 #endif // EQ_PLY_MODELASSIGNER_H
A View is a 2D area of a Layout.
A visitor to traverse configs and all children.
co::Object to distribute a model, holds a VertexBufferBase node.
Helper to assign models to views.