HDK
|
Class to store sets of faces / points / etc on GT mesh primitives. More...
#include <GT_ElementSetMap.h>
Classes | |
class | iterator |
Public Types | |
using | MapType = UT_StringMap< GT_ElementSetPtr > |
Additional Inherited Members | |
Protected Member Functions inherited from UT_IntrusiveRefCounter< GT_ElementSetMap > | |
SYS_FORCE_INLINE | ~UT_IntrusiveRefCounter () |
Destructor: Only derived classes can destruct this. More... | |
Class to store sets of faces / points / etc on GT mesh primitives.
Definition at line 27 of file GT_ElementSetMap.h.
Definition at line 30 of file GT_ElementSetMap.h.
GT_ElementSetMap::GT_ElementSetMap | ( | ) |
GT_ElementSetMap::~GT_ElementSetMap | ( | ) |
GT_ElementSetPtr GT_ElementSetMap::add | ( | const UT_StringHolder & | name, |
const GT_ElementSetPtr & | set, | ||
bool | replace_existing = true |
||
) |
Map access. These methods are not thread-safe
Definition at line 84 of file GT_ElementSetMap.h.
GT_ElementSetMapPtr GT_ElementSetMap::deleteElements | ( | const UT_Set< int > & | elements, |
const GT_Int32Array & | mapping | ||
) | const |
Delete elements from the sets. The second argument is an array mapping the old element numbers to the new element numbers. For example, deleting polygon 2 from a set of [0,1,2,3] would expect a remapping array of [0,1,x,2] (the value of 2 doesn't actually matter)
|
inline |
Delete polygons from the face set. The second argument is an array mapping the old face numbers to the new face numbers. For example, deleting polygon 2 from a set of [0,1,2,3] would expect a remapping array of [0,1,x,2] (the value of 2 doesn't actually matter)
Definition at line 99 of file GT_ElementSetMap.h.
void GT_ElementSetMap::dump | ( | ) | const |
Definition at line 85 of file GT_ElementSetMap.h.
|
inline |
Map access. These methods are not thread-safe
Definition at line 43 of file GT_ElementSetMap.h.
GT_ElementSetPtr GT_ElementSetMap::find | ( | const UT_StringRef & | name | ) | const |
Map access. These methods are not thread-safe
exint GT_ElementSetMap::getMemoryUsage | ( | ) | const |
bool GT_ElementSetMap::save | ( | UT_JSONWriter & | w | ) | const |
Save sets to a JSON stream.
GT_ElementSetMap::UT_NON_COPYABLE | ( | GT_ElementSetMap | ) |