HDK
|
#include <GABC_OScalarProperty.h>
Public Types | |
typedef Alembic::Abc::OCompoundProperty | OCompoundProperty |
typedef Alembic::Abc::OScalarProperty | OScalarProperty |
typedef Alembic::Util::PlainOldDataType | PlainOldDataType |
Public Types inherited from GABC_NAMESPACE::GABC_OProperty | |
typedef Alembic::Abc::OCompoundProperty | OCompoundProperty |
typedef Alembic::Util::PlainOldDataType | PlainOldDataType |
Public Member Functions | |
GABC_OScalarProperty (GABC_LayerOptions::LayerType ltype) | |
~GABC_OScalarProperty () override | |
bool | start (OCompoundProperty &parent, const char *name, const GT_DataArrayHandle &array, GABC_OError &err, const GABC_OOptions &options, const PlainOldDataType pod=Alembic::Util::kUnknownPOD) override |
See GABC_OProperty for information about methods. More... | |
bool | update (const GT_DataArrayHandle &array, GABC_OError &err, const GABC_OOptions &options, const PlainOldDataType pod=Alembic::Abc::kUnknownPOD) override |
Write GT_DataArray conents as samples to the property. More... | |
bool | updateFromPrevious () override |
Reuse the previous sample . More... | |
exint | getNumSamples () const override |
Get number of samples written to property so far. More... | |
Public Member Functions inherited from GABC_NAMESPACE::GABC_OProperty | |
GABC_OProperty (GABC_LayerOptions::LayerType ltype) | |
virtual | ~GABC_OProperty () |
bool | compatibleStorage (GT_Storage storage) |
Returns true if storage only differs by precision. More... | |
Static Public Member Functions | |
static bool | isValidScalarData (const GT_DataArrayHandle &array) |
true if 'array' can be represented as an Alembic scalar More... | |
Additional Inherited Members | |
Protected Attributes inherited from GABC_NAMESPACE::GABC_OProperty | |
GT_DataArrayHandle | myCache |
GT_Size | myTupleSize |
GT_Storage | myStorage |
GT_Type | myType |
PlainOldDataType | myPOD |
void * | myBuffer |
GABC_LayerOptions::LayerType | myLayerType |
Class for exporting user property data from a GT_DataArray to an OScalarProperty.
See GABC_OProperty for more details.
Definition at line 48 of file GABC_OScalarProperty.h.
Definition at line 51 of file GABC_OScalarProperty.h.
Definition at line 52 of file GABC_OScalarProperty.h.
Definition at line 54 of file GABC_OScalarProperty.h.
|
inline |
Definition at line 56 of file GABC_OScalarProperty.h.
|
override |
|
inlineoverridevirtual |
Get number of samples written to property so far.
Implements GABC_NAMESPACE::GABC_OProperty.
Definition at line 80 of file GABC_OScalarProperty.h.
|
static |
true if 'array' can be represented as an Alembic scalar
|
overridevirtual |
See GABC_OProperty for information about methods.
Implements GABC_NAMESPACE::GABC_OProperty.
|
overridevirtual |
Write GT_DataArray conents as samples to the property.
Implements GABC_NAMESPACE::GABC_OProperty.
|
overridevirtual |
Reuse the previous sample .
Implements GABC_NAMESPACE::GABC_OProperty.