|
Alembic 1.8.11
|
Public Member Functions | |
| virtual void | setSample (const void *iSamp) |
| virtual void | setFromPreviousSample () |
| virtual size_t | getNumSamples () |
| virtual void | setTimeSamplingIndex (Util::uint32_t iIndex) |
| virtual const AbcA::PropertyHeader & | getHeader () const |
| virtual AbcA::ObjectWriterPtr | getObject () |
| virtual AbcA::CompoundPropertyWriterPtr | getParent () |
| Public Member Functions inherited from Alembic::AbcCoreAbstract::ALEMBIC_VERSION_NS::ScalarPropertyWriter | |
| virtual | ~ScalarPropertyWriter () |
| virtual void | setTimeSamplingIndex (uint32_t iIndex)=0 |
| Public Member Functions inherited from Alembic::AbcCoreAbstract::ALEMBIC_VERSION_NS::BasePropertyWriter | |
| virtual | ~BasePropertyWriter () |
| 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 ArrayPropertyWriterPtr | asArrayPtr () |
| virtual CompoundPropertyWriterPtr | asCompoundPtr () |
Protected Member Functions | |
| SpwImpl (AbcA::CompoundPropertyWriterPtr iParent, Ogawa::OGroupPtr iGroup, PropertyHeaderPtr iHeader, size_t iIndex) | |
| AbcA::ScalarPropertyWriterPtr | asScalarPtr () |
Protected Attributes | |
| WrittenSampleIDPtr | m_previousWrittenSampleID |
Friends | |
| class | CpwData |
|
protectedvirtual |
Up-cast this base property to a ScalarProperty, if such an upcast is valid. This can be checked with the isScalar() function. If the upcast is not valid, an empty pointer will be returned. This default implementation returns an empty pointer.
Reimplemented from Alembic::AbcCoreAbstract::ALEMBIC_VERSION_NS::BasePropertyWriter.
|
virtual |
Properties are created with a collection of metadata that is stored in a lightweight structure called PropertyHeader. This returns a constant reference to the PropertyHeader which was given upon creation.
Implements Alembic::AbcCoreAbstract::ALEMBIC_VERSION_NS::BasePropertyWriter.
|
virtual |
Return the number of samples that have been written so far. This changes as samples are written.
Implements Alembic::AbcCoreAbstract::ALEMBIC_VERSION_NS::ScalarPropertyWriter.
|
virtual |
All properties have an object that owns them, and in order to ensure the object stays alive as long as the properties do, they retain a shared pointer to their object.
Implements Alembic::AbcCoreAbstract::ALEMBIC_VERSION_NS::BasePropertyWriter.
|
virtual |
Most properties live in a compound property. (Except for the top-compound property in any object) This returns a pointer to the parent compound property.
Implements Alembic::AbcCoreAbstract::ALEMBIC_VERSION_NS::BasePropertyWriter.
|
virtual |
Simply copies the previously written sample's value. This is an important feature.
Implements Alembic::AbcCoreAbstract::ALEMBIC_VERSION_NS::ScalarPropertyWriter.
|
virtual |
Sets a sample.
For specifying the sample, this takes a void pointer which points to the beginning of the memory corresponding to the scalar.
For String and Wstring, the const void *iSamp is assumed to be static_castable to const std::string * and const std::wstring *, respectively.
The data passed into this function will be used or copied locally by this function, and need not live (in the calling context) outside the return scope of this function call.
Implements Alembic::AbcCoreAbstract::ALEMBIC_VERSION_NS::ScalarPropertyWriter.