HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GABC_NAMESPACE::GABC_OArrayProperty Class Reference

#include <GABC_OArrayProperty.h>

+ Inheritance diagram for GABC_NAMESPACE::GABC_OArrayProperty:

Public Types

using OArrayProperty = Alembic::Abc::OArrayProperty
 
using OUInt32ArrayProperty = Alembic::Abc::OUInt32ArrayProperty
 
using GeometryScope = Alembic::AbcGeom::GeometryScope
 
using PlainOldDataType = Alembic::Util::PlainOldDataType
 
- Public Types inherited from GABC_NAMESPACE::GABC_OProperty
typedef
Alembic::Abc::OCompoundProperty 
OCompoundProperty
 
typedef
Alembic::Util::PlainOldDataType 
PlainOldDataType
 

Public Member Functions

 GABC_OArrayProperty ()
 This constructor is used if we're creating a user property. More...
 
 GABC_OArrayProperty (GeometryScope scope)
 This constructor is used if we're creating an attribute. More...
 
 ~GABC_OArrayProperty ()
 
bool start (OCompoundProperty &parent, const char *name, const GT_DataArrayHandle &array, GABC_OError &err, const GABC_OOptions &options, const PlainOldDataType pod=Alembic::Util::kUnknownPOD)
 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)
 Write GT_DataArray conents as samples to the property. More...
 
bool updateFromPrevious ()
 Reuse the previous sample . More...
 
exint getNumSamples () const
 Get number of samples written to property so far. More...
 
- Public Member Functions inherited from GABC_NAMESPACE::GABC_OProperty
virtual ~GABC_OProperty ()
 

Additional Inherited Members

- Protected Member Functions inherited from GABC_NAMESPACE::GABC_OProperty
 GABC_OProperty ()
 Can't have just a GABC_OProperty. More...
 
- Protected Attributes inherited from GABC_NAMESPACE::GABC_OProperty
GT_DataArrayHandle myCache
 
GT_Size myTupleSize
 
GT_Storage myStorage
 
GT_Type myType
 
PlainOldDataType myPOD
 
voidmyBuffer
 

Detailed Description

Class for exporting attribute and user property data from a GT_DataArray to an OArrayProperty.

See GABC_OProperty for more details.

Definition at line 49 of file GABC_OArrayProperty.h.

Member Typedef Documentation

Constructor & Destructor Documentation

GABC_NAMESPACE::GABC_OArrayProperty::GABC_OArrayProperty ( )
inline

This constructor is used if we're creating a user property.

Definition at line 60 of file GABC_OArrayProperty.h.

GABC_NAMESPACE::GABC_OArrayProperty::GABC_OArrayProperty ( GeometryScope  scope)
inlineexplicit

This constructor is used if we're creating an attribute.

Definition at line 65 of file GABC_OArrayProperty.h.

GABC_NAMESPACE::GABC_OArrayProperty::~GABC_OArrayProperty ( )
inline

Definition at line 70 of file GABC_OArrayProperty.h.

Member Function Documentation

exint GABC_NAMESPACE::GABC_OArrayProperty::getNumSamples ( ) const
inlinevirtual

Get number of samples written to property so far.

Implements GABC_NAMESPACE::GABC_OProperty.

Definition at line 86 of file GABC_OArrayProperty.h.

bool GABC_NAMESPACE::GABC_OArrayProperty::start ( OCompoundProperty parent,
const char *  name,
const GT_DataArrayHandle array,
GABC_OError err,
const GABC_OOptions options,
const PlainOldDataType  pod = Alembic::Util::kUnknownPOD 
)
virtual

See GABC_OProperty for information about methods.

Implements GABC_NAMESPACE::GABC_OProperty.

bool GABC_NAMESPACE::GABC_OArrayProperty::update ( const GT_DataArrayHandle array,
GABC_OError err,
const GABC_OOptions options,
const PlainOldDataType  pod = Alembic::Abc::kUnknownPOD 
)
virtual

Write GT_DataArray conents as samples to the property.

Implements GABC_NAMESPACE::GABC_OProperty.

bool GABC_NAMESPACE::GABC_OArrayProperty::updateFromPrevious ( )
virtual

Reuse the previous sample .

Implements GABC_NAMESPACE::GABC_OProperty.


The documentation for this class was generated from the following file: