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

Method motionBegin

src/IECoreScene/TransformStack.cpp:86–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86void TransformStack::motionBegin( const std::vector<float> &times )
87{
88 // resample the current stack top at the specified times
89 Samples newSamples;
90 for( std::vector<float>::const_iterator it = times.begin(), eIt = times.end(); it != eIt; ++it )
91 {
92 newSamples.push_back( Sample( *it, get( *it ) ) );
93 }
94 m_stack.top() = newSamples;
95
96 m_motionIndex = 0;
97}
98
99void TransformStack::motionEnd()
100{

Callers

nothing calls this directly

Calls 4

SampleClass · 0.85
getFunction · 0.50
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected