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

Method load

src/IECoreScene/NURBSPrimitive.cpp:284–300  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

282}
283
284void NURBSPrimitive::load( IECore::Object::LoadContextPtr context )
285{
286 Primitive::load(context);
287 unsigned int v = m_ioVersion;
288
289 ConstIndexedIOPtr container = context->container( staticTypeName(), v );
290
291 container->read( g_uOrderEntry, m_uOrder );
292 m_uKnot = context->load<FloatVectorData>( container.get(), g_uKnotEntry );
293 container->read( g_uMinEntry, m_uMin );
294 container->read( g_uMaxEntry, m_uMax );
295
296 container->read( g_vOrderEntry, m_vOrder );
297 m_vKnot = context->load<FloatVectorData>( container.get(), g_vKnotEntry );
298 container->read( g_vMinEntry, m_vMin );
299 container->read( g_vMaxEntry, m_vMax );
300}
301
302bool NURBSPrimitive::isEqualTo( const Object *other ) const
303{

Callers

nothing calls this directly

Calls 3

containerMethod · 0.80
readMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected