HDK
|
#include <OArrayProperty.h>
Public Types | |
typedef OArrayProperty | this_type |
Public Types inherited from Alembic::Abc::ALEMBIC_VERSION_NS::OBasePropertyT< AbcA::ArrayPropertyWriterPtr > | |
typedef OBasePropertyT < AbcA::ArrayPropertyWriterPtr > | this_type |
typedef OBasePropertyT < AbcA::ArrayPropertyWriterPtr > | operator_bool_base_type |
Additional Inherited Members | |
Protected Member Functions inherited from Alembic::Abc::ALEMBIC_VERSION_NS::OBasePropertyT< AbcA::ArrayPropertyWriterPtr > | |
OBasePropertyT () | |
OBasePropertyT (AbcA::ArrayPropertyWriterPtriPtr, ErrorHandler::Policy iPolicy) | |
Protected Member Functions inherited from Alembic::Abc::ALEMBIC_VERSION_NS::Base | |
Base () | |
Base (ErrorHandler::Policy iPolicy) | |
Base (const Base &iCopy) | |
Base & | operator= (const Base &iCopy) |
bool | valid () const |
void | reset () |
Protected Attributes inherited from Alembic::Abc::ALEMBIC_VERSION_NS::OBasePropertyT< AbcA::ArrayPropertyWriterPtr > | |
AbcA::ArrayPropertyWriterPtr | m_property |
Definition at line 51 of file OArrayProperty.h.
By convention we always define this_type in Abc classes Used by unspecified-bool-type conversion below
Definition at line 57 of file OArrayProperty.h.
|
inline |
The default constructor creates an empty OArrayProperty function set. ...
Definition at line 65 of file OArrayProperty.h.
Alembic::Abc::ALEMBIC_VERSION_NS::OArrayProperty::OArrayProperty | ( | OCompoundProperty | iParent, |
const std::string & | iName, | ||
const AbcA::DataType & | iDataType, | ||
const Argument & | iArg0 = Argument() , |
||
const Argument & | iArg1 = Argument() , |
||
const Argument & | iArg2 = Argument() |
||
) |
Create a new OArrayProperty named iName as a child of compound iParent, of data type iDataType. The remaining optional arguments can be used to override the ErrorHandlerPolicy, specify MetaData, and to specify time sampling or time sampling index.
|
inline |
This attaches an OArrayProperty wrapper around an existing ArrayPropertyWriterPtr, with an optional error handling policy.
Definition at line 81 of file OArrayProperty.h.
|
inline |
Definition at line 88 of file OArrayProperty.h.
Alembic::Abc::ALEMBIC_VERSION_NS::OArrayProperty::~OArrayProperty | ( | ) |
Default copy constructor used Default assignment operator used. Destructor ...
size_t Alembic::Abc::ALEMBIC_VERSION_NS::OArrayProperty::getNumSamples | ( | ) | const |
Get the number of samples written so far. May change over time as more samples are written.
OCompoundProperty Alembic::Abc::ALEMBIC_VERSION_NS::OArrayProperty::getParent | ( | ) | const |
Return the parent compound property, handily wrapped in a OCompoundProperty wrapper.
void Alembic::Abc::ALEMBIC_VERSION_NS::OArrayProperty::set | ( | const AbcA::ArraySample & | iSample | ) |
Set a sample from the address of a datum. ...
void Alembic::Abc::ALEMBIC_VERSION_NS::OArrayProperty::setFromPrevious | ( | ) |
Set a sample from the previous sample. ...
void Alembic::Abc::ALEMBIC_VERSION_NS::OArrayProperty::setTimeSampling | ( | uint32_t | iIndex | ) |
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.
void Alembic::Abc::ALEMBIC_VERSION_NS::OArrayProperty::setTimeSampling | ( | AbcA::TimeSamplingPtr | iTime | ) |
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.