MCPcopy Create free account
hub / github.com/ImageEngine/cortex / select

Function select

src/IECoreGL/bindings/SceneBinding.cpp:51–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49{
50
51static 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
63void bindScene()
64{

Callers

nothing calls this directly

Calls 4

selectMethod · 0.80
appendMethod · 0.80
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected