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

Method linkAttributeData

src/IECoreScene/LinkedScene.cpp:173–183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171}
172
173IECore::CompoundDataPtr LinkedScene::linkAttributeData( const SceneInterface *scene )
174{
175 boost::filesystem::path nativePath( scene->fileName() );
176
177 InternedStringVectorDataPtr r = new InternedStringVectorData();
178 scene->path( r->writable() );
179 CompoundDataPtr d = new CompoundData();
180 d->writable()[g_fileName] = new StringData( nativePath.generic_string() );
181 d->writable()[g_root] = r;
182 return d;
183}
184
185IECore::CompoundDataPtr LinkedScene::linkAttributeData( const SceneInterface *scene, double time )
186{

Callers 7

testLinksTimeOffsetMethod · 0.80
testLinkAttributeMethod · 0.80
testTimeRemappingMethod · 0.80

Calls 3

fileNameMethod · 0.45
pathMethod · 0.45
writableMethod · 0.45

Tested by 7

testLinksTimeOffsetMethod · 0.64
testLinkAttributeMethod · 0.64
testTimeRemappingMethod · 0.64