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

Method findGrid

src/IECoreVDB/VDBObject.cpp:144–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142}
143
144openvdb::GridBase::ConstPtr VDBObject::findGrid( const std::string &name ) const
145{
146 auto it = m_grids.find(name);
147 if ( it != m_grids.end() )
148 {
149 return it->second.grid();
150 }
151
152 return openvdb::GridBase::Ptr();
153}
154
155openvdb::GridBase::Ptr VDBObject::findGrid( const std::string &name )
156{

Callers 10

writeVolumeFunction · 0.80
testEqualityMethod · 0.80
findGridFunction · 0.80

Calls 4

gridMethod · 0.80
markedAsEditedMethod · 0.80
findMethod · 0.45
endMethod · 0.45