13 #ifndef __VIS_Visualizer__
14 #define __VIS_Visualizer__
74 bool enableParm(
const char *pn,
int state,
int v = -1);
75 bool setVisibleState(
const char *pn,
bool state,
int v = -1);
79 bool save(std::ostream &os);
99 void requestRefinement();
100 void requestUpdate();
106 void requestAttribute(
const char *attr,
117 static void buildGroups(
void *
data,
123 static void buildAttributes(
void *
data,
129 void updateRampFromMultiParm(
fpreal t,
132 bool *time_dep = NULL);
144 void bumpSerialNum();
169 virtual void cookMyVisualizer() = 0;
178 friend class VIS_Table;
180 friend class VIS_Manager;
181 friend class VISF_Dispatcher;
182 friend class VISF_Setup;
184 void setTypeId(
int id) { myTypeId =
id; }
185 void setMount(
VIS_Mount *mnt) { myMount = mnt; }
187 bool refinementRequested(
bool reset =
true);
188 bool updateRequested(
bool reset =
true);
191 {
return myRequestedAttributes; }
194 void bumpVersion() { myParmsVersion++; }
201 static int theLastVisSerialNum;
208 bool myRefinementRequested : 1;
209 bool myUpdateRequested: 1;
210 bool myClearRequestedAttribs : 1;
232 myVisualizedNodes(NULL)
235 { myVisUniqueId =
id; }
237 {
return myVisUniqueId; }
239 { myVisualizedNodes = nodes; }
241 {
return myVisualizedNodes; }
VIS_ParmsMicroNode(VIS_Visualizer *vis)
void setVisualizedNode(UT_IntArray const *nodes)
UT_IntArray const * getVisualizedNodes()
int getFlags(int version)
void getOutputs(DEP_MicroNodeList &inputs) const override
VIS_Mount * getMount() const
Utility class for containing a color ramp.
VIS_ParmsMicroNode * getParmsMicroNode()
void getInputs(DEP_MicroNodeList &inputs) const override
void setVisUniqueId(int id)
virtual bool updateParmsFlags()
PRM_ParmList * myParmList