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

Method bound

src/IECoreVDB/VDBObject.cpp:196–208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

194}
195
196Imath::Box3f VDBObject::bound() const
197{
198 Imath::Box3f combinedBounds;
199
200 for( const auto &it : m_grids )
201 {
202 Imath::Box3f gridBounds = worldBound<float>( it.second.metadata().get() );
203
204 combinedBounds.extendBy( gridBounds );
205 }
206
207 return combinedBounds;
208}
209
210IECore::CompoundObjectPtr VDBObject::metadata( const std::string &name )
211{

Callers 1

readBoundMethod · 0.45

Calls 2

getMethod · 0.45
metadataMethod · 0.45

Tested by

no test coverage detected