HDK
|
Class to store "face sets" on GT mesh primitives. More...
#include <GT_FaceSet.h>
Classes | |
class | SetType |
Additional Inherited Members | |
![]() | |
SYS_FORCE_INLINE | ~UT_IntrusiveRefCounter () |
Destructor: Only derived classes can destruct this. More... | |
![]() | |
UT_NonCopyable ()=default | |
~UT_NonCopyable ()=default | |
UT_NonCopyable (const UT_NonCopyable &)=delete | |
UT_NonCopyable & | operator= (const UT_NonCopyable &)=delete |
Class to store "face sets" on GT mesh primitives.
Definition at line 28 of file GT_FaceSet.h.
GT_FaceSet::GT_FaceSet | ( | ) |
GT_FaceSet::GT_FaceSet | ( | const GT_DataArrayHandle & | members | ) |
GT_FaceSet::~GT_FaceSet | ( | ) |
Check whether any of the faces in this set are in the list of faces to be deleted.
|
inline |
Definition at line 185 of file GT_FaceSet.h.
|
inline |
Test whether a face is in the set.
Definition at line 153 of file GT_FaceSet.h.
GT_FaceSetPtr GT_FaceSet::deleteFaces | ( | const UT_Set< int > & | faces, |
const GT_Int32Array & | mapping | ||
) | const |
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)
|
inline |
Definition at line 186 of file GT_FaceSet.h.
|
inline |
Number of faces in the face set
Definition at line 147 of file GT_FaceSet.h.
GT_DataArrayHandle GT_FaceSet::extractMembers | ( | ) | const |
Extract the member list as a sorted array of integers.
exint GT_FaceSet::getMemoryUsage | ( | ) | const |
Number of faces in the face set
bool GT_FaceSet::save | ( | UT_JSONWriter & | w | ) | const |
Save sets to a JSON stream.
Number of faces in the face set
Definition at line 148 of file GT_FaceSet.h.