HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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 (GABC_LayerOptions::LayerType ltype)
 This constructor is used if we're creating a user property. More...
 
 GABC_OArrayProperty (GABC_LayerOptions::LayerType ltype, GeometryScope scope)
 This constructor is used if we're creating an attribute. More...
 
 ~GABC_OArrayProperty () 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...
 

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
 
voidmyBuffer
 
GABC_LayerOptions::LayerType myLayerType
 

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 48 of file GABC_OArrayProperty.h.

Member Typedef Documentation

Constructor & Destructor Documentation

GABC_NAMESPACE::GABC_OArrayProperty::GABC_OArrayProperty ( GABC_LayerOptions::LayerType  ltype)
inline

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

Definition at line 59 of file GABC_OArrayProperty.h.

GABC_NAMESPACE::GABC_OArrayProperty::GABC_OArrayProperty ( GABC_LayerOptions::LayerType  ltype,
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 ( )
inlineoverride

Definition at line 72 of file GABC_OArrayProperty.h.

Member Function Documentation

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

Get number of samples written to property so far.

Implements GABC_NAMESPACE::GABC_OProperty.

Definition at line 88 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 
)
overridevirtual

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 
)
overridevirtual

Write GT_DataArray conents as samples to the property.

Implements GABC_NAMESPACE::GABC_OProperty.

bool GABC_NAMESPACE::GABC_OArrayProperty::updateFromPrevious ( )
overridevirtual

Reuse the previous sample .

Implements GABC_NAMESPACE::GABC_OProperty.


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