| 
    HDK
    
   | 
 
#include <OP3D_GUSelectionSet.h>
 Inheritance diagram for OP3D_GUSelectionSet:Public Member Functions | |
| OP3D_GUSelectionSet () | |
| Construct a new empty selection set.  More... | |
| OP3D_GUSelectionSet (GA_GroupMaskType sel_types, const OP3D_GUSelectionSet &selection_set, bool clone) | |
| Create a new selection set from a subset of an existing one.  More... | |
| bool | hasType (GA_GroupType sel_type) const | 
| GA_GroupMaskType | typeMask () const | 
| GU_SelectionHandle | selection (GA_GroupType sel_type) const | 
| void | setSelection (GA_GroupType sel_type, GU_SelectionHandle selection) | 
| bool | save (UT_JSONWriter &w) const | 
| Save the selection set to a json stream.  More... | |
| bool | load (UT_JSONParser &p) | 
| int64 | getMemoryUsage (bool inclusive) const | 
Additional Inherited Members | |
  Protected Member Functions inherited from UT_NonCopyableNS::UT_NonCopyable | |
| UT_NonCopyable ()=default | |
| ~UT_NonCopyable ()=default | |
| UT_NonCopyable (const UT_NonCopyable &)=delete | |
| UT_NonCopyable & | operator= (const UT_NonCopyable &)=delete | 
A set of selections, one for each unique selection type. The selection handles may be freely assigned, unlike GU_SelectionSet.
Definition at line 27 of file OP3D_GUSelectionSet.h.
| OP3D_GUSelectionSet::OP3D_GUSelectionSet | ( | ) | 
Construct a new empty selection set.
| OP3D_GUSelectionSet::OP3D_GUSelectionSet | ( | GA_GroupMaskType | sel_types, | 
| const OP3D_GUSelectionSet & | selection_set, | ||
| bool | clone | ||
| ) | 
Create a new selection set from a subset of an existing one.
| int64 OP3D_GUSelectionSet::getMemoryUsage | ( | bool | inclusive | ) | const | 
| bool OP3D_GUSelectionSet::hasType | ( | GA_GroupType | sel_type | ) | const | 
Returns true if the set contains the requested selection type. 
| bool OP3D_GUSelectionSet::load | ( | UT_JSONParser & | p | ) | 
Load the selection set from a json stream. Will recycle existing selection objects, if possible, or create new ones if needed.
| bool OP3D_GUSelectionSet::save | ( | UT_JSONWriter & | w | ) | const | 
Save the selection set to a json stream.
| GU_SelectionHandle OP3D_GUSelectionSet::selection | ( | GA_GroupType | sel_type | ) | const | 
Returns the selection handle of the given selection type, which may be empty.
| void OP3D_GUSelectionSet::setSelection | ( | GA_GroupType | sel_type, | 
| GU_SelectionHandle | selection | ||
| ) | 
Set the selection handle of the given selection type. If the selection handle points to a selection, then its selection type must match that supplied.
| GA_GroupMaskType OP3D_GUSelectionSet::typeMask | ( | ) | const | 
Returns the entire group mask of selection types with non-null selections.