|
Alembic 1.8.11
|
Public Types | |
| enum | CoreType { kHDF5 , kOgawa , kLayer , kUnknown } |
| The type which yielded a valid IArchive (or kUnknown if invalid). | |
| enum | OgawaReadStrategy { kFileStreams , kMemoryMappedFiles } |
Public Member Functions | |
| Alembic::Abc::IArchive | getArchive (const std::string &iFileName, CoreType &oType) |
| Alembic::Abc::IArchive | getArchive (const std::string &iFileName) |
| Alembic::Abc::IArchive | getArchive (const std::vector< std::string > &iFileNames) |
| Alembic::Abc::IArchive | getArchive (const std::vector< std::string > &iFileNames, CoreType &oType) |
| Alembic::Abc::IArchive | getArchive (const std::vector< std::istream * > &iStreams, CoreType &oType) |
| void | setHDF5CacheHierarchy (bool iCacheHierarchy) |
| bool | getHDF5CacheHierarchy () const |
| Gets whether an HDF5 file will use the cached hierarchy. | |
| void | setSampleCache (Alembic::AbcCoreAbstract::ReadArraySampleCachePtr iCachePtr) |
| Set the array sample cache, the HDF5 implementation optionally uses this. | |
| Alembic::AbcCoreAbstract::ReadArraySampleCachePtr | getSampleCache () const |
| Get the array sample cache. | |
| size_t | getOgawaNumStreams () const |
| void | setOgawaNumStreams (size_t iNumStreams) |
| OgawaReadStrategy | getOgawaReadStrategy () |
| Get the I/O strategy used for reading Ogawa files. | |
| void | setOgawaReadStrategy (OgawaReadStrategy iStrategy) |
| Alembic::Abc::ErrorHandler::Policy | getPolicy () |
| Gets the error handler policy. | |
| void | setPolicy (Alembic::Abc::ErrorHandler::Policy iPolicy) |
| Sets the error handler policy, the default is kThrowPolicy. | |
| Alembic::Abc::IArchive Alembic::AbcCoreFactory::ALEMBIC_VERSION_NS::IFactory::getArchive | ( | const std::string & | iFileName | ) |
Try to open a file and return IArchive. If the file wasn't a valid file or known type and invalid archive is returned.
| Alembic::Abc::IArchive Alembic::AbcCoreFactory::ALEMBIC_VERSION_NS::IFactory::getArchive | ( | const std::string & | iFileName, |
| CoreType & | oType ) |
Try to open a file and set oType to the one that yields a successful oType, or kUnknown if the IArchive isn't valid
| Alembic::Abc::IArchive Alembic::AbcCoreFactory::ALEMBIC_VERSION_NS::IFactory::getArchive | ( | const std::vector< std::istream * > & | iStreams, |
| CoreType & | oType ) |
Use the streams (Alembic does not take ownership) to read the data from This is currently only valid for Ogawa. The streams must all reference the same data.
| Alembic::Abc::IArchive Alembic::AbcCoreFactory::ALEMBIC_VERSION_NS::IFactory::getArchive | ( | const std::vector< std::string > & | iFileNames | ) |
Open a series of alembic files, layering each file on top of the next to present a single IArchive
| Alembic::Abc::IArchive Alembic::AbcCoreFactory::ALEMBIC_VERSION_NS::IFactory::getArchive | ( | const std::vector< std::string > & | iFileNames, |
| CoreType & | oType ) |
Try to open and layer a series of files file and return IArchive. If all of the files are invalid, an invalid archive is returned. If only some of the archives are invalid, only the good ones are opened and layered, while invalid ones are ignored.
|
inline |
Gets the number of streams that will be opened when opening an Ogawa file
|
inline |
If opening an HDF5 file, sets whether to use the cached hierarchy if it exists, the default value is true
|
inline |
Sets the number of streams that will be opened when opening an Ogawa file, the default is 1
|
inline |
Sets the I/O strategy used for reading Ogawa files. The default is kMemoryMappedFiles.