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_CONNECTOR_LABEL \
58  PRM_SPARE_BUILTIN_NAMESPACE "connector_label"
59 #define PRM_SPARE_USDPATHTYPE_TOKEN \
60  PRM_SPARE_BUILTIN_NAMESPACE "usdpathtype"
61 #define PRM_SPARE_USDPATHINPUT_TOKEN \
62  PRM_SPARE_BUILTIN_NAMESPACE "usdpathinput"
63 #define PRM_SPARE_IS_SHADER_PARM_TOKEN \
64  PRM_SPARE_BUILTIN_NAMESPACE "shader_isparm"
65 #define PRM_SPARE_FORCE_SHADER_PARM_VAL_TOKEN \
66  PRM_SPARE_BUILTIN_NAMESPACE "shader_forceparmval"
67 #define PRM_SPARE_SHADER_PARM_TYPE_TOKEN \
68  PRM_SPARE_BUILTIN_NAMESPACE "shader_parmtype"
69 #define PRM_SPARE_SHADER_PARM_NAME_TOKEN \
70  PRM_SPARE_BUILTIN_NAMESPACE "shader_parmname"
71 #define PRM_SPARE_SAVE_VALUE_TOKEN \
72  PRM_SPARE_BUILTIN_NAMESPACE "save_value"
73 #define PRM_SPARE_MAYA_COMPONENT_SELECTION_TYPE_TOKEN \
74  PRM_SPARE_BUILTIN_NAMESPACE "maya_component_selection_type"
75 #define PRM_SPARE_LOOK_TOKEN \
76  PRM_SPARE_BUILTIN_NAMESPACE "look"
77 #define PRM_SPARE_LAYOUT_HEIGHT_TOKEN \
78  PRM_SPARE_BUILTIN_NAMESPACE "layout_height"
79 #define PRM_SPARE_LAYOUT_LABEL_TOKEN \
80  PRM_SPARE_BUILTIN_NAMESPACE "layout_label"
81 #define PRM_SPARE_HEADER_TOGGLE_TOKEN \
82  PRM_SPARE_BUILTIN_NAMESPACE "header_toggle"
83 #define PRM_SPARE_HEADER_PARM_TOKEN \
84  PRM_SPARE_BUILTIN_NAMESPACE "header_parm"
85 #define PRM_SPARE_HEADER_LABEL_TOKEN \
86  PRM_SPARE_BUILTIN_NAMESPACE "header_label"
87 #define PRM_SPARE_MULTI_LABEL_TOKEN \
88  PRM_SPARE_BUILTIN_NAMESPACE "multi_label"
89 #define PRM_SPARE_PROMPT_PARM_TOKEN \
90  PRM_SPARE_BUILTIN_NAMESPACE "prompt_parm"
91 #define PRM_SPARE_PROMPT_TEXT_TOKEN \
92  PRM_SPARE_BUILTIN_NAMESPACE "prompt_text"
93 #define PRM_SPARE_SLIDER_TOKEN \
94  PRM_SPARE_BUILTIN_NAMESPACE "slider"
95 #define PRM_SPARE_SWITCHER_BASE \
96  PRM_SPARE_BUILTIN_NAMESPACE "switcher"
97 #define PRM_SPARE_IMAGE_ALLOW_VIDEO_TOKEN \
98  PRM_SPARE_BUILTIN_NAMESPACE "allow_video"
99 #define PRM_SPARE_RAMP_GRAYSCALE_DEFAULT_TOKEN \
100  PRM_SPARE_BUILTIN_NAMESPACE "ramp_grayscale_default"
101 #define PRM_SPARE_FILE_CHOOSER_MULTIPLE_SELECT_TOKEN \
102  PRM_SPARE_BUILTIN_NAMESPACE "filechooser_multiple_select"
103 #define PRM_SPARE_RAMP_GALLERY_FOLDER_TOKEN \
104  PRM_SPARE_BUILTIN_NAMESPACE "ramp_gallery_folder"
105 #define PRM_SPARE_RAMP_GALLERY_VIEW_TOKEN \
106  PRM_SPARE_BUILTIN_NAMESPACE "ramp_gallery_view"
107 #define PRM_SPARE_RAMP_OPEN_FULL_GALLERY_TOKEN \
108  PRM_SPARE_BUILTIN_NAMESPACE "ramp_open_full_gallery"
109 #define PRM_SPARE_NOTIFY_VAR_CHANGE_SKIP_DISABLE \
110  PRM_SPARE_BUILTIN_NAMESPACE "notify_var_change_skip_disable"
111 #define PRM_SPARE_NOTIFY_VAR_CHANGE_SKIP_HIDDEN \
112  PRM_SPARE_BUILTIN_NAMESPACE "notify_var_change_skip_hidden"
113 
114 // When you add a tag above, make sure to add it to $SHS/properties/other/standardparmtags.ds
115 
116 //
117 // Declarations of *old*, built-in parm spare data tokens (tag names).
118 // WARNING: Do not add new spare data tokens to this list!!!
119 // Add the tokens to the new list above and include the SideFX
120 // namespace in the tokens.
121 //
122 #define PRM_SPARE_AUTOSCOPE_TOKEN "autoscope"
123 #define PRM_SPARE_BUTTON_ICON_TOKEN "button_icon"
124 #define PRM_SPARE_CODE_GENERATION_TOKEN "code_generation"
125 #define PRM_SPARE_COLOR_DYN_TOKEN "colordyn"
126 #define PRM_SPARE_COLOR_TYPE_TOKEN "colortype"
127 #define PRM_SPARE_COLOR_WHEEL_TOKEN "colorwheel"
128 #define PRM_SPARE_COOK_DEPENDENT_TOKEN "cook_dependent"
129 #define PRM_SPARE_EDITOR_LANG_PROLOGUE_TOKEN "editorlang_prologue"
130 #define PRM_SPARE_EDITOR_LANG_VARIABLE_COLLECTOR_TOKEN "editorlang_variablecollector"
131 #define PRM_SPARE_EDITOR_LANG_TOKEN "editorlang"
132 #define PRM_SPARE_EDITOR_LINES_TOKEN "editorlines"
133 #define PRM_SPARE_EDITOR_TOKEN "editor"
134 #define PRM_SPARE_FILE_CHOOSER_MODE_TOKEN "filechooser_mode"
135 #define PRM_SPARE_FILE_CHOOSER_PATTERN_TOKEN "filechooser_pattern"
136 #define PRM_SPARE_GROUP_TYPE_TOKEN "group_type"
137 #define PRM_SPARE_GROUP_DEFAULT_TOKEN "group_default"
138 #define PRM_SPARE_MULTI_START_OFFSET_TOKEN "multistartoffset"
139 #define PRM_SPARE_NETREF_TOKEN "netref"
140 #define PRM_SPARE_OPFILTER_TOKEN "opfilter"
141 #define PRM_SPARE_OPPATH_KEYWORDS_TOKEN "oppathkeywords"
142 #define PRM_SPARE_OPRELATIVE_TOKEN "oprelative"
143 #define PRM_SPARE_PARM_VOP_TOKEN "parmvop"
144 #define PRM_SPARE_RAMP_BASIS_DEFAULT_TOKEN "rampbasisdefault"
145 #define PRM_SPARE_RAMP_BASIS_TOKEN "rampbasis"
146 #define PRM_SPARE_RAMP_BASIS_VAR_TOKEN "rampbasis_var"
147 #define PRM_SPARE_RAMP_COLOR_DEFAULT_TOKEN "rampcolordefault"
148 #define PRM_SPARE_RAMP_COLOR_TYPE_TOKEN "rampcolortype"
149 #define PRM_SPARE_RAMP_FLOAT_DEFAULT_TOKEN "rampfloatdefault"
150 #define PRM_SPARE_RAMP_KEYS_TOKEN "rampkeys"
151 #define PRM_SPARE_RAMP_KEYS_VAR_TOKEN "rampkeys_var"
152 #define PRM_SPARE_RAMP_SHOW_CONTROLS_DEFAULT_TOKEN "rampshowcontrolsdefault"
153 #define PRM_SPARE_RAMP_VALUES_TOKEN "rampvalues"
154 #define PRM_SPARE_RAMP_VALUES_VAR_TOKEN "rampvalues_var"
155 #define PRM_SPARE_SCRIPT_ACTION_HELP_TOKEN "script_action_help"
156 #define PRM_SPARE_SCRIPT_ACTION_ICON_TOKEN "script_action_icon"
157 #define PRM_SPARE_SCRIPT_ACTION_TOKEN "script_action"
158 #define PRM_SPARE_SCRIPT_CALLBACK_TOKEN "script_callback"
159 #define PRM_SPARE_SCRIPT_CALLBACK_LANGUAGE_TOKEN "script_callback_language"
160 #define PRM_SPARE_SCRIPT_CALLBACK_FROM_UI_TOKEN "script_callback_from_ui"
161 #define PRM_SPARE_SCRIPT_RITYPE_TOKEN "script_ritype"
162 #define PRM_SPARE_SCRIPT_UNQUOTED_TOKEN "script_unquoted"
163 #define PRM_SPARE_SHADER_PARM_CONTEXTS_TOKEN "shaderparmcontexts"
164 #define PRM_SPARE_UNITS_TOKEN "units"
165 #define PRM_SPARE_XCF_MODE_TOKEN "xcfmode"
166 #define PRM_SPARE_VARYING_DEFAULT_TOKEN "varying_default"
167 
168 class UT_BitArray;
169 class UT_StringArray;
170 class UT_StringHolder;
171 class UT_StringRef;
172 class PRM_Parm;
173 class prm_SharedString;
174 
175 typedef int (*PRM_SpareCallback)(const char *token, const char *value);
176 typedef int (*PRM_SpareCallbackWithData)(const char *token,
177  const char *value, void *data);
178 
179 typedef std::pair<const char *, const char *> PRM_SpareToken;
181 
183 {
184 public:
185  /// The constructor for the PRM_SpareData should takes a variadic number of
186  /// token/value pairs. For example:
187  /// static PRM_SpareData(PRM_SpareArgs()
188  /// << PRM_SpareToken("token1", "value1")
189  /// << PRM_SpareToken("token2", "value2")
190  /// ...);
191  explicit PRM_SpareData(const PRM_SpareArgs &args);
192 
193  /// A single token value pair
194  explicit PRM_SpareData(const PRM_SpareToken &pair);
195  PRM_SpareData();
196  ~PRM_SpareData();
197 
198  PRM_SpareData(const PRM_SpareData &copy);
199  PRM_SpareData &operator=(const PRM_SpareData &copy);
200 
201  uint entries() const;
202 
203  void clear();
204  void mergeFrom(const PRM_SpareData &ref);
205  void copyFrom(const PRM_SpareData &ref);
206 
207  bool containsAny(const PRM_SpareData &ref) const;
208  bool containsAll(const PRM_SpareData &ref) const;
209 
210  // The the value associated with a particular token.
211  const char *getValue(const UT_StringRef &token) const;
212 
213  // Because these are traverseConst functions, we can't remove any items
214  // from the table in the traversal functions.
215  void traverseConst(PRM_SpareCallback f) const;
216  void traverseConst(PRM_SpareCallbackWithData f, void *data) const;
217 
218 
219  // NOTE: When addTokenValue is called with a null pointer for the value,
220  // the token is deleted from the spare data.
221  void addTokenValue(const UT_StringHolder &token, const char *value);
222  void deleteTokenValue(const UT_StringRef &token);
223 
224  // For backward compatibility with the ScriptParmSpareData class, we have
225  // these functions.
226  static const char *getScriptCallbackToken()
228  void setCallbackData(const char *str)
229  { addTokenValue(getScriptCallbackToken(), str); }
230  const char *getCallbackData() const
231  { return getValue(getScriptCallbackToken()); }
232 
233  static const char *getScriptCallbackLanguageToken()
235  void setCallbackLanguage(CH_ScriptLanguage language);
236  CH_ScriptLanguage getCallbackLanguage() const;
237 
238  static const char *getScriptCallbackFromUIToken()
240  void setCallbackFromUI(bool enable);
241  bool getCallbackFromUI() const;
242 
243  void setRenderManType(const char *str)
244  { addTokenValue(PRM_SPARE_SCRIPT_RITYPE_TOKEN, str); }
245  const char *getRenderManType() const
247 
248  void setOpFilter(const char *str)
249  { addTokenValue(PRM_SPARE_OPFILTER_TOKEN, str); }
250  const char *getOpFilter() const
252 
253  void setOpRelative(const char *str)
254  { addTokenValue(PRM_SPARE_OPRELATIVE_TOKEN, str); }
255  const char *getOpRelative() const
257 
258  static const char * getUnquotedStateToken()
261  { addTokenValue(getUnquotedStateToken(), "1"); }
262  bool getUnquotedState() const
263  { return getValue(getUnquotedStateToken()) != 0; }
264 
265  void setMultiStartOffset(int value);
266  int getMultiStartOffset() const;
267 
268  void setVisibleTabs(const UT_BitArray &values);
269  void getVisibleTabs(UT_BitArray &values) const;
270  bool getVisibleTab(int tabidx) const;
271 
272  // Ramp
273  static const char * getRampBasisDefaultToken()
275  void setRampBasisDefault(const char *value)
276  { addTokenValue(getRampBasisDefaultToken(),value); }
277  const char * getRampBasisDefault() const
278  { return getValue(getRampBasisDefaultToken()); }
279 
280  static const char * getRampShowControlsDefaultToken()
282  void setRampShowControlsDefault(bool value)
283  {
284  addTokenValue(getRampShowControlsDefaultToken(),
285  value ? "1" : "0");
286  }
288  {
289  const char *n, *v;
290  n = getRampShowControlsDefaultToken();
291  v = getValue(n);
292  if (!v)
293  return true;
294  else
295  return *v != '0';
296  }
297 
298  static const char * getRampGrayscaleDefaultToken()
300  void setRampGrayscaleDefault(bool value)
301  {
302  addTokenValue(getRampGrayscaleDefaultToken(),
303  value ? "1" : "0");
304  }
306  {
307  const char *n, *v;
308  n = getRampGrayscaleDefaultToken();
309  v = getValue(n);
310  if (!v)
311  return false;
312  else
313  return *v != '0';
314  }
315 
316  static const char * getRampColorTypeToken()
318  static const char * getRampColorTypeValueToken(UT_ColorType color_type);
319  void setRampColorType(UT_ColorType color_type);
320  UT_ColorType getRampColorType() const;
321 
322  static const char * getRampBasisVarToken()
324  static const char * getRampKeysVarToken()
326  static const char * getRampValuesVarToken()
328 
329  void setRampBasisVar(const char *value)
330  { addTokenValue(getRampBasisVarToken(), value); }
331  const char * getRampBasisVar() const
332  { return getValue(getRampBasisVarToken()); }
333  void setRampKeysVar(const char *value)
334  { addTokenValue(getRampKeysVarToken(), value); }
335  const char * getRampKeysVar() const
336  { return getValue(getRampKeysVarToken()); }
337  void setRampValuesVar(const char *value)
338  { addTokenValue(getRampValuesVarToken(), value); }
339  const char * getRampValuesVar() const
340  { return getValue(getRampValuesVarToken()); }
341 
342  static const char * getColorRampDefaultToken()
344  const char * getColorRampDefaultValue() const
345  { return getValue(getColorRampDefaultToken()); }
346  static const char * getFloatRampDefaultToken()
348  const char * getFloatRampDefaultValue() const
349  { return getValue(getFloatRampDefaultToken()); }
350  void setRampDefaultFromParm(const PRM_Parm &ramp_parm);
351  void getRampDefaultToParm(PRM_Parm &ramp_parm) const;
352 
353  // Color UI Mode, Wheel flag and Dynamic flag
354  static const char * getColorTypeToken()
355  { return PRM_SPARE_COLOR_TYPE_TOKEN; }
356  static const char * getColorTypeValueToken(PRM_ColorType color_type);
357  void setColorType(PRM_ColorType color_type);
358  PRM_ColorType getColorType() const;
359 
360  static const char * getColorWheelToken()
361  { return PRM_SPARE_COLOR_WHEEL_TOKEN; }
362  void setColorWheel(bool value);
363  bool getColorWheel() const;
364 
365  static const char * getColorDynamicToken()
366  { return PRM_SPARE_COLOR_DYN_TOKEN; }
367  void setColorDynamic(bool value);
368  bool getColorDynamic() const;
369 
370  static const char * getKeyValueDictKeyLabelToken()
372  void setKeyValueDictKeyLabel(const char *label);
373  const char *getKeyValueDictKeyLabel() const;
374  static const char * getKeyValueDictValueLabelToken()
376  void setKeyValueDictValueLabel(const char *label);
377  const char *getKeyValueDictValueLabel() const;
378  static const char * getKeyValueDictUseChooserToken()
380  void setKeyValueDictUseChooser(bool use_chooser);
381  bool getKeyValueDictUseChooser() const;
382  static const char * getKeyValueDictChooserLabelToken()
384  void setKeyValueDictChooserLabel(const char *label);
385  const char *getKeyValueDictChooserLabel() const;
388  void setKeyValueDictChooserCallback(const char *label);
389  const char *getKeyValueDictChooserCallback() const;
390 
391  void setXCFMode(const char *value)
392  { return addTokenValue(PRM_SPARE_XCF_MODE_TOKEN, value); }
393  const char *getXCFMode() const
395 
396  const char *getScriptAction() const;
397  const char *getScriptActionHelp() const;
398  const char *getScriptActionIcon() const;
399  const char *getButtonIcon() const;
400 
401  bool getUseEditor() const;
402  /// The string will be treated as this language for syntax highlighting
403  /// and and completion. NOTE: Language names are case insensitive, you
404  /// should accept both VEX, Vex, and vex.
405  const char *getEditorLanguage() const
407  const char *getEditorLanguagePrologue() const
411  void getEditorLinesRange(int &lines_min, int &lines_max) const;
412  static inline int getEditorLinesRangeDefaultMin() { return 8; }
413  static inline int getEditorLinesRangeDefaultMax() { return 40; }
414 
415  static const char *getXCFModeFloatValToken() { return "float"; }
416 
417  // Token for whether the template will be used for cooking
418  static const char * getCookDependentToken()
420  // Get state of cook_dependent flag.
421  // This is only used for SPARE parameters, which if this tag doesn't exist,
422  // the spare parm defaults to false for cook dependent.
423  bool getCookDependent() const;
424  // Set state of cook_dependent flag.
425  // This is only used for SPARE parameters, which if this tag doesn't exist,
426  // the spare parm defaults to false for cook dependent.
427  void setCookDependent(bool flag);
428 
429  // Token for whether the parm on the VOP should regenerate code
430  static const char *getCodeGenDependentToken()
432  // Get the state of the code_generation flag
433  // This is only used for SPARE parameters, which if this tag doesn't exist,
434  // the spare parm defaults to true for code generation
435  bool getCodeGenDependent() const;
436  // Set state of code_generation flag.
437  // This is only used for SPARE parameters, which if this tag doesn't exist,
438  // the spare parm defaults to true for code generation
439  void setCodeGenDependent(bool flag);
440 
441  int64 getMemoryUsage(bool inclusive) const;
442 
443  static const char *getOpFilterKeyFromName(const char *name);
444  static const char *getOpFilterKeyFromLabel(const char *name);
445  static const char *getOpFilterNameFromKey(const char *key);
446  static const char *getOpFilterLabelFromKey(const char *key);
447  // End of backward compatibility
448 
449  // Convenience spare data you might want to use
450  static PRM_SpareData objNetRef; // /obj
451  static PRM_SpareData chNetRef; // /ch
452  static PRM_SpareData ropNetRef; // /out
453 
454  static PRM_SpareData objPath; // !!OBJ!!
455  static PRM_SpareData objGeometryPath; // !!OBJ/GEOMETRY!!
456  static PRM_SpareData objLightPath; // !!OBJ/LIGHT!!
457  static PRM_SpareData objBonePath; // !!OBJ/BONE!!
458  static PRM_SpareData objMusclePath; // !!OBJ/MUSCLE!!
459  static PRM_SpareData objCameraPath; // !!OBJ/CAMERA!!
460  static PRM_SpareData anyCameraPath; // !!CUSTOM/CAMERA!!
461  static PRM_SpareData dopPath; // !!DOP!!
462  static PRM_SpareData sopPath; // !!SOP!!
463  static PRM_SpareData popPath; // !!POP!!
464  static PRM_SpareData ropPath; // !!ROP!!
465  static PRM_SpareData copPath; // !!COP!!
466  static PRM_SpareData cop2Path; // !!COP2!!
467  static PRM_SpareData chopPath; // !!CHOP!!
468  static PRM_SpareData constraintsPath; // !!CHOP!!
469  static PRM_SpareData shopPath; // !!SHOP!!
470  static PRM_SpareData shopProperties; // !!SHOP/PROPERTIES!!
471  static PRM_SpareData shopMaterial; // !!SHOP/MATERIAL!!
472  static PRM_SpareData shopSurface; // !!SHOP/SURFACE!!
473  static PRM_SpareData shopDisplacement; // !!SHOP/DISPLACEMENT!!
474  static PRM_SpareData shopSurfaceShadow; // !!SHOP/SURFACE_SHADOW!!
475  static PRM_SpareData shopBackground; // !!SHOP/BACKGROUND!!
476  static PRM_SpareData shopGeometry; // !!SHOP/GEOMETRY!!
477  static PRM_SpareData shopAtmosphere; // !!SHOP/ATMOSPHERE!!
478  static PRM_SpareData shopPhoton; // !!SHOP/PHOTON!!
479  static PRM_SpareData shopPhotonVolume; // !!SHOP/PHOTONVOLUME!!
480  static PRM_SpareData shopContour; // !!SHOP/CONTOUR!!
481  static PRM_SpareData shopLight; // !!SHOP/LIGHT!!
482  static PRM_SpareData shopEmitter; // !!SHOP/EMITTER!!
483  static PRM_SpareData shopLightShadow; // !!SHOP/LIGHT_SHADOW!!
484  static PRM_SpareData shopLens; // !!SHOP/LENS!!
485  static PRM_SpareData shopOutput; // !!SHOP/OUTPUT!!
486  static PRM_SpareData shopContourStore; // !!SHOP/CONTOUR_STORE!!
487  static PRM_SpareData shopContourContrast; // !!SHOP/CONTOUR_CONTRAST!!
488  static PRM_SpareData shopImage3d; // !!SHOP/IMAGE3D!!
489  static PRM_SpareData shopCVEX; // !!SHOP/CVEX!!
490  static PRM_SpareData shopCoShader; // !!SHOP/COSHADER!!
491  static PRM_SpareData vopPath; // !!VOP!!
492  static PRM_SpareData lopPath; // !!LOP!!
493  static PRM_SpareData topPath; // !!TOP!!
494  static PRM_SpareData topSchedulerPath; // !!TOP/SCHEDULER!!
495  static PRM_SpareData topProcessorPath; // !!TOP/PROCESSOR!!
496  static PRM_SpareData topPartitionerPath; // !!TOP/PARTITIONER!!
497  static PRM_SpareData topMapperPath; // !!TOP/MAPPER!!
498  static PRM_SpareData filterMaterial; // !!CUSTOM/MATERIAL!!
499 
500  static PRM_SpareData autoScope; // autoscope
501 
502  static PRM_SpareData multiStartOffsetZero; // multistart offset of zero
503  static PRM_SpareData multiStartOffsetOne; // multistart offset of one
504 
508  static PRM_SpareData unitsMass; // kg1
509  static PRM_SpareData unitsPerMass; // kg-1
510  static PRM_SpareData unitsTime; // s1
513  static PRM_SpareData unitsVelocity; // m1s-1
517  static PRM_SpareData unitsForce; // kg1m1s-2
518  static PRM_SpareData unitsForceDensity; // kg1m-2s-2
519  static PRM_SpareData unitsImpulse; // kg1m1s-1
520  static PRM_SpareData unitsTorque; // kg1m2s-2
521  static PRM_SpareData unitsDrag; // kg1s-1
522  static PRM_SpareData unitsAngDrag; // kg1m2s-1
523  static PRM_SpareData unitsPressure; // kg1m-1s-2
528  static PRM_SpareData unitsAreaDensity; // kg1m-2
531  static PRM_SpareData unitsDensity; // kg1m-3
532  static PRM_SpareData unitsDensityPerTime; // kg1m-3s-1
534  static PRM_SpareData unitsNone; // ""
535 
536  static PRM_SpareData rampBasisDefault; // rampbasis "ramp_basis"
537  static PRM_SpareData rampKeysDefault; // rampkeys "ramp_keys"
538  static PRM_SpareData rampValuesDefault; // rampvalues "ramp_values"
539 
540  static PRM_SpareData attribAccessR; // "sidefx::attrib_access" "read"
541  static PRM_SpareData attribAccessW; // "sidefx::attrib_access" "write"
542  static PRM_SpareData attribAccessRW; // "sidefx::attrib_access" "readwrite"
543 
544  static PRM_SpareData connectorKindNone; // "sidefx::connector_kind" "none"
545  static PRM_SpareData connectorKindIn; // "sidefx::connector_kind" "in"
546  static PRM_SpareData connectorKindOut; // "sidefx::connector_kind" "out"
547  static PRM_SpareData connectorKindInOut;// "sidefx::connector_kind" "inout"
548 
549  static PRM_SpareData shaderIsShaderParm; // "sidefx::shader_isparm" "1"
550  static PRM_SpareData shaderIsNotShaderParm; // "sidefx::shader_isparm" "0"
551 
552  /// Used to set a space- or comma-separated list of globs to use as
553  /// file filter for parameters of type @c PRM_FILE (e.g. "*.txt *.log").
554  static const char *getFileChooserPatternToken()
556 
557  static const char *getFileChooserModeToken()
559  static const char *getFileChooserModeValRead()
560  { return "read"; }
561  static const char *getFileChooserModeValWrite()
562  { return "write"; }
563  static const char *getFileChooserModeValReadAndWrite()
564  { return "read_and_write"; }
567 
568  static PRM_SpareData fileChooserModeRead; // filechooser_mode "read"
569  static PRM_SpareData fileChooserModeWrite; // filechooser_mode "write"
570  static PRM_SpareData fileChooserModeReadAndWrite; // ... "read_and_write"
571 
572  static PRM_SpareData imageAllowsVideo; // "sidefx::allow_video" "1"
573  static PRM_SpareData imageDisallowsVideo; // "sidefx::allow_video" "0"
574 
575  static PRM_SpareData stringFloatXCF; // float XCF in string field
576 
577  static const char *getScriptActionToken()
579  static const char *getScriptActionHelpToken()
581  static const char *getScriptActionIconToken()
583  static const char *getButtonIconToken()
584  { return PRM_SPARE_BUTTON_ICON_TOKEN; }
585 
586  static const char *getEditorToken()
587  { return PRM_SPARE_EDITOR_TOKEN; }
588  static PRM_SpareData stringEditor; // Use a text editor for strings
589 
590  static const char *getEditorLanguageToken()
591  { return PRM_SPARE_EDITOR_LANG_TOKEN; }
597 
598  /// Number of lines to show by default. This value can be set as either
599  /// a single number or a range, e.g. '10-50'. The minimum number is what
600  /// the editor will originally show up as, but will attempt to expand up to
601  /// the maximum.
602  static const char *getEditorLinesRangeToken()
603  { return PRM_SPARE_EDITOR_LINES_TOKEN; }
604 
605  // token indicating the parameter comes from a Parameter VOP (ie it is a
606  // shader parameter)
607  static const char * getParmVopVarToken()
608  { return PRM_SPARE_PARM_VOP_TOKEN; }
609 
610  // space-separated list of shading contexts, which a material parameter
611  // belongs to, ie, shaders for each of these contexts actually have
612  // this parameter as an argument, since material may contain other shaders
613  // for other contexts to which a parameter does not apply
614  static const char * getShaderParmContextsToken()
616 
617  // token specifying special keywords that are legal in an oppath parameter
618  // (in addition to the node path itself)
619  static const char * getOpPathKeywordsToken()
621 
622  // token for unit specification
623  static const char * getUnitsToken()
624  { return PRM_SPARE_UNITS_TOKEN; }
625 
626  // token for group specialization (simple/collapsible/toggle groups).
627  static const char *getGroupTypeToken()
628  { return PRM_SPARE_GROUP_TYPE_TOKEN; }
634  static const char *getGroupDefaultToken()
636 
637  // Marks parameter has having varying default values
638  // Defaults to "0"
639  static const char *getVaryingDefaultToken()
642  bool getHasVaryingDefault() const;
643  void setHasVaryingDefault(bool f);
644 
645  // Gets information about whether this parm accepts one or more USD
646  // primitive paths, and/or USD collections.
647  static const char *getUsdPathTypeToken()
648  { return PRM_SPARE_USDPATHTYPE_TOKEN; }
651  const char *getUsdPathType() const;
652 
653  // Gets a value that describes which input's stage is the source for
654  // the primitive(s) in this parameter. This string is evaluated by the
655  // CH_Manager, so it can be a constant (0, 1, or 2) or an expression
656  // that looks at other parameter values.
657  static const char *getUsdPathInputToken()
658  { return PRM_SPARE_USDPATHINPUT_TOKEN; }
661  const char *getUsdPathInput() const;
662 
663  // Identifies the node parameter as shader parameter.
664  static const char *getIsShaderParmToken()
666 
667  // Forces the translation of shader parameter even if it's at default value.
668  static const char *getForceParmValueToken()
670 
671  // Marks a data parm for whether or not it should be saved to disk
672  static const char *getSaveValueToken()
673  { return PRM_SPARE_SAVE_VALUE_TOKEN; }
674  static PRM_SpareData saveValueAlways; // "sidefx::save_value" "1"
675  static PRM_SpareData saveValueNever; // "sidefx::save_value" "0"
676  const char *getSaveValue() const;
677  void setSaveValue(bool flag);
678 
679  // Houdini Engine for Maya: Informs Maya that this parameter should be able
680  // to be set by component selection.
687 
688  // Changes the look of the parm. Used to switch between separator and spacer
689  // Height is used to adjust the dimension of the parameter (value * 0.1 inches)
690  static const char *getLookToken()
691  { return PRM_SPARE_LOOK_TOKEN; }
692  static const char *getLayoutHeightToken()
694 
695  const char *getLookValue() const;
696  void setLookValue(const char *value);
697  const char *getLayoutHeightValue() const;
698  void setLayoutHeightValue(const char *value);
699  static PRM_SpareData lookBlank; // "sidefx::look" "blank"
700  static PRM_SpareData lookClassic; // "sidefx::look" "classic"
701  static PRM_SpareData lookIcon; // "sidefx::look" "icon"
702  static PRM_SpareData lookHeading; // "sidefx::look" "heading"
703  static PRM_SpareData lookBlock; // "sidefx::look" "block"
704  static PRM_SpareData lookSquare; // "sidefx::look" "square"
705  static PRM_SpareData lookTooltip; // "sidefx::look" "tooltip"
706  static PRM_SpareData layoutHeightSmall; // "sidefx::layout_height" "small"
707  static PRM_SpareData layoutHeightMedium; // "sidefx::layout_height" "medium"
708  static PRM_SpareData layoutHeightLarge; // "sidefx::layout_height" "large"
710 
711  // Header toggle reference for the collapsible folder
712  static const char *getHeaderToggleToken()
714 
715  // Header parm reference for the collapsible folder
716  static const char *getHeaderParmToken()
717  { return PRM_SPARE_HEADER_PARM_TOKEN; }
718 
719  // Header label reference for the collapsible folder
720  static const char *getHeaderLabelToken()
721  { return PRM_SPARE_HEADER_LABEL_TOKEN; }
722 
723  static const char *getMultiLabelToken()
724  { return PRM_SPARE_MULTI_LABEL_TOKEN; }
725  const char *getMultiLabel() const;
726  // Prompt text (parm reference) for input fields
727  static const char *getPromptParmToken()
728  { return PRM_SPARE_PROMPT_PARM_TOKEN; }
729 
730  // Prompt text for input fields
731  static const char *getPromptTextToken()
732  { return PRM_SPARE_PROMPT_TEXT_TOKEN; }
733 
734  // Slider options. Snap or non-snap
735  static const char *getSliderToken()
736  { return PRM_SPARE_SLIDER_TOKEN; }
737  static PRM_SpareData sliderSnapToInt; // "sidefx::slider" "snap_to_int"
738  static PRM_SpareData sliderNone; // "sidefx::slider" "none"
739 
740  // The original switcher name before auto-renaming
741  static const char *getSwitcherBaseToken()
742  { return PRM_SPARE_SWITCHER_BASE; }
743 
744  // Specifies if this image parm can accept videos
745  static const char *getImageAllowVideoToken()
747 
748  /// Return true if the given token is a built-in (internally used) spare
749  /// data token.
750  static bool isBuiltInToken(const UT_StringRef &token);
751 
752  /// Return a range of the built-in tags names.
753  static void builtInTokens(UT_StringArray &tokens);
754 
755 private:
757 };
758 
759 #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:73
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
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:61
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
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:93
static PRM_SpareData unitsPerMass
static PRM_SpareData stringEditorLangExpr
static const char * getButtonIconToken()
#define PRM_SPARE_LOOK_TOKEN
Definition: PRM_SpareData.h:75
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:71
static const char * getFileChooserPatternToken()
static PRM_SpareData unitsPerLength
#define PRM_SPARE_IS_SHADER_PARM_TOKEN
Definition: PRM_SpareData.h:63
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:81
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:89
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:77
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:87
static PRM_SpareData layoutHeightSmall
static PRM_SpareData shaderIsNotShaderParm
#define PRM_SPARE_PROMPT_TEXT_TOKEN
Definition: PRM_SpareData.h:91
static PRM_SpareData unitsNone
static const char * getRampShowControlsDefaultToken()
void setOpFilter(const char *str)
#define PRM_SPARE_HEADER_LABEL_TOKEN
Definition: PRM_SpareData.h:85
#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:95
static PRM_SpareData shopMaterial
static PRM_SpareData chopPath
static const char * getPromptTextToken()
UT_ColorType
Definition: UT_Color.h:25
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:65
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:83
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:99
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:97
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:59
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