Interface for an ArAsset subclass that enables direct access to OpenVDB grids.
More...
|
| virtual openvdb::GridBase::Ptr | GetGrid (const std::string &name) const =0 |
| | Return a shared pointer to an OpenVDB grid with name, or nullptr if no grid matching name exists. More...
|
| |
| virtual openvdb::GridPtrVecPtr | GetGrids () const =0 |
| | Return a shared pointer to a vector of OpenVDB grids. More...
|
| |
|
| ArAsset (const ArAsset &)=delete |
| |
|
ArAsset & | operator= (const ArAsset &)=delete |
| |
| virtual AR_API size_t | GetSize () const =0 |
| | Returns size of the asset. More...
|
| |
| virtual AR_API std::shared_ptr< const char > | GetBuffer () const =0 |
| | Returns a pointer to a buffer with the contents of the asset, with size given by GetSize(). More...
|
| |
| virtual AR_API size_t | Read (void *buffer, size_t count, size_t offset) const =0 |
| | Read count bytes at offset from the beginning of the asset into buffer. More...
|
| |
| virtual AR_API std::pair< FILE *, size_t > | GetFileUnsafe () const =0 |
| | Returns a read-only FILE* handle and offset for this asset if available, or (nullptr, 0) otherwise. More...
|
| |
| virtual AR_API std::shared_ptr< ArAsset > | GetDetachedAsset () const |
| | Returns an ArAsset with the contents of this asset detached from from this asset's serialized data. More...
|
| |
Interface for an ArAsset subclass that enables direct access to OpenVDB grids.
Definition at line 42 of file vdbAssetInterface.h.
◆ GetGrid()
| virtual openvdb::GridBase::Ptr GetGrid |
( |
const std::string & |
name | ) |
const |
|
pure virtual |
Return a shared pointer to an OpenVDB grid with name, or nullptr if no grid matching name exists.
◆ GetGrids()
| virtual openvdb::GridPtrVecPtr GetGrids |
( |
| ) |
const |
|
pure virtual |
Return a shared pointer to a vector of OpenVDB grids.
The documentation for this class was generated from the following file: