| 49 | { |
| 50 | |
| 51 | static list select( Scene &s, Selector::Mode mode, const Imath::Box2f &b ) |
| 52 | { |
| 53 | std::vector<HitRecord> hits; |
| 54 | s.select( mode, b, hits ); |
| 55 | list result; |
| 56 | for( std::vector<HitRecord>::const_iterator it=hits.begin(); it!=hits.end(); it++ ) |
| 57 | { |
| 58 | result.append( *it ); |
| 59 | } |
| 60 | return result; |
| 61 | } |
| 62 | |
| 63 | void bindScene() |
| 64 | { |