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

Method removeGrid

src/IECoreVDB/VDBObject.cpp:185–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183}
184
185void VDBObject::removeGrid( const std::string &name )
186{
187 auto it = m_grids.find( name );
188
189 if ( it != m_grids.end() )
190 {
191 m_unmodifiedFromFile = false;
192 m_grids.erase( it );
193 }
194}
195
196Imath::Box3f VDBObject::bound() const
197{

Callers 2

testCanRemoveGridMethod · 0.95

Calls 3

findMethod · 0.45
endMethod · 0.45
eraseMethod · 0.45

Tested by 2

testCanRemoveGridMethod · 0.76