Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ImageEngine/cortex
/ insertGrid
Method
insertGrid
src/IECoreVDB/VDBObject.cpp:179–183 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
177
}
178
179
void VDBObject::insertGrid( openvdb::GridBase::Ptr grid )
180
{
181
m_unmodifiedFromFile = false;
182
m_grids[grid->getName()] = HashedGrid( grid, nullptr );
183
}
184
185
void VDBObject::removeGrid( const std::string &name )
186
{
Callers
4
testCanReadDoubleMetadata
Method · 0.95
testCanAddGridFromOneObjectToAnother
Method · 0.95
testModifyingGridModifiesHash
Method · 0.95
insertGrid
Function · 0.80
Calls
1
HashedGrid
Class · 0.85
Tested by
3
testCanReadDoubleMetadata
Method · 0.76
testCanAddGridFromOneObjectToAnother
Method · 0.76
testModifyingGridModifiesHash
Method · 0.76