|
Alembic 1.8.11
|
#include <ArchiveWriter.h>


Public Member Functions | |
| virtual | ~ArchiveWriter () |
| virtual const std::string & | getName () const =0 |
| virtual const MetaData & | getMetaData () const =0 |
| virtual ObjectWriterPtr | getTop ()=0 |
| int8_t | getCompressionHint () const |
| void | setCompressionHint (int8_t iCh) |
| virtual ArchiveWriterPtr | asArchivePtr ()=0 |
| virtual uint32_t | addTimeSampling (const TimeSampling &iTs)=0 |
| virtual TimeSamplingPtr | getTimeSampling (uint32_t iIndex)=0 |
| virtual uint32_t | getNumTimeSamplings ()=0 |
| virtual index_t | getMaxNumSamplesForTimeSamplingIndex (uint32_t iIndex)=0 |
| virtual void | setMaxNumSamplesForTimeSamplingIndex (uint32_t iIndex, index_t iMaxIndex)=0 |
The Archive is "the file". It has a single object, it's top object. It has no properties, but does have metadata.
|
virtual |
Virtual destructor ...
|
pure virtual |
Adds the TimeSampling to the Archive TimeSampling pool. If the TimeSampling already exists in the pool, the index for the match should be returned. index 0 is automatically reserved for uniform time sampling with a start time of 0 and time per cycle of 1 (aka identity sampling)
|
pure virtual |
Return self May sometimes be spoofed.
Implemented in Alembic::AbcCoreHDF5::ALEMBIC_VERSION_NS::AwImpl, and Alembic::AbcCoreOgawa::ALEMBIC_VERSION_NS::AwImpl.
|
inline |
Get the compression applied to array properties. Implementations are free to disregard this.
|
pure virtual |
Returns the maximum number of samples written for the TimeSampling at the given index. If an illegal iIndex is specified, INDEX_UNKNOWN will be returned.
Implemented in Alembic::AbcCoreHDF5::ALEMBIC_VERSION_NS::AwImpl.
|
pure virtual |
The meta data of the archive is the same as the meta data of the top-level object writer.
Implemented in Alembic::AbcCoreHDF5::ALEMBIC_VERSION_NS::AwImpl, and Alembic::AbcCoreOgawa::ALEMBIC_VERSION_NS::AwImpl.
|
pure virtual |
Return the archive (file) name. This is the name of the file which the archive writer is associated with.
Implemented in Alembic::AbcCoreHDF5::ALEMBIC_VERSION_NS::AwImpl, and Alembic::AbcCoreOgawa::ALEMBIC_VERSION_NS::AwImpl.
|
pure virtual |
Returns the total number of TimeSamplingPtrs in the Archive TimeSampling pool.
Implemented in Alembic::AbcCoreHDF5::ALEMBIC_VERSION_NS::AwImpl, and Alembic::AbcCoreOgawa::ALEMBIC_VERSION_NS::AwImpl.
|
pure virtual |
Returns the TimeSampling at a given index. index 0 is automatically reserved for uniform time sampling with a start time of 0 and time per cycle of 1 (aka identity sampling)
Implemented in Alembic::AbcCoreHDF5::ALEMBIC_VERSION_NS::AwImpl.
|
pure virtual |
Get the top object writer. Archives always have this single top-level object created automatically.
Implemented in Alembic::AbcCoreHDF5::ALEMBIC_VERSION_NS::AwImpl, and Alembic::AbcCoreOgawa::ALEMBIC_VERSION_NS::AwImpl.
|
inline |
Set the compression applied to array properties. Implementations are free to disregard this. -1 means off, 0 means "litte", where 9 means "alot"
|
pure virtual |
Sets the maximum number of samples written for the TimeSampling at the given index. You normally don't need to call this as the properties will call it at the appropriate time.