| 144 | } |
| 145 | |
| 146 | void 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 | |
| 158 | bool DiskPrimitive::isEqualTo( const Object *other ) const |
| 159 | { |