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

#include <GU_GroomUtils.h>

Classes

class  CacheData
 

Public Types

enum  AttribChange { NONE, DATA, STORAGE }
 
using AttribMatchTuple = std::pair< GA_AttributeOwner, UT_StringHolder >
 

Public Member Functions

 GU_GroomSourceAttribList (GU_Detail *dest, const GU_Detail *source, const GA_AttributeOwner destowner)
 
void addSourceAttribs (const GA_AttributeOwner sourceowner, const char *matchpattern, UT_Set< AttribMatchTuple > &alreadymapped, const GA_AttributeFilter *filter=nullptr)
 
void mapAndCreateAttribs (GA_AttributeRefMap &map) const
 
void mapAndCreateAttrib (GA_AttributeRefMap &map, const UT_ValArray< AttribChange > *changes, int index) const
 
void mapAndCreateAttribs (GA_AttributeRefMap &map, const UT_ValArray< AttribChange > *changes) const
 
void mapAndCreateAttribs (GA_AttributeRefMap &map, const UT_ValArray< AttribChange > *changes, const std::function< bool(const GA_Attribute &)> &filter) const
 
void mapAndCreateRealAttribs (GA_AttributeRefMap &map, const UT_ValArray< AttribChange > *changes) const
 
void mapAndCreateNonRealAttribs (GA_AttributeRefMap &map, const UT_ValArray< AttribChange > *changes) const
 
bool updateCache (UT_UniquePtr< CacheData > &cachedata, UT_ValArray< AttribChange > &changes) const
 

Detailed Description

Definition at line 937 of file GU_GroomUtils.h.

Member Typedef Documentation

Member Enumeration Documentation

Enumerator
NONE 
DATA 
STORAGE 

Definition at line 957 of file GU_GroomUtils.h.

Constructor & Destructor Documentation

GU_GroomSourceAttribList::GU_GroomSourceAttribList ( GU_Detail dest,
const GU_Detail source,
const GA_AttributeOwner  destowner 
)
inline

Definition at line 940 of file GU_GroomUtils.h.

Member Function Documentation

void GU_GroomSourceAttribList::addSourceAttribs ( const GA_AttributeOwner  sourceowner,
const char *  matchpattern,
UT_Set< AttribMatchTuple > &  alreadymapped,
const GA_AttributeFilter filter = nullptr 
)
void GU_GroomSourceAttribList::mapAndCreateAttrib ( GA_AttributeRefMap map,
const UT_ValArray< AttribChange > *  changes,
int  index 
) const
void GU_GroomSourceAttribList::mapAndCreateAttribs ( GA_AttributeRefMap map) const
inline

Definition at line 978 of file GU_GroomUtils.h.

void GU_GroomSourceAttribList::mapAndCreateAttribs ( GA_AttributeRefMap map,
const UT_ValArray< AttribChange > *  changes 
) const
inline

Definition at line 993 of file GU_GroomUtils.h.

void GU_GroomSourceAttribList::mapAndCreateAttribs ( GA_AttributeRefMap map,
const UT_ValArray< AttribChange > *  changes,
const std::function< bool(const GA_Attribute &)> &  filter 
) const
inline

Definition at line 1004 of file GU_GroomUtils.h.

void GU_GroomSourceAttribList::mapAndCreateNonRealAttribs ( GA_AttributeRefMap map,
const UT_ValArray< AttribChange > *  changes 
) const
inline

Definition at line 1028 of file GU_GroomUtils.h.

void GU_GroomSourceAttribList::mapAndCreateRealAttribs ( GA_AttributeRefMap map,
const UT_ValArray< AttribChange > *  changes 
) const
inline

Definition at line 1015 of file GU_GroomUtils.h.

bool GU_GroomSourceAttribList::updateCache ( UT_UniquePtr< CacheData > &  cachedata,
UT_ValArray< AttribChange > &  changes 
) const

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