HDK
|
Promote attributes from one owner to another. More...
#include <GU_Promote.h>
Static Public Member Functions | |
static GA_Attribute * | promote (GU_Detail &gdp, GA_Attribute *attrib, GA_AttributeOwner new_owner, bool destroy_existing=true, PROMOTE_METHOD method=GU_PROMOTE_MEAN, const char *new_name=NULL, const GA_Attribute *piece_attrib=nullptr) |
static GA_AttributeUPtr | create (GA_AttributeOwner dst_owner, const GA_Attribute &src_attrib, PROMOTE_METHOD method=GU_PROMOTE_MEAN) |
Promote attributes from one owner to another.
Definition at line 24 of file GU_Promote.h.
Enumerator | |
---|---|
GU_PROMOTE_MAX | |
GU_PROMOTE_MIN | |
GU_PROMOTE_MEAN | |
GU_PROMOTE_MODE | |
GU_PROMOTE_MEDIAN | |
GU_PROMOTE_SUM | |
GU_PROMOTE_SUMSQUARE | |
GU_PROMOTE_RMS | |
GU_PROMOTE_FIRST | |
GU_PROMOTE_LAST | |
GU_PROMOTE_ARRAY |
Definition at line 27 of file GU_Promote.h.
|
static |
Promote the given (tuple) attribute to the new attribute class into a newly created detached attribute.
|
static |
Promote the given attribute to the new attribute class. The new attribute is returned.