OpenVDB  12.0.0
Public Types | Public Member Functions | Protected Attributes | List of all members
StrAttributeCopy Struct Reference

#include <openvdb_houdini/AttributeTransferUtil.h>

Inherits AttributeCopyBase.

Public Types

using Ptr = std::shared_ptr< AttributeCopyBase >
 

Public Member Functions

 StrAttributeCopy (const GA_Attribute &sourceAttr, GA_Attribute &targetAttr)
 
void copy (GA_Offset source, GA_Offset target) override
 
void copy (GA_Offset &v0, GA_Offset &v1, GA_Offset &v2, GA_Offset target, const openvdb::Vec3d &uvw) override
 

Protected Attributes

const GA_Attribute & mSourceAttr
 
GA_Attribute & mTargetAttr
 
const GA_AIFSharedStringTuple & mAIF
 
int mTupleSize
 

Member Typedef Documentation

using Ptr = std::shared_ptr<AttributeCopyBase>
inherited

Constructor & Destructor Documentation

StrAttributeCopy ( const GA_Attribute &  sourceAttr,
GA_Attribute &  targetAttr 
)
inline

Member Function Documentation

void copy ( GA_Offset  source,
GA_Offset  target 
)
inlineoverridevirtual

Implements AttributeCopyBase.

void copy ( GA_Offset &  v0,
GA_Offset &  v1,
GA_Offset &  v2,
GA_Offset  target,
const openvdb::Vec3d &  uvw 
)
inlineoverridevirtual

Implements AttributeCopyBase.

Member Data Documentation

const GA_AIFSharedStringTuple& mAIF
protected
const GA_Attribute& mSourceAttr
protected
GA_Attribute& mTargetAttr
protected
int mTupleSize
protected