36 #define VIS_TOKEN_SCOPE "scope"
37 #define VIS_TOKEN_NAME "name"
38 #define VIS_TOKEN_LABEL "label"
39 #define VIS_TOKEN_ICON "icon"
40 #define VIS_TOKEN_FLAGS "flags"
41 #define VIS_TOKEN_TYPE "type"
42 #define VIS_TOKEN_PARMS "parameters"
72 int getUniqueId()
const;
77 const char *getLabel()
const;
78 const char *getIcon()
const;
81 bool actsOnUnselected()
const;
82 bool actsOnSelected()
const;
83 bool actsOnGhosted()
const;
86 bool actsOnDisplayed()
const;
87 bool actsOnCurrent()
const;
88 bool actsOnTemplated()
const;
90 bool showInToolbar()
const;
95 bool save(std::ostream &os)
const;
102 void setFlags(
uint32 mask,
bool onoff);
105 void setVisualizerFlags(
uint32 mask,
bool onoff);
110 exint getUpdateRequestTime()
const;
111 exint getRefineRequestTime()
const;
113 void setActOnUnselected(
bool active);
114 void setActOnSelected(
bool active);
115 void setActOnGhosted(
bool active);
116 void setActOnDisplayed(
bool active);
117 void setActOnCurrent(
bool active);
118 void setActOnTemplated(
bool active);
119 void setShowInToolbar(
bool show);
124 void armActiveParmMicroNode(
bool enabled);
125 void armDataParmMicroNode(
bool enabled);
128 bool isActiveParmMicroNodeArmed();
129 bool isDataParmMicroNodeArmed();
131 void handleActiveParmChange();
132 void handleDataParmChange();
135 static int registerMount(
VIS_Mount *mnt);
141 friend class VIS_Table;
142 friend class VIS_Manager;
146 const char *
label = NULL,
const char *icon = NULL);
151 VIS_Mount *duplicate(
bool deep_copy =
false)
const;
153 void setIndex(
int index);
154 void setName(
const char*
name);
155 void setLabel(
const char*
label);
156 void setIcon(
const char*
name);
161 void refreshUpdateRequestTime();
162 void refreshRefineRequestTime();
164 void setTable(VIS_Table *mtable) { myTable = mtable; }
166 bool bumpName(
bool label_too =
false);
170 void resetActiveState();
171 int getNumActiveContexts();
172 int getNumContexts();
198 std::stringstream myWriterSStream;
205 exint myUpdateRequestTime;
206 exint myRefineRequestTime;
209 int myNumActiveContexts;
213 ActiveParmMNode(
VIS_Mount *mount) { myMount = mount; }
226 DataParmMNode(
VIS_Mount *mount) { myMount = mount; }
237 ActiveParmMNode myActiveParmMNode;
238 DataParmMNode myDataParmMNode;
void handleActiveParmChange()
DEP_MicroNode * getMicroNode()
VIS_MountMicroNode(VIS_Mount *mnt)
GLuint GLsizei const GLchar * label
Class which writes ASCII or binary JSON streams.
GLenum GLenum GLsizei const GLuint GLboolean enabled
UT_Array< VIS_Mount * > VIS_MountPtrArray
int getFlags(int version)
void handleDataParmChange()
void getOutputs(DEP_MicroNodeList &outputs) const override
PXL_API const char * getName(const ColorSpace *space)
Return the name of the color space.
GLuint const GLchar * name
GLenum GLenum GLsizei void * table
that also have some descendant prim *whose name begins with which in turn has a child named baz where *the predicate active
A map of string to various well defined value types.
Propagation info for a dep micro node.
void getInputs(DEP_MicroNodeList &inputs) const override