HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SOP_VolumeAnalysis.proto.h
Go to the documentation of this file.
1 /* Automagically Generated by generate_proto.py
2  * Do not Edit
3  */
4 #pragma once
5 
6 #include <SOP/SOP_API.h>
7 #include <SOP/SOP_NodeVerb.h>
8 #include <OP/OP_GraphProxy.h>
9 
10 #include <OP/OP_Utils.h>
11 #include <PRM/PRM_Parm.h>
12 #include <UT/UT_IStream.h>
13 #include <UT/UT_NTStreamUtil.h>
14 #include <UT/UT_Ramp.h>
15 #include <UT/UT_SharedPtr.h>
16 #include <UT/UT_StringHolder.h>
17 #include <UT/UT_StringStream.h>
18 #include <UT/UT_VectorTypes.h>
19 #include <UT/UT_EnvControl.h>
20 #include <SYS/SYS_Types.h>
21 
22 class DEP_MicroNode;
23 namespace SOP_VolumeAnalysisEnums
24 {
25  enum class Analysis
26  {
27  CURVATURE = 0,
28  GRADIENT,
29  LAPLACIAN,
31  };
32 
34  getToken(Analysis enum_value)
35  {
36  using namespace UT::Literal;
37  switch (enum_value) {
38  case Analysis::CURVATURE: return "curvature"_sh;
39  case Analysis::GRADIENT: return "gradient"_sh;
40  case Analysis::LAPLACIAN: return "laplacian"_sh;
41  case Analysis::EDGEDETECT: return "edgedetect"_sh;
42  default: UT_ASSERT(false); return ""_sh;
43  }
44  }
45 
46  enum class Edgedetectmode
47  {
48  SOBEL = 0,
49  PREWITT
50  };
51 
53  getToken(Edgedetectmode enum_value)
54  {
55  using namespace UT::Literal;
56  switch (enum_value) {
57  case Edgedetectmode::SOBEL: return "sobel"_sh;
58  case Edgedetectmode::PREWITT: return "prewitt"_sh;
59  default: UT_ASSERT(false); return ""_sh;
60  }
61  }
62 
63 }
64 
65 
67 {
68 public:
69  static int version() { return 1; }
70 
72  {
73  myGroup = ""_UTsh;
74  myAnalysis = 0;
75  myEdgedetectmode = 0;
76 
77  }
78 
79  explicit SOP_VolumeAnalysisParms(const SOP_VolumeAnalysisParms &) = default;
81  SOP_VolumeAnalysisParms(SOP_VolumeAnalysisParms &&) noexcept = default;
82  SOP_VolumeAnalysisParms &operator=(SOP_VolumeAnalysisParms &&) noexcept = default;
83 
84  ~SOP_VolumeAnalysisParms() override {}
85 
87  {
88  if (myGroup != src.myGroup) return false;
89  if (myAnalysis != src.myAnalysis) return false;
90  if (myEdgedetectmode != src.myEdgedetectmode) return false;
91 
92 
93  if (baseGetSignature() != src.baseGetSignature()) return false;
94 
95  return true;
96  }
98  {
99  return !operator==(src);
100  }
103 
104 
105 
106  void buildFromOp(const OP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
107  {
108  myGroup = ""_UTsh;
109  if (true)
110  graph->evalOpParm(myGroup, nodeidx, "group", time, graph->isDirect()?nullptr:depnode);
111  myAnalysis = 0;
112  if (true)
113  graph->evalOpParm(myAnalysis, nodeidx, "analysis", time, graph->isDirect()?nullptr:depnode);
114  myEdgedetectmode = 0;
115  if (true && ( (true&&!(((int64(getAnalysis())!=3)))) ) )
116  graph->evalOpParm(myEdgedetectmode, nodeidx, "edgedetectmode", time, graph->isDirect()?nullptr:depnode);
117 
118  }
119 
120 
121  void loadFromOpSubclass(const LoadParms &loadparms) override
122  {
123  buildFromOp(loadparms.graph(), loadparms.nodeIdx(), loadparms.context().getTime(), loadparms.depnode());
124  }
125 
126 
127  void copyFrom(const OP_NodeParms *src) override
128  {
129  *this = *((const SOP_VolumeAnalysisParms *)src);
130  }
131 
132  template <typename T>
133  void
134  doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
135  {
136  if (idx.size() < 1)
137  return;
138  UT_ASSERT(idx.size() == instance.size()+1);
139  if (idx.size() != instance.size()+1)
140  return;
141  switch (idx[0])
142  {
143  case 0:
144  coerceValue(value, myGroup);
145  break;
146  case 1:
147  coerceValue(value, myAnalysis);
148  break;
149  case 2:
150  coerceValue(value, myEdgedetectmode);
151  break;
152 
153  }
154  }
155 
156  bool isParmColorRamp(exint idx) const override
157  {
158  switch (idx)
159  {
160 
161  }
162  return false;
163  }
164 
165  void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
166  { doGetParmValue(idx, instance, value); }
167  void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
168  { doGetParmValue(idx, instance, value); }
169  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
170  { doGetParmValue(idx, instance, value); }
171  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
172  { doGetParmValue(idx, instance, value); }
173  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
174  { doGetParmValue(idx, instance, value); }
175  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
176  { doGetParmValue(idx, instance, value); }
177  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
178  { doGetParmValue(idx, instance, value); }
179  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
180  { doGetParmValue(idx, instance, value); }
181  void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
182  { doGetParmValue(idx, instance, value); }
183  void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr<UT_Ramp> &value) const override
184  { doGetParmValue(idx, instance, value); }
185  void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
186  { doGetParmValue(idx, instance, value); }
187 
188  template <typename T>
189  void
190  doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
191  {
192  if (idx.size() < 1)
193  return;
194  UT_ASSERT(idx.size() == instance.size()+1);
195  if (idx.size() != instance.size()+1)
196  return;
197  switch (idx[0])
198  {
199  case 0:
200  coerceValue(myGroup, ( ( value ) ));
201  break;
202  case 1:
203  coerceValue(myAnalysis, clampMinValue(0, clampMaxValue(3, value ) ));
204  break;
205  case 2:
206  coerceValue(myEdgedetectmode, clampMinValue(0, clampMaxValue(1, value ) ));
207  break;
208 
209  }
210  }
211 
212  void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
213  { doSetParmValue(idx, instance, value); }
214  void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
215  { doSetParmValue(idx, instance, value); }
216  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
217  { doSetParmValue(idx, instance, value); }
218  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
219  { doSetParmValue(idx, instance, value); }
220  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
221  { doSetParmValue(idx, instance, value); }
222  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
223  { doSetParmValue(idx, instance, value); }
224  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
225  { doSetParmValue(idx, instance, value); }
226  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
227  { doSetParmValue(idx, instance, value); }
228  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
229  { doSetParmValue(idx, instance, value); }
230  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr<UT_Ramp> &value) override
231  { doSetParmValue(idx, instance, value); }
232  void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
233  { doSetParmValue(idx, instance, value); }
234 
235  exint getNestNumParms(TempIndex idx) const override
236  {
237  if (idx.size() == 0)
238  return 3;
239  switch (idx[0])
240  {
241 
242  }
243  // Invalid
244  return 0;
245  }
246 
247  const char *getNestParmName(TempIndex fieldnum) const override
248  {
249  if (fieldnum.size() < 1)
250  return 0;
251  switch (fieldnum[0])
252  {
253  case 0:
254  return "group";
255  case 1:
256  return "analysis";
257  case 2:
258  return "edgedetectmode";
259 
260  }
261  return 0;
262  }
263 
264  ParmType getNestParmType(TempIndex fieldnum) const override
265  {
266  if (fieldnum.size() < 1)
267  return PARM_UNSUPPORTED;
268  switch (fieldnum[0])
269  {
270  case 0:
271  return PARM_STRING;
272  case 1:
273  return PARM_INTEGER;
274  case 2:
275  return PARM_INTEGER;
276 
277  }
278  return PARM_UNSUPPORTED;
279  }
280 
281  // Boiler plate to load individual types.
282  static void loadData(UT_IStream &is, int64 &v)
283  { is.bread(&v, 1); }
284  static void loadData(UT_IStream &is, bool &v)
285  { int64 iv; is.bread(&iv, 1); v = iv; }
286  static void loadData(UT_IStream &is, fpreal64 &v)
287  { is.bread<fpreal64>(&v, 1); }
288  static void loadData(UT_IStream &is, UT_Vector2D &v)
289  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1); }
290  static void loadData(UT_IStream &is, UT_Vector3D &v)
291  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
292  is.bread<fpreal64>(&v.z(), 1); }
293  static void loadData(UT_IStream &is, UT_Vector4D &v)
294  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
295  is.bread<fpreal64>(&v.z(), 1); is.bread<fpreal64>(&v.w(), 1); }
296  static void loadData(UT_IStream &is, UT_Matrix2D &v)
297  { for (int r = 0; r < 2; r++) for (int c = 0; c < 2; c++) is.bread<fpreal64>(&v(r, c), 1); }
298  static void loadData(UT_IStream &is, UT_Matrix3D &v)
299  { for (int r = 0; r < 3; r++) for (int c = 0; c < 3; c++) is.bread<fpreal64>(&v(r, c), 1); }
300  static void loadData(UT_IStream &is, UT_Matrix4D &v)
301  { for (int r = 0; r < 4; r++) for (int c = 0; c < 4; c++) is.bread<fpreal64>(&v(r, c), 1); }
302  static void loadData(UT_IStream &is, UT_Vector2I &v)
303  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1); }
304  static void loadData(UT_IStream &is, UT_Vector3I &v)
305  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
306  is.bread<int64>(&v.z(), 1); }
307  static void loadData(UT_IStream &is, UT_Vector4I &v)
308  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
309  is.bread<int64>(&v.z(), 1); is.bread<int64>(&v.w(), 1); }
311  { is.bread(v); }
313  { UT_StringHolder rampdata;
314  loadData(is, rampdata);
315  if (rampdata.isstring())
316  {
317  v.reset(new UT_Ramp());
318  UT_IStream istr((const char *) rampdata, rampdata.length(), UT_ISTREAM_ASCII);
319  v->load(istr);
320  }
321  else v.reset();
322  }
325  loadData(is, data);
326  if (data.isstring())
327  {
328  // Find the data type.
329  const char *colon = UT_StringWrap(data).findChar(':');
330  if (colon)
331  {
332  int typelen = colon - data.buffer();
334  type.strncpy(data.buffer(), typelen);
335  UT_IStream istr(((const char *) data) + typelen + 1, data.length() - (typelen + 1), UT_ISTREAM_BINARY);
336 
337  v = PRM_DataFactory::parseBinary(type.buffer(), istr);
338  }
339  }
340  else v.reset();
341  }
342 
343  static void saveData(std::ostream &os, int64 v)
344  { UTwrite(os, &v); }
345  static void saveData(std::ostream &os, bool v)
346  { int64 iv = v; UTwrite(os, &iv); }
347  static void saveData(std::ostream &os, fpreal64 v)
348  { UTwrite<fpreal64>(os, &v); }
349  static void saveData(std::ostream &os, UT_Vector2D v)
350  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y()); }
351  static void saveData(std::ostream &os, UT_Vector3D v)
352  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
353  UTwrite<fpreal64>(os, &v.z()); }
354  static void saveData(std::ostream &os, UT_Vector4D v)
355  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
356  UTwrite<fpreal64>(os, &v.z()); UTwrite<fpreal64>(os, &v.w()); }
357  static void saveData(std::ostream &os, UT_Matrix2D v)
359  static void saveData(std::ostream &os, UT_Matrix3D v)
361  static void saveData(std::ostream &os, UT_Matrix4D v)
363  static void saveData(std::ostream &os, UT_StringHolder s)
364  { UT_StringWrap(s).saveBinary(os); }
365  static void saveData(std::ostream &os, UT_SharedPtr<UT_Ramp> s)
367  UT_OStringStream ostr;
368  if (s) s->save(ostr);
369  result = ostr.str();
370  saveData(os, result);
371  }
372  static void saveData(std::ostream &os, PRM_DataItemHandle s)
374  UT_OStringStream ostr;
375  if (s)
376  {
377  ostr << s->getDataTypeToken();
378  ostr << ":";
379  s->saveBinary(ostr);
380  }
381  result = ostr.str();
382  saveData(os, result);
383  }
384 
385 
386  void save(std::ostream &os) const
387  {
388  int32 v = version();
389  UTwrite(os, &v);
390  saveData(os, myGroup);
391  saveData(os, myAnalysis);
392  saveData(os, myEdgedetectmode);
393 
394  }
395 
396  bool load(UT_IStream &is)
397  {
398  int32 v;
399  is.bread(&v, 1);
400  if (version() != v)
401  {
402  // Fail incompatible versions
403  return false;
404  }
405  loadData(is, myGroup);
406  loadData(is, myAnalysis);
407  loadData(is, myEdgedetectmode);
408 
409  return true;
410  }
411 
412  const UT_StringHolder & getGroup() const { return myGroup; }
413  void setGroup(const UT_StringHolder & val) { myGroup = val; }
415  {
416  SOP_Node *thissop = cookparms.getNode();
417  if (!thissop) return getGroup();
419  OP_Utils::evalOpParm(result, thissop, "group", cookparms.getCookTime(), 0);
420  return result;
421  }
422  Analysis getAnalysis() const { return Analysis(myAnalysis); }
423  void setAnalysis(Analysis val) { myAnalysis = int64(val); }
425  {
426  SOP_Node *thissop = cookparms.getNode();
427  if (!thissop) return getAnalysis();
428  int64 result;
429  OP_Utils::evalOpParm(result, thissop, "analysis", cookparms.getCookTime(), 0);
430  return Analysis(result);
431  }
432  Edgedetectmode getEdgedetectmode() const { return Edgedetectmode(myEdgedetectmode); }
433  void setEdgedetectmode(Edgedetectmode val) { myEdgedetectmode = int64(val); }
435  {
436  SOP_Node *thissop = cookparms.getNode();
437  if (!thissop) return getEdgedetectmode();
438  int64 result;
439  OP_Utils::evalOpParm(result, thissop, "edgedetectmode", cookparms.getCookTime(), 0);
440  return Edgedetectmode(result);
441  }
442 
443 private:
444  UT_StringHolder myGroup;
445  int64 myAnalysis;
446  int64 myEdgedetectmode;
447 
448 };
type
Definition: core.h:556
static void loadData(UT_IStream &is, UT_Matrix2D &v)
void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
int int32
Definition: SYS_Types.h:39
SOP_Node * getNode() const
Definition: SOP_NodeVerb.h:347
void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
static void saveData(std::ostream &os, int64 v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
const char * getNestParmName(TempIndex fieldnum) const override
ParmType getNestParmType(TempIndex fieldnum) const override
static void saveData(std::ostream &os, UT_Vector4D v)
exint bread(int32 *buffer, exint asize=1)
GLboolean * data
Definition: glcorearb.h:131
static void saveData(std::ostream &os, UT_Matrix2D v)
GT_API const UT_StringHolder time
constexpr SYS_FORCE_INLINE T & y() noexcept
Definition: UT_Vector4.h:493
const GLdouble * v
Definition: glcorearb.h:837
fpreal getTime() const
Definition: OP_Context.h:63
GLsizei const GLfloat * value
Definition: glcorearb.h:824
void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
const OP_Context & context() const
Definition: OP_NodeParms.h:97
static void loadData(UT_IStream &is, UT_Vector4I &v)
constexpr SYS_FORCE_INLINE T & z() noexcept
Definition: UT_Vector3.h:667
int64 exint
Definition: SYS_Types.h:125
SYS_FORCE_INLINE const char * buffer() const
SYS_FORCE_INLINE UT_StringHolder getToken(Analysis enum_value)
GLdouble s
Definition: glad.h:3009
exint getNestNumParms(TempIndex idx) const override
An output stream object that owns its own string buffer storage.
static void loadData(UT_IStream &is, bool &v)
void loadFromOpSubclass(const LoadParms &loadparms) override
static void saveData(std::ostream &os, fpreal64 v)
**But if you need a result
Definition: thread.h:622
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
exint nodeIdx() const
Definition: OP_NodeParms.h:95
static PRM_DataItemHandle parseBinary(const char *type, UT_IStream &is)
const UT_WorkBuffer & str()
Returns a read-only reference to the underlying UT_WorkBuffer.
static void loadData(UT_IStream &is, UT_SharedPtr< UT_Ramp > &v)
static void loadData(UT_IStream &is, UT_Vector3I &v)
constexpr SYS_FORCE_INLINE T & x() noexcept
Definition: UT_Vector4.h:491
static void saveData(std::ostream &os, UT_Matrix3D v)
double fpreal64
Definition: SYS_Types.h:201
UT_SharedPtr< const PRM_DataItem > PRM_DataItemHandle
Definition: APEX_Include.h:55
constexpr SYS_FORCE_INLINE T & x() noexcept
Definition: UT_Vector2.h:423
bool operator==(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
Definition: Dimensions.h:137
static void saveData(std::ostream &os, UT_Vector3D v)
static void loadData(UT_IStream &is, UT_Matrix4D &v)
static void loadData(UT_IStream &is, int64 &v)
static void saveData(std::ostream &os, UT_Matrix4D v)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
static void loadData(UT_IStream &is, UT_Vector2I &v)
static void loadData(UT_IStream &is, UT_Matrix3D &v)
exint length() const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
SYS_FORCE_INLINE const char * buffer() const
std::shared_ptr< T > UT_SharedPtr
Wrapper around std::shared_ptr.
Definition: UT_SharedPtr.h:36
static void saveData(std::ostream &os, UT_StringHolder s)
Analysis opAnalysis(const SOP_NodeVerb::CookParms &cookparms) const
constexpr SYS_FORCE_INLINE T & z() noexcept
Definition: UT_Vector4.h:495
bool isParmColorRamp(exint idx) const override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
const UT_StringHolder & getGroup() const
static void loadData(UT_IStream &is, UT_Vector2D &v)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
const OP_GraphProxy * graph() const
Definition: OP_NodeParms.h:94
static void loadData(UT_IStream &is, UT_StringHolder &v)
#define SYS_FORCE_INLINE
Definition: SYS_Inline.h:45
static void loadData(UT_IStream &is, fpreal64 &v)
long long int64
Definition: SYS_Types.h:116
void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr< UT_Ramp > &value) const override
void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
void setEdgedetectmode(Edgedetectmode val)
virtual void evalOpParm(int64 &v, NodeIdx node, const char *parmname, fpreal time, DEP_MicroNode *depnode) const =0
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
void saveBinary(std::ostream &os) const
Save string to binary stream.
Definition: UT_String.h:303
GT_API const UT_StringHolder version
void doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
static void saveData(std::ostream &os, PRM_DataItemHandle s)
void doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
Edgedetectmode getEdgedetectmode() const
bool operator!=(const SOP_VolumeAnalysisParms &src) const
fpreal64 fpreal
Definition: SYS_Types.h:278
DEP_MicroNode * depnode() const
Definition: OP_NodeParms.h:99
void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
LeafData & operator=(const LeafData &)=delete
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
Utility class for containing a color ramp.
Definition: UT_Ramp.h:96
static void loadData(UT_IStream &is, PRM_DataItemHandle &v)
static void saveData(std::ostream &os, UT_Vector2D v)
void setGroup(const UT_StringHolder &val)
constexpr SYS_FORCE_INLINE T & w() noexcept
Definition: UT_Vector4.h:497
GLuint GLfloat * val
Definition: glcorearb.h:1608
virtual UT_StringHolder baseGetSignature() const
Definition: OP_NodeParms.h:294
#define SOP_API
Definition: SOP_API.h:10
bool operator==(const SOP_VolumeAnalysisParms &src) const
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
fpreal getCookTime() const
Definition: SOP_NodeVerb.h:372
UT_StringHolder opGroup(const SOP_NodeVerb::CookParms &cookparms) const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
static void loadData(UT_IStream &is, UT_Vector3D &v)
static void saveData(std::ostream &os, bool v)
static void saveData(std::ostream &os, UT_SharedPtr< UT_Ramp > s)
const char * findChar(int c) const
Definition: UT_String.h:1401
#define UT_ASSERT(ZZ)
Definition: UT_Assert.h:156
GLboolean r
Definition: glcorearb.h:1222
void copyFrom(const OP_NodeParms *src) override
Edgedetectmode opEdgedetectmode(const SOP_NodeVerb::CookParms &cookparms) const
void save(std::ostream &os) const
constexpr SYS_FORCE_INLINE T & y() noexcept
Definition: UT_Vector3.h:665
void buildFromOp(const OP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
virtual bool isDirect() const =0
Direct proxies mirror actual nodes:
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr< UT_Ramp > &value) override
constexpr SYS_FORCE_INLINE T & y() noexcept
Definition: UT_Vector2.h:425
SYS_FORCE_INLINE bool isstring() const
SYS_FORCE_INLINE void strncpy(const char *src, exint maxlen)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
GLenum src
Definition: glcorearb.h:1793
constexpr SYS_FORCE_INLINE T & x() noexcept
Definition: UT_Vector3.h:663
void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
static void loadData(UT_IStream &is, UT_Vector4D &v)