18 #ifndef __OP_Group_h__
19 #define __OP_Group_h__
38 void setName(
const char *
n);
40 int isInternal()
const;
45 int setPicked(
int on_off,
int list = 0);
46 int getPicked(
int list = 0)
const;
59 void saveGroupForUndo();
60 int saveContents(std::ostream &os,
int binary=0);
65 void setFlag(
char flagchar,
bool onoff);
66 void setDisplay(
bool onoff);
67 void setSelectable(
bool onoff);
68 void setTemplate(
bool onoff);
69 void setExposed(
bool onoff);
70 void setSelected(
bool onoff);
71 void setExport(
bool onoff);
72 void setThumbnail(
bool onoff);
78 int clear(
int send_change=1);
84 int addPattern(
const char *pat);
85 int subPattern(
const char *pat);
86 int setPattern(
const char *pat) { clear();
return addPattern(pat); }
93 int addMember(
OP_Node *node,
int send_change=1);
94 int subMember(
OP_Node *node,
int send_change=1);
101 int addPickedNodes(
bool or_in_picked_netbox =
false);
102 int subPickedNodes(
bool or_in_picked_netbox =
false);
106 int subNonPickedRootNodes();
114 int isMember(
const OP_Node *node)
const;
116 {
return isMember(node); }
129 int countMembers()
const;
137 void sendGroupChange();
142 int64 mem = inclusive ?
sizeof(*this) : 0;
143 mem += myName.getMemoryUsage(
false);
161 exint getGroupIndex()
const {
return myGroupIndex; }
179 char mySavedForUndoFlag;
const GLuint GLenum const void * binary
void setColor(const UT_Color &col)
int setPattern(const char *pat)
GLuint const GLchar * name
OPENVDB_API void initialize()
Global registration of native Grid, Transform, Metadata and Point attribute types. Also initializes blosc (if enabled).
OP_Network * getNetwork()
const UT_String & getName() const
const UT_Color & getColor() const
int contains(const OP_Node *node) const
static char getGroupChar()
int64 getMemoryUsage(bool inclusive) const
Return the amount of memory owned by this OP_Group.