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_AttributekeyAttrib () const
 
GA_AttributeweightAttrib () 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_AttributekeyAttrib () const
 
const GA_AttributeweightAttrib () const
 
const GA_AIFNumericArrayindexArray () const
 
const GA_AIFSharedStringArraynameArray () const
 
const GA_AIFNumericArrayweightArray () 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_AIFNumericArraymyIndexArray = nullptr
 
const GA_AIFSharedStringArraymyNameArray = nullptr
 
const GA_AIFNumericArraymyWeightArray = nullptr
 
GA_AttributemyKeyAttrib = nullptr
 
GA_AttributemyWeightAttrib = nullptr
 

Detailed Description

Definition at line 1183 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 1188 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 1197 of file GU_GroomUtils.h.

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

Definition at line 1206 of file GU_GroomUtils.h.

void GU_RWWeightArrayPairHandle::bumpDataIds ( )
inline

Definition at line 1240 of file GU_GroomUtils.h.

bool GU_RWWeightArrayPairHandle::isValid ( ) const
inline

Definition at line 1214 of file GU_GroomUtils.h.

GA_Attribute* GU_RWWeightArrayPairHandle::keyAttrib ( ) const
inline

Definition at line 1220 of file GU_GroomUtils.h.

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

Definition at line 1231 of file GU_GroomUtils.h.

GA_Attribute* GU_RWWeightArrayPairHandle::weightAttrib ( ) const
inline

Definition at line 1226 of file GU_GroomUtils.h.


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