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"
69 int getTypeId()
const;
73 int getUniqueId()
const;
78 const char *getLabel()
const;
79 const char *getIcon()
const;
82 bool actsOnUnselected()
const;
83 bool actsOnSelected()
const;
84 bool actsOnGhosted()
const;
87 bool actsOnDisplayed()
const;
88 bool actsOnCurrent()
const;
89 bool actsOnTemplated()
const;
91 bool showInToolbar()
const;
96 bool save(std::ostream &os)
const;
103 void setFlags(
uint32 mask,
bool onoff);
106 void setVisualizerFlags(
uint32 mask,
bool onoff);
110 const VIS_Table *
getTable()
const {
return myTable; }
112 exint getUpdateRequestTime()
const;
113 exint getRefineRequestTime()
const;
115 void setActOnUnselected(
bool active);
116 void setActOnSelected(
bool active);
117 void setActOnGhosted(
bool active);
118 void setActOnDisplayed(
bool active);
119 void setActOnCurrent(
bool active);
120 void setActOnTemplated(
bool active);
121 void setShowInToolbar(
bool show);
126 void armActiveParmMicroNode(
bool enabled);
127 void armDataParmMicroNode(
bool enabled);
130 bool isActiveParmMicroNodeArmed();
131 bool isDataParmMicroNodeArmed();
133 void handleActiveParmChange();
134 void handleDataParmChange();
137 static int registerMount(
VIS_Mount *mnt);
143 friend class VIS_Table;
144 friend class VIS_Manager;
148 const char *
label = NULL,
const char *icon = NULL);
153 VIS_Mount *duplicate(
bool deep_copy =
false)
const;
155 void setIndex(
int index);
156 void setName(
const char*
name);
157 void setLabel(
const char*
label);
158 void setIcon(
const char*
name);
163 void refreshUpdateRequestTime();
164 void refreshRefineRequestTime();
166 void setTable(VIS_Table *mtable) { myTable = mtable; }
168 bool bumpName(
bool label_too =
false);
172 void resetActiveState();
173 int getNumActiveContexts();
174 int getNumContexts();
200 std::stringstream myWriterSStream;
207 exint myUpdateRequestTime;
208 exint myRefineRequestTime;
211 int myNumActiveContexts;
215 ActiveParmMNode(
VIS_Mount *mount) { myMount = mount; }
228 DataParmMNode(
VIS_Mount *mount) { myMount = mount; }
239 ActiveParmMNode myActiveParmMNode;
240 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
const VIS_Table * getTable() const
A map of string to various well defined value types.
Propagation info for a dep micro node.
void getInputs(DEP_MicroNodeList &inputs) const override