File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 1010---
1111
1212- SConstruct : Install "private" headers.
13+ - VDBObject : Marked metadata() as deprecated
1314
141510.5.15.1 (relative to 10.5.15.0)
1516=========
Original file line number Diff line number Diff line change @@ -88,6 +88,12 @@ class IECOREVDB_API VDBObject : public IECoreScene::VisibleRenderable
8888 Imath::Box3f bound () const override ;
8989 void render ( IECoreScene::Renderer *renderer ) const override ;
9090
91+ // \deprecated
92+ // Not threadsafe ( it computes statistics if not present and stores them on the grids ).
93+ // Instead, use the VDB api, for example:
94+ // findGrid( name )->beginMeta() to iterate the metadata,
95+ // or
96+ // findGrid( name )->evalActiveVoxelBoundingBox() or activeVoxelCount() to compute statistics
9197 IECore::CompoundObjectPtr metadata ( const std::string &name );
9298
9399 // ! Are the grids in this VDBObject unmodified from the vdb file in filename?
You can’t perform that action at this time.
0 commit comments