HDK
|
#include <ArrayPropertyWriter.h>
Public Member Functions | |
virtual | ~ArrayPropertyWriter () |
virtual void | setSample (const ArraySample &iSamp)=0 |
virtual void | setFromPreviousSample ()=0 |
virtual size_t | getNumSamples ()=0 |
virtual void | setTimeSamplingIndex (uint32_t iIndex)=0 |
Public Member Functions inherited from Alembic::AbcCoreAbstract::ALEMBIC_VERSION_NS::BasePropertyWriter | |
virtual | ~BasePropertyWriter () |
virtual const PropertyHeader & | getHeader () const =0 |
const std::string & | getName () const |
PropertyType | getPropertyType () const |
bool | isScalar () const |
bool | isArray () const |
bool | isCompound () const |
bool | isSimple () const |
const MetaData & | getMetaData () const |
const DataType & | getDataType () const |
TimeSamplingPtr | getTimeSampling () const |
virtual ObjectWriterPtr | getObject ()=0 |
virtual CompoundPropertyWriterPtr | getParent ()=0 |
virtual ScalarPropertyWriterPtr | asScalarPtr () |
virtual ArrayPropertyWriterPtr | asArrayPtr () |
virtual CompoundPropertyWriterPtr | asCompoundPtr () |
An Array Property is a Rank N (usually 1-3) property which has a multidimensional array of identically typed values for each sample. This is distinguished from a Simple Property, which has a single element per sample, and requires less sophisticated resource management.
Definition at line 55 of file ArrayPropertyWriter.h.
|
virtual |
Virtual destructor ...
|
pure virtual |
Return the number of samples that have been written so far. This changes as samples are written.
|
pure virtual |
Set the next sample to equal the previous sample. An important feature!
|
pure virtual |
Sets a sample
This takes a read-only ArraySample by const reference. The class will make an internal copy (or the functional equivalent of ), and will not use that memory block outside the scope of this function call.
Arrays of std::string and std::wstring are assumed to be treated just like regular data elements.
|
pure virtual |
Changes the TimeSampling used by this property. If the TimeSampling is changed to Acyclic and the number of samples currently set is more than the number of times provided in the Acyclic TimeSampling, an exception will be thrown.