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

Function readTransform

src/IECoreScene/bindings/SceneInterfaceBinding.cpp:163–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161}
162
163DataPtr readTransform( SceneInterface &m, double time, bool copy )
164{
165 ConstDataPtr t = m.readTransform( time );
166 if( t )
167 {
168 return copy ? t->copy() : boost::const_pointer_cast<Data>( t );
169 }
170 return nullptr;
171}
172
173ObjectPtr readAttribute( SceneInterface &m, const SceneInterface::Name &name, double time, bool copy )
174{

Callers 1

readTransformAsMatrixMethod · 0.85

Calls 2

readTransformMethod · 0.45
copyMethod · 0.45

Tested by

no test coverage detected