HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GU_RWWeightArrayPairHandle Class Reference

#include <GU_GroomUtils.h>

+ Inheritance diagram for GU_RWWeightArrayPairHandle:

Public Member Functions

 GU_RWWeightArrayPairHandle ()=default
 
 GU_RWWeightArrayPairHandle (GEO_Detail &detail, GA_AttributeOwner attrib_owner, const UT_StringHolder &key_attrib_name, const UT_StringHolder &weight_attrib_name)
 
bool bind (GEO_Detail &detail, GA_AttributeOwner attrib_owner, const UT_StringHolder &key_attrib_name, const UT_StringHolder &weight_attrib_name)
 
void bind (GA_Attribute *key_attrib, GA_Attribute *weight_attrib)
 
bool isValid () const
 
GA_Attribute * keyAttrib () const
 
GA_Attribute * weightAttrib () const
 
void set (GA_Offset primoff, const UT_StringArray &names, const UT_FloatArray &weights)
 
void bumpDataIds ()
 
- Public Member Functions inherited from GU_ROWeightArrayPairHandle
 GU_ROWeightArrayPairHandle ()=default
 
 GU_ROWeightArrayPairHandle (const GEO_Detail &detail, GA_AttributeOwner attrib_owner, const UT_StringHolder &key_attrib_name, const UT_StringHolder &weight_attrib_name)
 
bool bind (const GEO_Detail &detail, GA_AttributeOwner attrib_owner, const UT_StringHolder &key_attrib_name, const UT_StringHolder &weight_attrib_name)
 
void bind (const GA_Attribute *key_attrib, const GA_Attribute *weight_attrib)
 
bool isValid () const
 
const GA_Attribute * keyAttrib () const
 
const GA_Attribute * weightAttrib () const
 
const GA_AIFNumericArray * indexArray () const
 
const GA_AIFSharedStringArray * nameArray () const
 
const GA_AIFNumericArray * weightArray () const
 
void setAIFArrays ()
 

Additional Inherited Members

- Protected Member Functions inherited from GU_ROWeightArrayPairHandle
bool bindImpl (GEO_Detail &detail, GA_AttributeOwner attrib_owner, const UT_StringHolder &key_attrib_name, const UT_StringHolder &weight_attrib_name)
 
void bindImpl (GA_Attribute *key_attrib, GA_Attribute *weight_attrib)
 
- Protected Attributes inherited from GU_ROWeightArrayPairHandle
const GA_AIFNumericArray * myIndexArray = nullptr
 
const GA_AIFSharedStringArray * myNameArray = nullptr
 
const GA_AIFNumericArray * myWeightArray = nullptr
 
GA_Attribute * myKeyAttrib = nullptr
 
GA_Attribute * myWeightAttrib = nullptr
 

Detailed Description

Definition at line 1200 of file GU_GroomUtils.h.

Constructor & Destructor Documentation

GU_RWWeightArrayPairHandle::GU_RWWeightArrayPairHandle ( )
default
GU_RWWeightArrayPairHandle::GU_RWWeightArrayPairHandle ( GEO_Detail &  detail,
GA_AttributeOwner  attrib_owner,
const UT_StringHolder &  key_attrib_name,
const UT_StringHolder &  weight_attrib_name 
)
inline

Definition at line 1205 of file GU_GroomUtils.h.

Member Function Documentation

bool GU_RWWeightArrayPairHandle::bind ( GEO_Detail &  detail,
GA_AttributeOwner  attrib_owner,
const UT_StringHolder &  key_attrib_name,
const UT_StringHolder &  weight_attrib_name 
)
inline

Definition at line 1214 of file GU_GroomUtils.h.

void GU_RWWeightArrayPairHandle::bind ( GA_Attribute *  key_attrib,
GA_Attribute *  weight_attrib 
)
inline

Definition at line 1223 of file GU_GroomUtils.h.

void GU_RWWeightArrayPairHandle::bumpDataIds ( )
inline

Definition at line 1257 of file GU_GroomUtils.h.

bool GU_RWWeightArrayPairHandle::isValid ( ) const
inline

Definition at line 1231 of file GU_GroomUtils.h.

GA_Attribute* GU_RWWeightArrayPairHandle::keyAttrib ( ) const
inline

Definition at line 1237 of file GU_GroomUtils.h.

void GU_RWWeightArrayPairHandle::set ( GA_Offset  primoff,
const UT_StringArray &  names,
const UT_FloatArray &  weights 
)
inline

Definition at line 1248 of file GU_GroomUtils.h.

GA_Attribute* GU_RWWeightArrayPairHandle::weightAttrib ( ) const
inline

Definition at line 1243 of file GU_GroomUtils.h.


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