HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PRM_SpareData.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: PRM_SpareData.h ( PRM Library, C++)
7  *
8  * COMMENTS: This class is used to add additional token/value pairs to a
9  * parameter.
10  */
11 
12 #ifndef __PRM_SpareData__
13 #define __PRM_SpareData__
14 
15 #include "PRM_API.h"
16 #include "PRM_Type.h"
17 
18 #include <CH/CH_ExprLanguage.h>
19 #include <UT/UT_ArrayStringMap.h>
20 #include <UT/UT_Color.h>
21 #include <UT/UT_Variadic.h>
22 
23 #include <SYS/SYS_Types.h>
24 
25 #include <utility>
26 
27 
28 // Namespace to use for built-in parameter tags.
29 // Note that we cannot add the namespace to old built-in tags
30 // for compatibility reasons.
31 #define PRM_SPARE_BUILTIN_NAMESPACE "sidefx::"
32 
33 //
34 // Declarations of built-in parm spare data tokens (tag names).
35 // The entries in this list must be included in `theBuiltInTokens` map
36 // (see PRM_SpareData.C).
37 //
38 // NOTE: You *must* include the SideFX namespace in the token
39 // when adding a new spare data token.
40 //
41 #define PRM_SPARE_KEY_VALUE_DICT_KEY_LABEL_TOKEN \
42  PRM_SPARE_BUILTIN_NAMESPACE "key_value_dict_key_label"
43 #define PRM_SPARE_KEY_VALUE_DICT_VALUE_LABEL_TOKEN \
44  PRM_SPARE_BUILTIN_NAMESPACE "key_value_dict_value_label"
45 #define PRM_SPARE_KEY_VALUE_DICT_USE_CHOOSER_TOKEN \
46  PRM_SPARE_BUILTIN_NAMESPACE "key_value_dict_use_chooser"
47 #define PRM_SPARE_KEY_VALUE_DICT_CHOOSER_LABEL_TOKEN \
48  PRM_SPARE_BUILTIN_NAMESPACE "key_value_dict_chooser_label"
49 #define PRM_SPARE_KEY_VALUE_DICT_CHOOSER_CALLBACK_TOKEN \
50  PRM_SPARE_BUILTIN_NAMESPACE "key_value_dict_chooser_callback"
51 #define PRM_SPARE_ATTRIB_ACCESS_TOKEN \
52  PRM_SPARE_BUILTIN_NAMESPACE "attrib_access"
53 #define PRM_SPARE_CONNECTOR_KIND \
54  PRM_SPARE_BUILTIN_NAMESPACE "connector_kind"
55 #define PRM_SPARE_CONNECTOR_TYPE \
56  PRM_SPARE_BUILTIN_NAMESPACE "connector_type"
57 #define PRM_SPARE_USDPATHTYPE_TOKEN \
58  PRM_SPARE_BUILTIN_NAMESPACE "usdpathtype"
59 #define PRM_SPARE_USDPATHINPUT_TOKEN \
60  PRM_SPARE_BUILTIN_NAMESPACE "usdpathinput"
61 #define PRM_SPARE_IS_SHADER_PARM_TOKEN \
62  PRM_SPARE_BUILTIN_NAMESPACE "shader_isparm"
63 #define PRM_SPARE_FORCE_SHADER_PARM_VAL_TOKEN \
64  PRM_SPARE_BUILTIN_NAMESPACE "shader_forceparmval"
65 #define PRM_SPARE_SHADER_PARM_TYPE_TOKEN \
66  PRM_SPARE_BUILTIN_NAMESPACE "shader_parmtype"
67 #define PRM_SPARE_SHADER_PARM_NAME_TOKEN \
68  PRM_SPARE_BUILTIN_NAMESPACE "shader_parmname"
69 #define PRM_SPARE_SAVE_VALUE_TOKEN \
70  PRM_SPARE_BUILTIN_NAMESPACE "save_value"
71 #define PRM_SPARE_MAYA_COMPONENT_SELECTION_TYPE_TOKEN \
72  PRM_SPARE_BUILTIN_NAMESPACE "maya_component_selection_type"
73 #define PRM_SPARE_LOOK_TOKEN \
74  PRM_SPARE_BUILTIN_NAMESPACE "look"
75 #define PRM_SPARE_LAYOUT_HEIGHT_TOKEN \
76  PRM_SPARE_BUILTIN_NAMESPACE "layout_height"
77 #define PRM_SPARE_LAYOUT_LABEL_TOKEN \
78  PRM_SPARE_BUILTIN_NAMESPACE "layout_label"
79 #define PRM_SPARE_HEADER_TOGGLE_TOKEN \
80  PRM_SPARE_BUILTIN_NAMESPACE "header_toggle"
81 #define PRM_SPARE_HEADER_PARM_TOKEN \
82  PRM_SPARE_BUILTIN_NAMESPACE "header_parm"
83 #define PRM_SPARE_HEADER_LABEL_TOKEN \
84  PRM_SPARE_BUILTIN_NAMESPACE "header_label"
85 #define PRM_SPARE_MULTI_LABEL_TOKEN \
86  PRM_SPARE_BUILTIN_NAMESPACE "multi_label"
87 #define PRM_SPARE_PROMPT_PARM_TOKEN \
88  PRM_SPARE_BUILTIN_NAMESPACE "prompt_parm"
89 #define PRM_SPARE_PROMPT_TEXT_TOKEN \
90  PRM_SPARE_BUILTIN_NAMESPACE "prompt_text"
91 #define PRM_SPARE_SLIDER_TOKEN \
92  PRM_SPARE_BUILTIN_NAMESPACE "slider"
93 #define PRM_SPARE_SWITCHER_BASE \
94  PRM_SPARE_BUILTIN_NAMESPACE "switcher"
95 #define PRM_SPARE_IMAGE_ALLOW_VIDEO_TOKEN \
96  PRM_SPARE_BUILTIN_NAMESPACE "allow_video"
97 #define PRM_SPARE_RAMP_GRAYSCALE_DEFAULT_TOKEN \
98  PRM_SPARE_BUILTIN_NAMESPACE "ramp_grayscale_default"
99 #define PRM_SPARE_FILE_CHOOSER_MULTIPLE_SELECT_TOKEN \
100  PRM_SPARE_BUILTIN_NAMESPACE "filechooser_multiple_select"
101 
102 // When you add a tag above, make sure to add it to $SHS/properties/other/standardparmtags.ds
103 
104 //
105 // Declarations of *old*, built-in parm spare data tokens (tag names).
106 // WARNING: Do not add new spare data tokens to this list!!!
107 // Add the tokens to the new list above and include the SideFX
108 // namespace in the tokens.
109 //
110 #define PRM_SPARE_AUTOSCOPE_TOKEN "autoscope"
111 #define PRM_SPARE_BUTTON_ICON_TOKEN "button_icon"
112 #define PRM_SPARE_CODE_GENERATION_TOKEN "code_generation"
113 #define PRM_SPARE_COLOR_DYN_TOKEN "colordyn"
114 #define PRM_SPARE_COLOR_TYPE_TOKEN "colortype"
115 #define PRM_SPARE_COLOR_WHEEL_TOKEN "colorwheel"
116 #define PRM_SPARE_COOK_DEPENDENT_TOKEN "cook_dependent"
117 #define PRM_SPARE_EDITOR_LANG_PROLOGUE_TOKEN "editorlang_prologue"
118 #define PRM_SPARE_EDITOR_LANG_VARIABLE_COLLECTOR_TOKEN "editorlang_variablecollector"
119 #define PRM_SPARE_EDITOR_LANG_TOKEN "editorlang"
120 #define PRM_SPARE_EDITOR_LINES_TOKEN "editorlines"
121 #define PRM_SPARE_EDITOR_TOKEN "editor"
122 #define PRM_SPARE_FILE_CHOOSER_MODE_TOKEN "filechooser_mode"
123 #define PRM_SPARE_FILE_CHOOSER_PATTERN_TOKEN "filechooser_pattern"
124 #define PRM_SPARE_GROUP_TYPE_TOKEN "group_type"
125 #define PRM_SPARE_GROUP_DEFAULT_TOKEN "group_default"
126 #define PRM_SPARE_MULTI_START_OFFSET_TOKEN "multistartoffset"
127 #define PRM_SPARE_NETREF_TOKEN "netref"
128 #define PRM_SPARE_OPFILTER_TOKEN "opfilter"
129 #define PRM_SPARE_OPPATH_KEYWORDS_TOKEN "oppathkeywords"
130 #define PRM_SPARE_OPRELATIVE_TOKEN "oprelative"
131 #define PRM_SPARE_PARM_VOP_TOKEN "parmvop"
132 #define PRM_SPARE_RAMP_BASIS_DEFAULT_TOKEN "rampbasisdefault"
133 #define PRM_SPARE_RAMP_BASIS_TOKEN "rampbasis"
134 #define PRM_SPARE_RAMP_BASIS_VAR_TOKEN "rampbasis_var"
135 #define PRM_SPARE_RAMP_COLOR_DEFAULT_TOKEN "rampcolordefault"
136 #define PRM_SPARE_RAMP_COLOR_TYPE_TOKEN "rampcolortype"
137 #define PRM_SPARE_RAMP_FLOAT_DEFAULT_TOKEN "rampfloatdefault"
138 #define PRM_SPARE_RAMP_KEYS_TOKEN "rampkeys"
139 #define PRM_SPARE_RAMP_KEYS_VAR_TOKEN "rampkeys_var"
140 #define PRM_SPARE_RAMP_SHOW_CONTROLS_DEFAULT_TOKEN "rampshowcontrolsdefault"
141 #define PRM_SPARE_RAMP_VALUES_TOKEN "rampvalues"
142 #define PRM_SPARE_RAMP_VALUES_VAR_TOKEN "rampvalues_var"
143 #define PRM_SPARE_SCRIPT_ACTION_HELP_TOKEN "script_action_help"
144 #define PRM_SPARE_SCRIPT_ACTION_ICON_TOKEN "script_action_icon"
145 #define PRM_SPARE_SCRIPT_ACTION_TOKEN "script_action"
146 #define PRM_SPARE_SCRIPT_CALLBACK_TOKEN "script_callback"
147 #define PRM_SPARE_SCRIPT_CALLBACK_LANGUAGE_TOKEN "script_callback_language"
148 #define PRM_SPARE_SCRIPT_CALLBACK_FROM_UI_TOKEN "script_callback_from_ui"
149 #define PRM_SPARE_SCRIPT_RITYPE_TOKEN "script_ritype"
150 #define PRM_SPARE_SCRIPT_UNQUOTED_TOKEN "script_unquoted"
151 #define PRM_SPARE_SHADER_PARM_CONTEXTS_TOKEN "shaderparmcontexts"
152 #define PRM_SPARE_UNITS_TOKEN "units"
153 #define PRM_SPARE_XCF_MODE_TOKEN "xcfmode"
154 #define PRM_SPARE_VARYING_DEFAULT_TOKEN "varying_default"
155 
156 class UT_BitArray;
157 class UT_StringArray;
158 class UT_StringHolder;
159 class UT_StringRef;
160 class PRM_Parm;
161 class prm_SharedString;
162 
163 typedef int (*PRM_SpareCallback)(const char *token, const char *value);
164 typedef int (*PRM_SpareCallbackWithData)(const char *token,
165  const char *value, void *data);
166 
167 typedef std::pair<const char *, const char *> PRM_SpareToken;
169 
171 {
172 public:
173  /// The constructor for the PRM_SpareData should takes a variadic number of
174  /// token/value pairs. For example:
175  /// static PRM_SpareData(PRM_SpareArgs()
176  /// << PRM_SpareToken("token1", "value1")
177  /// << PRM_SpareToken("token2", "value2")
178  /// ...);
179  explicit PRM_SpareData(const PRM_SpareArgs &args);
180 
181  /// A single token value pair
182  explicit PRM_SpareData(const PRM_SpareToken &pair);
183  PRM_SpareData();
184  ~PRM_SpareData();
185 
187  PRM_SpareData &operator=(const PRM_SpareData &copy);
188 
189  uint entries() const;
190 
191  void clear();
192  void mergeFrom(const PRM_SpareData &ref);
193  void copyFrom(const PRM_SpareData &ref);
194 
195  bool containsAny(const PRM_SpareData &ref) const;
196  bool containsAll(const PRM_SpareData &ref) const;
197 
198  // The the value associated with a particular token.
199  const char *getValue(const UT_StringRef &token) const;
200 
201  // Because these are traverseConst functions, we can't remove any items
202  // from the table in the traversal functions.
203  void traverseConst(PRM_SpareCallback f) const;
204  void traverseConst(PRM_SpareCallbackWithData f, void *data) const;
205 
206 
207  // NOTE: When addTokenValue is called with a null pointer for the value,
208  // the token is deleted from the spare data.
209  void addTokenValue(const UT_StringHolder &token, const char *value);
210  void deleteTokenValue(const UT_StringRef &token);
211 
212  // For backward compatibility with the ScriptParmSpareData class, we have
213  // these functions.
214  static const char *getScriptCallbackToken()
216  void setCallbackData(const char *str)
217  { addTokenValue(getScriptCallbackToken(), str); }
218  const char *getCallbackData() const
219  { return getValue(getScriptCallbackToken()); }
220 
221  static const char *getScriptCallbackLanguageToken()
223  void setCallbackLanguage(CH_ScriptLanguage language);
224  CH_ScriptLanguage getCallbackLanguage() const;
225 
226  static const char *getScriptCallbackFromUIToken()
228  void setCallbackFromUI(bool enable);
229  bool getCallbackFromUI() const;
230 
231  void setRenderManType(const char *str)
232  { addTokenValue(PRM_SPARE_SCRIPT_RITYPE_TOKEN, str); }
233  const char *getRenderManType() const
235 
236  void setOpFilter(const char *str)
237  { addTokenValue(PRM_SPARE_OPFILTER_TOKEN, str); }
238  const char *getOpFilter() const
240 
241  void setOpRelative(const char *str)
242  { addTokenValue(PRM_SPARE_OPRELATIVE_TOKEN, str); }
243  const char *getOpRelative() const
245 
246  static const char * getUnquotedStateToken()
249  { addTokenValue(getUnquotedStateToken(), "1"); }
250  bool getUnquotedState() const
251  { return getValue(getUnquotedStateToken()) != 0; }
252 
253  void setMultiStartOffset(int value);
254  int getMultiStartOffset() const;
255 
256  void setVisibleTabs(const UT_BitArray &values);
257  void getVisibleTabs(UT_BitArray &values) const;
258  bool getVisibleTab(int tabidx) const;
259 
260  // Ramp
261  static const char * getRampBasisDefaultToken()
263  void setRampBasisDefault(const char *value)
264  { addTokenValue(getRampBasisDefaultToken(),value); }
265  const char * getRampBasisDefault() const
266  { return getValue(getRampBasisDefaultToken()); }
267 
268  static const char * getRampShowControlsDefaultToken()
270  void setRampShowControlsDefault(bool value)
271  {
272  addTokenValue(getRampShowControlsDefaultToken(),
273  value ? "1" : "0");
274  }
276  {
277  const char *n, *v;
278  n = getRampShowControlsDefaultToken();
279  v = getValue(n);
280  if (!v)
281  return true;
282  else
283  return *v != '0';
284  }
285 
286  static const char * getRampGrayscaleDefaultToken()
288  void setRampGrayscaleDefault(bool value)
289  {
290  addTokenValue(getRampGrayscaleDefaultToken(),
291  value ? "1" : "0");
292  }
294  {
295  const char *n, *v;
296  n = getRampGrayscaleDefaultToken();
297  v = getValue(n);
298  if (!v)
299  return false;
300  else
301  return *v != '0';
302  }
303 
304  static const char * getRampColorTypeToken()
306  static const char * getRampColorTypeValueToken(UT_ColorType color_type);
307  void setRampColorType(UT_ColorType color_type);
308  UT_ColorType getRampColorType() const;
309 
310  static const char * getRampBasisVarToken()
312  static const char * getRampKeysVarToken()
314  static const char * getRampValuesVarToken()
316 
317  void setRampBasisVar(const char *value)
318  { addTokenValue(getRampBasisVarToken(), value); }
319  const char * getRampBasisVar() const
320  { return getValue(getRampBasisVarToken()); }
321  void setRampKeysVar(const char *value)
322  { addTokenValue(getRampKeysVarToken(), value); }
323  const char * getRampKeysVar() const
324  { return getValue(getRampKeysVarToken()); }
325  void setRampValuesVar(const char *value)
326  { addTokenValue(getRampValuesVarToken(), value); }
327  const char * getRampValuesVar() const
328  { return getValue(getRampValuesVarToken()); }
329 
330  static const char * getColorRampDefaultToken()
332  const char * getColorRampDefaultValue() const
333  { return getValue(getColorRampDefaultToken()); }
334  static const char * getFloatRampDefaultToken()
336  const char * getFloatRampDefaultValue() const
337  { return getValue(getFloatRampDefaultToken()); }
338  void setRampDefaultFromParm(const PRM_Parm &ramp_parm);
339  void getRampDefaultToParm(PRM_Parm &ramp_parm) const;
340 
341  // Color UI Mode, Wheel flag and Dynamic flag
342  static const char * getColorTypeToken()
343  { return PRM_SPARE_COLOR_TYPE_TOKEN; }
344  static const char * getColorTypeValueToken(PRM_ColorType color_type);
345  void setColorType(PRM_ColorType color_type);
346  PRM_ColorType getColorType() const;
347 
348  static const char * getColorWheelToken()
349  { return PRM_SPARE_COLOR_WHEEL_TOKEN; }
350  void setColorWheel(bool value);
351  bool getColorWheel() const;
352 
353  static const char * getColorDynamicToken()
354  { return PRM_SPARE_COLOR_DYN_TOKEN; }
355  void setColorDynamic(bool value);
356  bool getColorDynamic() const;
357 
358  static const char * getKeyValueDictKeyLabelToken()
360  void setKeyValueDictKeyLabel(const char *label);
361  const char *getKeyValueDictKeyLabel() const;
362  static const char * getKeyValueDictValueLabelToken()
364  void setKeyValueDictValueLabel(const char *label);
365  const char *getKeyValueDictValueLabel() const;
366  static const char * getKeyValueDictUseChooserToken()
368  void setKeyValueDictUseChooser(bool use_chooser);
369  bool getKeyValueDictUseChooser() const;
370  static const char * getKeyValueDictChooserLabelToken()
372  void setKeyValueDictChooserLabel(const char *label);
373  const char *getKeyValueDictChooserLabel() const;
376  void setKeyValueDictChooserCallback(const char *label);
377  const char *getKeyValueDictChooserCallback() const;
378 
379  void setXCFMode(const char *value)
380  { return addTokenValue(PRM_SPARE_XCF_MODE_TOKEN, value); }
381  const char *getXCFMode() const
383 
384  const char *getScriptAction() const;
385  const char *getScriptActionHelp() const;
386  const char *getScriptActionIcon() const;
387  const char *getButtonIcon() const;
388 
389  bool getUseEditor() const;
390  /// The string will be treated as this language for syntax highlighting
391  /// and and completion. NOTE: Language names are case insensitive, you
392  /// should accept both VEX, Vex, and vex.
393  const char *getEditorLanguage() const
395  const char *getEditorLanguagePrologue() const
399  void getEditorLinesRange(int &lines_min, int &lines_max) const;
400  static inline int getEditorLinesRangeDefaultMin() { return 8; }
401  static inline int getEditorLinesRangeDefaultMax() { return 40; }
402 
403  static const char *getXCFModeFloatValToken() { return "float"; }
404 
405  // Token for whether the template will be used for cooking
406  static const char * getCookDependentToken()
408  // Get state of cook_dependent flag.
409  // This is only used for SPARE parameters, which if this tag doesn't exist,
410  // the spare parm defaults to false for cook dependent.
411  bool getCookDependent() const;
412  // Set state of cook_dependent flag.
413  // This is only used for SPARE parameters, which if this tag doesn't exist,
414  // the spare parm defaults to false for cook dependent.
415  void setCookDependent(bool flag);
416 
417  // Token for whether the parm on the VOP should regenerate code
418  static const char *getCodeGenDependentToken()
420  // Get the state of the code_generation flag
421  // This is only used for SPARE parameters, which if this tag doesn't exist,
422  // the spare parm defaults to true for code generation
423  bool getCodeGenDependent() const;
424  // Set state of code_generation flag.
425  // This is only used for SPARE parameters, which if this tag doesn't exist,
426  // the spare parm defaults to true for code generation
427  void setCodeGenDependent(bool flag);
428 
429  int64 getMemoryUsage(bool inclusive) const;
430 
431  static const char *getOpFilterKeyFromName(const char *name);
432  static const char *getOpFilterKeyFromLabel(const char *name);
433  static const char *getOpFilterNameFromKey(const char *key);
434  static const char *getOpFilterLabelFromKey(const char *key);
435  // End of backward compatibility
436 
437  // Convenience spare data you might want to use
438  static PRM_SpareData objNetRef; // /obj
439  static PRM_SpareData chNetRef; // /ch
440  static PRM_SpareData ropNetRef; // /out
441 
442  static PRM_SpareData objPath; // !!OBJ!!
443  static PRM_SpareData objGeometryPath; // !!OBJ/GEOMETRY!!
444  static PRM_SpareData objLightPath; // !!OBJ/LIGHT!!
445  static PRM_SpareData objBonePath; // !!OBJ/BONE!!
446  static PRM_SpareData objMusclePath; // !!OBJ/MUSCLE!!
447  static PRM_SpareData objCameraPath; // !!OBJ/CAMERA!!
448  static PRM_SpareData anyCameraPath; // !!CUSTOM/CAMERA!!
449  static PRM_SpareData dopPath; // !!DOP!!
450  static PRM_SpareData sopPath; // !!SOP!!
451  static PRM_SpareData popPath; // !!POP!!
452  static PRM_SpareData ropPath; // !!ROP!!
453  static PRM_SpareData copPath; // !!COP!!
454  static PRM_SpareData cop2Path; // !!COP2!!
455  static PRM_SpareData chopPath; // !!CHOP!!
456  static PRM_SpareData constraintsPath; // !!CHOP!!
457  static PRM_SpareData shopPath; // !!SHOP!!
458  static PRM_SpareData shopProperties; // !!SHOP/PROPERTIES!!
459  static PRM_SpareData shopMaterial; // !!SHOP/MATERIAL!!
460  static PRM_SpareData shopSurface; // !!SHOP/SURFACE!!
461  static PRM_SpareData shopDisplacement; // !!SHOP/DISPLACEMENT!!
462  static PRM_SpareData shopSurfaceShadow; // !!SHOP/SURFACE_SHADOW!!
463  static PRM_SpareData shopBackground; // !!SHOP/BACKGROUND!!
464  static PRM_SpareData shopGeometry; // !!SHOP/GEOMETRY!!
465  static PRM_SpareData shopAtmosphere; // !!SHOP/ATMOSPHERE!!
466  static PRM_SpareData shopPhoton; // !!SHOP/PHOTON!!
467  static PRM_SpareData shopPhotonVolume; // !!SHOP/PHOTONVOLUME!!
468  static PRM_SpareData shopContour; // !!SHOP/CONTOUR!!
469  static PRM_SpareData shopLight; // !!SHOP/LIGHT!!
470  static PRM_SpareData shopEmitter; // !!SHOP/EMITTER!!
471  static PRM_SpareData shopLightShadow; // !!SHOP/LIGHT_SHADOW!!
472  static PRM_SpareData shopLens; // !!SHOP/LENS!!
473  static PRM_SpareData shopOutput; // !!SHOP/OUTPUT!!
474  static PRM_SpareData shopContourStore; // !!SHOP/CONTOUR_STORE!!
475  static PRM_SpareData shopContourContrast; // !!SHOP/CONTOUR_CONTRAST!!
476  static PRM_SpareData shopImage3d; // !!SHOP/IMAGE3D!!
477  static PRM_SpareData shopCVEX; // !!SHOP/CVEX!!
478  static PRM_SpareData shopCoShader; // !!SHOP/COSHADER!!
479  static PRM_SpareData vopPath; // !!VOP!!
480  static PRM_SpareData lopPath; // !!LOP!!
481  static PRM_SpareData topPath; // !!TOP!!
482  static PRM_SpareData topSchedulerPath; // !!TOP/SCHEDULER!!
483  static PRM_SpareData topProcessorPath; // !!TOP/PROCESSOR!!
484  static PRM_SpareData topPartitionerPath; // !!TOP/PARTITIONER!!
485  static PRM_SpareData topMapperPath; // !!TOP/MAPPER!!
486  static PRM_SpareData filterMaterial; // !!CUSTOM/MATERIAL!!
487 
488  static PRM_SpareData autoScope; // autoscope
489 
490  static PRM_SpareData multiStartOffsetZero; // multistart offset of zero
491  static PRM_SpareData multiStartOffsetOne; // multistart offset of one
492 
496  static PRM_SpareData unitsMass; // kg1
497  static PRM_SpareData unitsPerMass; // kg-1
498  static PRM_SpareData unitsTime; // s1
501  static PRM_SpareData unitsVelocity; // m1s-1
505  static PRM_SpareData unitsForce; // kg1m1s-2
506  static PRM_SpareData unitsForceDensity; // kg1m-2s-2
507  static PRM_SpareData unitsImpulse; // kg1m1s-1
508  static PRM_SpareData unitsTorque; // kg1m2s-2
509  static PRM_SpareData unitsDrag; // kg1s-1
510  static PRM_SpareData unitsAngDrag; // kg1m2s-1
511  static PRM_SpareData unitsPressure; // kg1m-1s-2
516  static PRM_SpareData unitsAreaDensity; // kg1m-2
519  static PRM_SpareData unitsDensity; // kg1m-3
520  static PRM_SpareData unitsDensityPerTime; // kg1m-3s-1
522  static PRM_SpareData unitsNone; // ""
523 
524  static PRM_SpareData rampBasisDefault; // rampbasis "ramp_basis"
525  static PRM_SpareData rampKeysDefault; // rampkeys "ramp_keys"
526  static PRM_SpareData rampValuesDefault; // rampvalues "ramp_values"
527 
528  static PRM_SpareData attribAccessR; // "sidefx::attrib_access" "read"
529  static PRM_SpareData attribAccessW; // "sidefx::attrib_access" "write"
530  static PRM_SpareData attribAccessRW; // "sidefx::attrib_access" "readwrite"
531 
532  static PRM_SpareData connectorKindNone; // "sidefx::connector_kind" "none"
533  static PRM_SpareData connectorKindIn; // "sidefx::connector_kind" "in"
534  static PRM_SpareData connectorKindOut; // "sidefx::connector_kind" "out"
535  static PRM_SpareData connectorKindInOut;// "sidefx::connector_kind" "inout"
536 
537  static PRM_SpareData shaderIsShaderParm; // "sidefx::shader_isparm" "1"
538  static PRM_SpareData shaderIsNotShaderParm; // "sidefx::shader_isparm" "0"
539 
540  /// Used to set a space- or comma-separated list of globs to use as
541  /// file filter for parameters of type @c PRM_FILE (e.g. "*.txt *.log").
542  static const char *getFileChooserPatternToken()
544 
545  static const char *getFileChooserModeToken()
547  static const char *getFileChooserModeValRead()
548  { return "read"; }
549  static const char *getFileChooserModeValWrite()
550  { return "write"; }
551  static const char *getFileChooserModeValReadAndWrite()
552  { return "read_and_write"; }
555 
556  static PRM_SpareData fileChooserModeRead; // filechooser_mode "read"
557  static PRM_SpareData fileChooserModeWrite; // filechooser_mode "write"
558  static PRM_SpareData fileChooserModeReadAndWrite; // ... "read_and_write"
559 
560  static PRM_SpareData imageAllowsVideo; // "sidefx::allow_video" "1"
561  static PRM_SpareData imageDisallowsVideo; // "sidefx::allow_video" "0"
562 
563  static PRM_SpareData stringFloatXCF; // float XCF in string field
564 
565  static const char *getScriptActionToken()
567  static const char *getScriptActionHelpToken()
569  static const char *getScriptActionIconToken()
571  static const char *getButtonIconToken()
572  { return PRM_SPARE_BUTTON_ICON_TOKEN; }
573 
574  static const char *getEditorToken()
575  { return PRM_SPARE_EDITOR_TOKEN; }
576  static PRM_SpareData stringEditor; // Use a text editor for strings
577 
578  static const char *getEditorLanguageToken()
579  { return PRM_SPARE_EDITOR_LANG_TOKEN; }
585 
586  /// Number of lines to show by default. This value can be set as either
587  /// a single number or a range, e.g. '10-50'. The minimum number is what
588  /// the editor will originally show up as, but will attempt to expand up to
589  /// the maximum.
590  static const char *getEditorLinesRangeToken()
591  { return PRM_SPARE_EDITOR_LINES_TOKEN; }
592 
593  // token indicating the parameter comes from a Parameter VOP (ie it is a
594  // shader parameter)
595  static const char * getParmVopVarToken()
596  { return PRM_SPARE_PARM_VOP_TOKEN; }
597 
598  // space-separated list of shading contexts, which a material parameter
599  // belongs to, ie, shaders for each of these contexts actually have
600  // this parameter as an argument, since material may contain other shaders
601  // for other contexts to which a parameter does not apply
602  static const char * getShaderParmContextsToken()
604 
605  // token specifying special keywords that are legal in an oppath parameter
606  // (in addition to the node path itself)
607  static const char * getOpPathKeywordsToken()
609 
610  // token for unit specification
611  static const char * getUnitsToken()
612  { return PRM_SPARE_UNITS_TOKEN; }
613 
614  // token for group specialization (simple/collapsible/toggle groups).
615  static const char *getGroupTypeToken()
616  { return PRM_SPARE_GROUP_TYPE_TOKEN; }
622  static const char *getGroupDefaultToken()
624 
625  // Marks parameter has having varying default values
626  // Defaults to "0"
627  static const char *getVaryingDefaultToken()
630  bool getHasVaryingDefault() const;
631  void setHasVaryingDefault(bool f);
632 
633  // Gets information about whether this parm accepts one or more USD
634  // primitive paths, and/or USD collections.
635  static const char *getUsdPathTypeToken()
636  { return PRM_SPARE_USDPATHTYPE_TOKEN; }
639  const char *getUsdPathType() const;
640 
641  // Gets a value that describes which input's stage is the source for
642  // the primitive(s) in this parameter. This string is evaluated by the
643  // CH_Manager, so it can be a constant (0, 1, or 2) or an expression
644  // that looks at other parameter values.
645  static const char *getUsdPathInputToken()
646  { return PRM_SPARE_USDPATHINPUT_TOKEN; }
649  const char *getUsdPathInput() const;
650 
651  // Identifies the node parameter as shader parameter.
652  static const char *getIsShaderParmToken()
654 
655  // Forces the translation of shader parameter even if it's at default value.
656  static const char *getForceParmValueToken()
658 
659  // Marks a data parm for whether or not it should be saved to disk
660  static const char *getSaveValueToken()
661  { return PRM_SPARE_SAVE_VALUE_TOKEN; }
662  static PRM_SpareData saveValueAlways; // "sidefx::save_value" "1"
663  static PRM_SpareData saveValueNever; // "sidefx::save_value" "0"
664  const char *getSaveValue() const;
665  void setSaveValue(bool flag);
666 
667  // Houdini Engine for Maya: Informs Maya that this parameter should be able
668  // to be set by component selection.
675 
676  // Changes the look of the parm. Used to switch between separator and spacer
677  // Height is used to adjust the dimension of the parameter (value * 0.1 inches)
678  static const char *getLookToken()
679  { return PRM_SPARE_LOOK_TOKEN; }
680  static const char *getLayoutHeightToken()
682 
683  const char *getLookValue() const;
684  void setLookValue(const char *value);
685  const char *getLayoutHeightValue() const;
686  void setLayoutHeightValue(const char *value);
687  static PRM_SpareData lookBlank; // "sidefx::look" "blank"
688  static PRM_SpareData lookClassic; // "sidefx::look" "classic"
689  static PRM_SpareData lookIcon; // "sidefx::look" "icon"
690  static PRM_SpareData lookHeading; // "sidefx::look" "heading"
691  static PRM_SpareData lookBlock; // "sidefx::look" "block"
692  static PRM_SpareData lookSquare; // "sidefx::look" "square"
693  static PRM_SpareData lookTooltip; // "sidefx::look" "tooltip"
694  static PRM_SpareData layoutHeightSmall; // "sidefx::layout_height" "small"
695  static PRM_SpareData layoutHeightMedium; // "sidefx::layout_height" "medium"
696  static PRM_SpareData layoutHeightLarge; // "sidefx::layout_height" "large"
698 
699  // Header toggle reference for the collapsible folder
700  static const char *getHeaderToggleToken()
702 
703  // Header parm reference for the collapsible folder
704  static const char *getHeaderParmToken()
705  { return PRM_SPARE_HEADER_PARM_TOKEN; }
706 
707  // Header label reference for the collapsible folder
708  static const char *getHeaderLabelToken()
709  { return PRM_SPARE_HEADER_LABEL_TOKEN; }
710 
711  static const char *getMultiLabelToken()
712  { return PRM_SPARE_MULTI_LABEL_TOKEN; }
713  const char *getMultiLabel() const;
714  // Prompt text (parm reference) for input fields
715  static const char *getPromptParmToken()
716  { return PRM_SPARE_PROMPT_PARM_TOKEN; }
717 
718  // Prompt text for input fields
719  static const char *getPromptTextToken()
720  { return PRM_SPARE_PROMPT_TEXT_TOKEN; }
721 
722  // Slider options. Snap or non-snap
723  static const char *getSliderToken()
724  { return PRM_SPARE_SLIDER_TOKEN; }
725  static PRM_SpareData sliderSnapToInt; // "sidefx::slider" "snap_to_int"
726  static PRM_SpareData sliderNone; // "sidefx::slider" "none"
727 
728  // The original switcher name before auto-renaming
729  static const char *getSwitcherBaseToken()
730  { return PRM_SPARE_SWITCHER_BASE; }
731 
732  // Specifies if this image parm can accept videos
733  static const char *getImageAllowVideoToken()
735 
736  /// Return true if the given token is a built-in (internally used) spare
737  /// data token.
738  static bool isBuiltInToken(const UT_StringRef &token);
739 
740  /// Return a range of the built-in tags names.
741  static void builtInTokens(UT_StringArray &tokens);
742 
743 private:
745 };
746 
747 #endif
static PRM_SpareData mayaComponentSelectionTypeFace
static PRM_SpareData objLightPath
static PRM_SpareData objMusclePath
static PRM_SpareData shopOutput
static const char * getVaryingDefaultToken()
static PRM_SpareData shopEmitter
static PRM_SpareToken groupTypeCollapsibleToken
static PRM_SpareData lookSquare
static PRM_SpareData stringEditorLangPython
static const char * getColorWheelToken()
static PRM_SpareData rampValuesDefault
#define PRM_SPARE_OPRELATIVE_TOKEN
static PRM_SpareData unitsTime
const char * getXCFMode() const
#define PRM_SPARE_SCRIPT_ACTION_HELP_TOKEN
static PRM_SpareData shopCVEX
typedef int(APIENTRYP RE_PFNGLXSWAPINTERVALSGIPROC)(int)
#define PRM_SPARE_COLOR_TYPE_TOKEN
#define PRM_SPARE_CODE_GENERATION_TOKEN
#define PRM_SPARE_MAYA_COMPONENT_SELECTION_TYPE_TOKEN
Definition: PRM_SpareData.h:71
static PRM_SpareData anyCameraPath
static PRM_SpareData unitsLinearDensity
static PRM_SpareData topSchedulerPath
static const char * getEditorLanguageToken()
static const char * getRampColorTypeToken()
static const char * getXCFModeFloatValToken()
static PRM_SpareData vopPath
static PRM_SpareData ropPath
GLuint GLsizei const GLchar * label
Definition: glcorearb.h:2545
#define PRM_SPARE_FILE_CHOOSER_MULTIPLE_SELECT_TOKEN
Definition: PRM_SpareData.h:99
static PRM_SpareData connectorKindIn
const char * getEditorLanguage() const
const char * getEditorLanguagePrologue() const
const char * getOpFilter() const
static PRM_SpareData sliderSnapToInt
static const char * getLookToken()
#define PRM_SPARE_USDPATHINPUT_TOKEN
Definition: PRM_SpareData.h:59
void setCallbackData(const char *str)
static PRM_SpareData shopPath
static PRM_SpareData dopPath
static PRM_SpareData unitsImpulse
static PRM_SpareData shopDisplacement
static PRM_SpareData connectorKindNone
static PRM_SpareData fileChooserModeReadAndWrite
GLboolean * data
Definition: glcorearb.h:131
OIIO_UTIL_API bool copy(string_view from, string_view to, std::string &err)
const GLdouble * v
Definition: glcorearb.h:837
static const char * getCookDependentToken()
#define PRM_SPARE_XCF_MODE_TOKEN
void setXCFMode(const char *value)
#define PRM_SPARE_RAMP_BASIS_DEFAULT_TOKEN
static const char * getRampKeysVarToken()
#define PRM_SPARE_RAMP_BASIS_VAR_TOKEN
static PRM_SpareData shaderIsShaderParm
#define PRM_SPARE_SCRIPT_CALLBACK_LANGUAGE_TOKEN
GLsizei const GLfloat * value
Definition: glcorearb.h:824
static const char * getScriptCallbackLanguageToken()
static const char * getParmVopVarToken()
#define PRM_SPARE_SCRIPT_ACTION_ICON_TOKEN
static PRM_SpareData stringFloatXCF
#define PRM_SPARE_SLIDER_TOKEN
Definition: PRM_SpareData.h:91
static PRM_SpareData unitsPerMass
static PRM_SpareData stringEditorLangExpr
static const char * getButtonIconToken()
#define PRM_SPARE_LOOK_TOKEN
Definition: PRM_SpareData.h:73
static PRM_SpareData shopSurface
static const char * getScriptCallbackToken()
static PRM_SpareData objGeometryPath
bool getUnquotedState() const
static const char * getRampBasisDefaultToken()
static PRM_SpareData unitsPressure
static PRM_SpareData layoutLabelIgnoreTextWidth
static PRM_SpareData topProcessorPath
#define PRM_SPARE_SCRIPT_RITYPE_TOKEN
#define PRM_SPARE_RAMP_FLOAT_DEFAULT_TOKEN
const char * getRampBasisDefault() const
static const char * getScriptCallbackFromUIToken()
static const char * getHeaderParmToken()
static const char * getKeyValueDictChooserLabelToken()
static PRM_SpareToken usdPathTypePrim
static PRM_SpareData layoutHeightMedium
static const char * getGroupTypeToken()
#define PRM_SPARE_KEY_VALUE_DICT_CHOOSER_CALLBACK_TOKEN
Definition: PRM_SpareData.h:49
static const char * getPromptParmToken()
static PRM_SpareData stringEditor
static PRM_SpareData shopPhoton
static PRM_SpareData groupTypeCollapsibleExpanded
static PRM_SpareData unitsPerSquareTime
void setUnquotedState()
std::pair< const char *, const char * > PRM_SpareToken
UT_VariadicT< PRM_SpareToken > PRM_SpareArgs
#define PRM_SPARE_SAVE_VALUE_TOKEN
Definition: PRM_SpareData.h:69
static const char * getFileChooserPatternToken()
static PRM_SpareData unitsPerLength
#define PRM_SPARE_IS_SHADER_PARM_TOKEN
Definition: PRM_SpareData.h:61
static PRM_SpareData attribAccessW
#define PRM_SPARE_RAMP_VALUES_VAR_TOKEN
static const char * getImageAllowVideoToken()
static PRM_SpareData shopContourContrast
static PRM_SpareData attribAccessRW
static PRM_SpareData topPath
#define PRM_SPARE_UNITS_TOKEN
static const char * getHeaderToggleToken()
__hostdev__ float getValue(uint32_t i) const
Definition: NanoVDB.h:5578
#define PRM_SPARE_OPPATH_KEYWORDS_TOKEN
static const char * getIsShaderParmToken()
#define PRM_SPARE_HEADER_TOGGLE_TOKEN
Definition: PRM_SpareData.h:79
static PRM_SpareData multiStartOffsetOne
static PRM_SpareData unitsAngVelocity
void setRampGrayscaleDefault(bool value)
static PRM_SpareData cop2Path
static const char * getSliderToken()
#define PRM_SPARE_KEY_VALUE_DICT_USE_CHOOSER_TOKEN
Definition: PRM_SpareData.h:45
static const char * getKeyValueDictUseChooserToken()
static PRM_SpareData groupTypeCollapsible
#define PRM_SPARE_GROUP_DEFAULT_TOKEN
#define PRM_SPARE_SCRIPT_CALLBACK_TOKEN
static PRM_SpareData shopAtmosphere
#define PRM_SPARE_KEY_VALUE_DICT_VALUE_LABEL_TOKEN
Definition: PRM_SpareData.h:43
static PRM_SpareData unitsAreaDensity
static PRM_SpareData unitsLinearDensityPerSquareTime
GLdouble n
Definition: glcorearb.h:2008
GLfloat f
Definition: glcorearb.h:1926
static const char * getUnitsToken()
#define PRM_SPARE_FILE_CHOOSER_MODE_TOKEN
static PRM_SpareData chNetRef
const char * getCallbackData() const
static int getEditorLinesRangeDefaultMin()
static PRM_SpareData unitsMass
static PRM_SpareData rampBasisDefault
static PRM_SpareData unitsDrag
static PRM_SpareData objNetRef
static const char * getKeyValueDictKeyLabelToken()
GLint ref
Definition: glcorearb.h:124
#define PRM_SPARE_EDITOR_LINES_TOKEN
static PRM_SpareData sopPath
static PRM_SpareData topMapperPath
static const char * getScriptActionIconToken()
static PRM_SpareData connectorKindInOut
static PRM_SpareData filterMaterial
static PRM_SpareToken usdPathInputFirst
static PRM_SpareData varyingDefault
static PRM_SpareData unitsLength
const char * getFloatRampDefaultValue() const
static const char * getOpPathKeywordsToken()
static PRM_SpareData unitsAngDrag
#define PRM_SPARE_COLOR_WHEEL_TOKEN
#define PRM_SPARE_VARYING_DEFAULT_TOKEN
static PRM_SpareData saveValueAlways
static PRM_SpareData topPartitionerPath
static PRM_SpareToken groupTypeSimpleToken
static PRM_SpareData shopContour
const char * getOpRelative() const
static const char * getKeyValueDictChooserCallbackToken()
#define PRM_SPARE_PROMPT_PARM_TOKEN
Definition: PRM_SpareData.h:87
static PRM_SpareData unitsTorque
static const char * getEditorLinesRangeToken()
#define PRM_SPARE_RAMP_COLOR_DEFAULT_TOKEN
long long int64
Definition: SYS_Types.h:116
static const char * getFileChooserMultipleSelectToken()
static const char * getCodeGenDependentToken()
static PRM_SpareData unitsLinearDensityPerTime
static PRM_SpareData rampKeysDefault
bool getRampShowControlsDefault() const
static PRM_SpareData shopBackground
static PRM_SpareData imageAllowsVideo
static const char * getKeyValueDictValueLabelToken()
static PRM_SpareData shopContourStore
static const char * getColorDynamicToken()
static PRM_SpareData unitsForce
GLuint const GLchar * name
Definition: glcorearb.h:786
static const char * getColorRampDefaultToken()
static PRM_SpareData saveValueNever
#define PRM_SPARE_LAYOUT_HEIGHT_TOKEN
Definition: PRM_SpareData.h:75
static PRM_SpareData sliderNone
static PRM_SpareData multiStartOffsetZero
static PRM_SpareData shopProperties
static const char * getUsdPathTypeToken()
const char * getRampBasisVar() const
static PRM_SpareData constraintsPath
static const char * getRampValuesVarToken()
static const char * getGroupDefaultToken()
#define PRM_SPARE_COOK_DEPENDENT_TOKEN
#define PRM_SPARE_MULTI_LABEL_TOKEN
Definition: PRM_SpareData.h:85
static PRM_SpareData layoutHeightSmall
static PRM_SpareData shaderIsNotShaderParm
#define PRM_SPARE_PROMPT_TEXT_TOKEN
Definition: PRM_SpareData.h:89
static PRM_SpareData unitsNone
static const char * getRampShowControlsDefaultToken()
void setOpFilter(const char *str)
#define PRM_SPARE_HEADER_LABEL_TOKEN
Definition: PRM_SpareData.h:83
#define PRM_SPARE_KEY_VALUE_DICT_CHOOSER_LABEL_TOKEN
Definition: PRM_SpareData.h:47
static const char * getShaderParmContextsToken()
#define PRM_SPARE_RAMP_COLOR_TYPE_TOKEN
static const char * getMayaComponentSelectionTypeToken()
static PRM_SpareData ropNetRef
#define PRM_SPARE_KEY_VALUE_DICT_KEY_LABEL_TOKEN
Definition: PRM_SpareData.h:41
static PRM_SpareData unitsAcceleration
static PRM_SpareData shopGeometry
static const char * getFileChooserModeToken()
PRM_ColorType
Definition: PRM_Type.h:443
static PRM_SpareData unitsAreaDensityPerSquareTime
#define PRM_SPARE_SWITCHER_BASE
Definition: PRM_SpareData.h:93
static PRM_SpareData shopMaterial
static PRM_SpareData chopPath
static const char * getPromptTextToken()
UT_ColorType
Definition: UT_Color.h:24
static const char * getHeaderLabelToken()
const char * getColorRampDefaultValue() const
void setRampBasisDefault(const char *value)
#define PRM_SPARE_PARM_VOP_TOKEN
#define PRM_SPARE_SCRIPT_ACTION_TOKEN
GLenum GLsizei GLsizei GLint * values
Definition: glcorearb.h:1602
#define PRM_SPARE_SCRIPT_UNQUOTED_TOKEN
void setRampKeysVar(const char *value)
static PRM_SpareData objCameraPath
static PRM_SpareData groupTypeSimple
void setRenderManType(const char *str)
#define PRM_SPARE_OPFILTER_TOKEN
static PRM_SpareData shopLightShadow
static PRM_SpareData fileChooserModeWrite
#define PRM_SPARE_RAMP_SHOW_CONTROLS_DEFAULT_TOKEN
const char * getRampValuesVar() const
LeafData & operator=(const LeafData &)=delete
#define PRM_SPARE_EDITOR_LANG_VARIABLE_COLLECTOR_TOKEN
const char * getRampKeysVar() const
static PRM_SpareData stringEditorLangHScript
static const char * getFloatRampDefaultToken()
static PRM_SpareData unitsDensityPerSquareTime
#define PRM_SPARE_EDITOR_LANG_TOKEN
#define PRM_SPARE_FORCE_SHADER_PARM_VAL_TOKEN
Definition: PRM_SpareData.h:63
static PRM_SpareData unitsAngAcceleration
static PRM_SpareData shopImage3d
static PRM_SpareData stringEditorLangVex
static PRM_SpareData connectorKindOut
static int getEditorLinesRangeDefaultMax()
const char * getRenderManType() const
#define PRM_SPARE_BUTTON_ICON_TOKEN
#define PRM_SPARE_HEADER_PARM_TOKEN
Definition: PRM_SpareData.h:81
static PRM_SpareData lookHeading
static PRM_SpareData lookTooltip
static const char * getColorTypeToken()
static PRM_SpareData imageDisallowsVideo
static PRM_SpareData mayaComponentSelectionTypeVertex
#define PRM_SPARE_RAMP_KEYS_VAR_TOKEN
static const char * getFileChooserModeValRead()
**If you just want to fire and args
Definition: thread.h:618
static PRM_SpareData objBonePath
bool getRampGrayscaleDefault() const
void setRampShowControlsDefault(bool value)
static PRM_SpareData stringEditorLangOpenCL
static PRM_SpareData shopPhotonVolume
static PRM_SpareData unitsDensity
static PRM_SpareToken usdPathInputSecond
static const char * getUsdPathInputToken()
#define PRM_SPARE_EDITOR_LANG_PROLOGUE_TOKEN
const char * getEditorLanguageVariableCollector() const
static PRM_SpareData mayaComponentSelectionTypeUV
#define PRM_SPARE_RAMP_GRAYSCALE_DEFAULT_TOKEN
Definition: PRM_SpareData.h:97
static PRM_SpareData lookBlock
static PRM_SpareData mayaComponentSelectionTypeEdge
static const char * getScriptActionHelpToken()
static PRM_SpareData autoScope
static PRM_SpareData shopLens
static const char * getUnquotedStateToken()
static const char * getSwitcherBaseToken()
static const char * getSaveValueToken()
static PRM_SpareData shopLight
static PRM_SpareData unitsPerArea
static const char * getEditorToken()
static PRM_SpareData unitsSpringConstant
void setOpRelative(const char *str)
static PRM_SpareData lopPath
static PRM_SpareData unitsDensityPerTime
static const char * getRampGrayscaleDefaultToken()
static PRM_SpareData unitsForceDensity
#define PRM_SPARE_SHADER_PARM_CONTEXTS_TOKEN
static const char * getScriptActionToken()
#define PRM_SPARE_IMAGE_ALLOW_VIDEO_TOKEN
Definition: PRM_SpareData.h:95
static const char * getRampBasisVarToken()
static PRM_SpareData shopSurfaceShadow
#define PRM_SPARE_SCRIPT_CALLBACK_FROM_UI_TOKEN
static const char * getFileChooserModeValWrite()
void setRampBasisVar(const char *value)
static const char * getForceParmValueToken()
#define PRM_API
Definition: PRM_API.h:10
static PRM_SpareData unitsAreaDensityPerTime
#define PRM_SPARE_COLOR_DYN_TOKEN
unsigned int uint
Definition: SYS_Types.h:45
static PRM_SpareData shopCoShader
static PRM_SpareData copPath
int(* PRM_SpareCallbackWithData)(const char *token, const char *value, void *data)
void setRampValuesVar(const char *value)
static PRM_SpareData lookIcon
#define PRM_SPARE_USDPATHTYPE_TOKEN
Definition: PRM_SpareData.h:57
static PRM_SpareData layoutHeightLarge
static PRM_SpareData popPath
static PRM_SpareData lookBlank
Definition: format.h:1821
static PRM_SpareData unitsPerTime
static PRM_SpareData lookClassic
static PRM_SpareData objPath
CH_ScriptLanguage
#define PRM_SPARE_GROUP_TYPE_TOKEN
static const char * getLayoutHeightToken()
static PRM_SpareData unitsVelocity
static PRM_SpareData attribAccessR
int(* PRM_SpareCallback)(const char *token, const char *value)
static PRM_SpareToken usdPathTypePrimList
#define PRM_SPARE_FILE_CHOOSER_PATTERN_TOKEN
static const char * getMultiLabelToken()
static PRM_SpareData fileChooserModeRead
static const char * getFileChooserModeValReadAndWrite()
#define PRM_SPARE_EDITOR_TOKEN