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

Method expandedData

src/IECoreScene/PrimitiveVariable.cpp:165–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163} // namespace
164
165DataPtr PrimitiveVariable::expandedData() const
166{
167 if( !indices )
168 {
169 return data->copy();
170 }
171
172 return dispatch( data.get(), Expander( indices->readable() ) );
173}

Callers 15

testPerformanceMethod · 0.95
testExpandedDataMethod · 0.95
expandAllPrimvarsMethod · 0.80
referenceSplitMethod · 0.80
operator()Method · 0.80
operator()Method · 0.80

Calls 4

ExpanderClass · 0.85
readableMethod · 0.80
copyMethod · 0.45
getMethod · 0.45

Tested by 8

testPerformanceMethod · 0.76
testExpandedDataMethod · 0.76
expandAllPrimvarsMethod · 0.64
referenceSplitMethod · 0.64