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

#include <GU_GroomUtils.h>

Classes

struct  TempData
 

Public Member Functions

 GU_WeightArrayInterpolate (const GEO_Detail &weightgeo)
 
 GU_WeightArrayInterpolate (const GEO_Detail &weightgeo, GA_AttributeOwner attrib_owner, const UT_StringRef &key_attrib_name, const UT_StringRef &weight_attrib_name)
 
 GU_WeightArrayInterpolate (const GEO_Detail &weightgeo, const GA_Attribute &keyattrib, const GA_Attribute &weightattrib)
 
bool bindInputAttribs (GA_AttributeOwner attrib_owner, const UT_StringRef &key_attrib_name, const UT_StringRef &weight_attrib_name)
 
bool isValid () const
 
const GA_AttributekeyAttrib () const
 
const GA_AttributeweightAttrib () const
 
const GU_ROWeightArrayPairHandlegetWeightArrayPairHandle () const
 
void createOutputAttribs (GU_Detail &gdp, GA_AttributeOwner owner)
 
void interpolate (const GA_OffsetArray &offsets, const UT_FloatArray &weights, GA_Offset &out_offset, TempData &tempdata) const
 
template<typename C >
void interpolate (C &out_keys, UT_Array< float > &out_weights, const GA_OffsetArray &offsets, const UT_FloatArray &weights, UT_Map< typename C::value_type, float > &blended_weights_set) const
 
void interpolate (const GU_Detail &geo, const GA_Attribute &prim_attrib, const GA_Attribute &primuv_attrib, GA_Attribute &key_attrib, GA_Attribute &weight_attrib) const
 

Detailed Description

Definition at line 1250 of file GU_GroomUtils.h.

Constructor & Destructor Documentation

GU_WeightArrayInterpolate::GU_WeightArrayInterpolate ( const GEO_Detail weightgeo)
inline

Definition at line 1263 of file GU_GroomUtils.h.

GU_WeightArrayInterpolate::GU_WeightArrayInterpolate ( const GEO_Detail weightgeo,
GA_AttributeOwner  attrib_owner,
const UT_StringRef key_attrib_name,
const UT_StringRef weight_attrib_name 
)
inline

Definition at line 1269 of file GU_GroomUtils.h.

GU_WeightArrayInterpolate::GU_WeightArrayInterpolate ( const GEO_Detail weightgeo,
const GA_Attribute keyattrib,
const GA_Attribute weightattrib 
)
inline

Definition at line 1283 of file GU_GroomUtils.h.

Member Function Documentation

bool GU_WeightArrayInterpolate::bindInputAttribs ( GA_AttributeOwner  attrib_owner,
const UT_StringRef key_attrib_name,
const UT_StringRef weight_attrib_name 
)
inline

Definition at line 1294 of file GU_GroomUtils.h.

void GU_WeightArrayInterpolate::createOutputAttribs ( GU_Detail gdp,
GA_AttributeOwner  owner 
)
inline

Definition at line 1331 of file GU_GroomUtils.h.

const GU_ROWeightArrayPairHandle& GU_WeightArrayInterpolate::getWeightArrayPairHandle ( ) const
inline

Definition at line 1325 of file GU_GroomUtils.h.

void GU_WeightArrayInterpolate::interpolate ( const GA_OffsetArray offsets,
const UT_FloatArray weights,
GA_Offset out_offset,
TempData tempdata 
) const
inline

Definition at line 1364 of file GU_GroomUtils.h.

template<typename C >
void GU_WeightArrayInterpolate::interpolate ( C &  out_keys,
UT_Array< float > &  out_weights,
const GA_OffsetArray offsets,
const UT_FloatArray weights,
UT_Map< typename C::value_type, float > &  blended_weights_set 
) const
inline

Definition at line 1409 of file GU_GroomUtils.h.

void GU_WeightArrayInterpolate::interpolate ( const GU_Detail geo,
const GA_Attribute prim_attrib,
const GA_Attribute primuv_attrib,
GA_Attribute key_attrib,
GA_Attribute weight_attrib 
) const
inline

Definition at line 1463 of file GU_GroomUtils.h.

bool GU_WeightArrayInterpolate::isValid ( ) const
inline

Definition at line 1307 of file GU_GroomUtils.h.

const GA_Attribute* GU_WeightArrayInterpolate::keyAttrib ( ) const
inline

Definition at line 1313 of file GU_GroomUtils.h.

const GA_Attribute* GU_WeightArrayInterpolate::weightAttrib ( ) const
inline

Definition at line 1319 of file GU_GroomUtils.h.


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