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

Method load

src/IECoreScene/DiskPrimitive.cpp:146–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144}
145
146void DiskPrimitive::load( IECore::Object::LoadContextPtr context )
147{
148 Primitive::load(context);
149 unsigned int v = m_ioVersion;
150
151 ConstIndexedIOPtr container = context->container( staticTypeName(), v );
152
153 container->read( g_radiusEntry, m_radius );
154 container->read( g_zEntry, m_z );
155 container->read( g_thetaMaxEntry, m_thetaMax );
156}
157
158bool DiskPrimitive::isEqualTo( const Object *other ) const
159{

Callers

nothing calls this directly

Calls 2

containerMethod · 0.80
readMethod · 0.45

Tested by

no test coverage detected