23 namespace SOP_MLRegressionInferenceCoreEnums
34 using namespace UT::Literal;
51 using namespace UT::Literal;
68 using namespace UT::Literal;
93 inputpointattribute =
"value"_UTsh;
94 inputvolumename =
"density"_UTsh;
100 if (inputtype != src.
inputtype)
return false;
118 for (
int i = 0; i < list.
entries(); i++)
149 outputpointattribute =
"value"_UTsh;
150 outputvolumename =
"density"_UTsh;
158 if (outputtype != src.
outputtype)
return false;
178 for (
int i = 0; i < list.
entries(); i++)
207 myDoMaxBatch =
false;
209 myModelFile =
""_UTsh;
210 raw_myModelFile =
""_UTsh;
212 myOutputs.setSize(1);
225 if (myProvider != src.myProvider)
return false;
226 if (myDeviceid != src.myDeviceid)
return false;
227 if (myBatch != src.myBatch)
return false;
228 if (myDoMaxBatch != src.myDoMaxBatch)
return false;
229 if (myMaxBatch != src.myMaxBatch)
return false;
230 if (myModelFile != src.myModelFile)
return false;
231 if (raw_myModelFile != src.raw_myModelFile)
return false;
232 if (myInputs != src.myInputs)
return false;
233 if (myOutputs != src.myOutputs)
return false;
254 graph->
evalOpParm(myProvider, nodeidx,
"provider", time, graph->
isDirect()?
nullptr:depnode);
256 if (
true && ( (
true&&!(((
false)))) ) )
257 graph->
evalOpParm(myDeviceid, nodeidx,
"deviceid", time, graph->
isDirect()?
nullptr:depnode);
260 graph->
evalOpParm(myBatch, nodeidx,
"batch", time, graph->
isDirect()?
nullptr:depnode);
261 myDoMaxBatch =
false;
263 graph->
evalOpParm(myDoMaxBatch, nodeidx,
"domaxbatch", time, graph->
isDirect()?
nullptr:depnode);
265 if (
true && ( (
true&&!(((getDoMaxBatch()==0)))) ) )
266 graph->
evalOpParm(myMaxBatch, nodeidx,
"maxbatch", time, graph->
isDirect()?
nullptr:depnode);
267 myModelFile =
""_UTsh;
269 graph->
evalOpParm(myModelFile, nodeidx,
"modelfile", time, graph->
isDirect()?
nullptr:depnode);
270 raw_myModelFile =
""_UTsh;
272 graph->
evalOpParmRaw(raw_myModelFile, nodeidx,
"modelfile", time, graph->
isDirect()?
nullptr:depnode);
276 graph->
evalOpParm(length, nodeidx,
"inputs", time, graph->
isDirect()?
nullptr:depnode);
277 if (length < 0) length = 0;
278 myInputs.setSize(length);
285 auto && _curentry = myInputs(i);
287 _curentry.inputtype = 0;
289 graph->
evalOpParmInst(_curentry.inputtype, nodeidx,
"inputtype#", parmidx, offsets, time, graph->
isDirect()?
nullptr:depnode, 2-1);
290 _curentry.inputpointattribute =
"value"_UTsh;
291 if (
true && ( (
true&&!(((_curentry.inputtype!=0)))) ) )
292 graph->
evalOpParmInst(_curentry.inputpointattribute, nodeidx,
"inputpointattribute#", parmidx, offsets, time, graph->
isDirect()?
nullptr:depnode, 2-1);
293 _curentry.inputvolumename =
"density"_UTsh;
294 if (
true && ( (
true&&!(((_curentry.inputtype!=1)))) ) )
295 graph->
evalOpParmInst(_curentry.inputvolumename, nodeidx,
"inputvolumename#", parmidx, offsets, time, graph->
isDirect()?
nullptr:depnode, 2-1);
304 graph->
evalOpParm(length, nodeidx,
"outputs", time, graph->
isDirect()?
nullptr:depnode);
305 if (length < 0) length = 0;
306 myOutputs.setSize(length);
313 auto && _curentry = myOutputs(i);
315 _curentry.outputtype = 0;
317 graph->
evalOpParmInst(_curentry.outputtype, nodeidx,
"outputtype#", parmidx, offsets, time, graph->
isDirect()?
nullptr:depnode, 2-1);
318 _curentry.outputpointattribute =
"value"_UTsh;
319 if (
true && ( (
true&&!(((_curentry.outputtype!=0)))) ) )
320 graph->
evalOpParmInst(_curentry.outputpointattribute, nodeidx,
"outputpointattribute#", parmidx, offsets, time, graph->
isDirect()?
nullptr:depnode, 2-1);
321 _curentry.outputvolumename =
"density"_UTsh;
322 if (
true && ( (
true&&!(((_curentry.outputtype!=1)))) ) )
323 graph->
evalOpParmInst(_curentry.outputvolumename, nodeidx,
"outputvolumename#", parmidx, offsets, time, graph->
isDirect()?
nullptr:depnode, 2-1);
324 _curentry.outputvolumeresolution =
UT_Vector3I(10,10,10);
325 if (
true && ( (
true&&!(((_curentry.outputtype!=1)))) ) )
326 graph->
evalOpParmInst(_curentry.outputvolumeresolution, nodeidx,
"outputvolumeresolution#", parmidx, offsets, time, graph->
isDirect()?
nullptr:depnode, 2-1);
327 _curentry.outputtuplesize = 1;
329 graph->
evalOpParmInst(_curentry.outputtuplesize, nodeidx,
"outputtuplesize#", parmidx, offsets, time, graph->
isDirect()?
nullptr:depnode, 2-1);
350 template <
typename T>
357 if (idx.
size() != instance.
size()+1)
362 coerceValue(value, myProvider);
365 coerceValue(value, myDeviceid);
368 coerceValue(value, myBatch);
371 coerceValue(value, myDoMaxBatch);
374 coerceValue(value, myMaxBatch);
377 coerceValue(value, myModelFile);
381 coerceValue(value, myInputs.entries());
382 else if (instance[0] < myInputs.entries())
384 auto && _data = myInputs(instance[0]);
388 coerceValue(value, _data.inputtype);
391 coerceValue(value, _data.inputpointattribute);
394 coerceValue(value, _data.inputvolumename);
402 coerceValue(value, myOutputs.entries());
403 else if (instance[0] < myOutputs.entries())
405 auto && _data = myOutputs(instance[0]);
409 coerceValue(value, _data.outputtype);
412 coerceValue(value, _data.outputpointattribute);
415 coerceValue(value, _data.outputvolumename);
418 coerceValue(value, _data.outputvolumeresolution);
421 coerceValue(value, _data.outputtuplesize);
441 { doGetParmValue(idx, instance, value); }
443 { doGetParmValue(idx, instance, value); }
445 { doGetParmValue(idx, instance, value); }
447 { doGetParmValue(idx, instance, value); }
449 { doGetParmValue(idx, instance, value); }
451 { doGetParmValue(idx, instance, value); }
453 { doGetParmValue(idx, instance, value); }
455 { doGetParmValue(idx, instance, value); }
457 { doGetParmValue(idx, instance, value); }
459 { doGetParmValue(idx, instance, value); }
461 { doGetParmValue(idx, instance, value); }
463 template <
typename T>
470 if (idx.
size() != instance.
size()+1)
475 coerceValue(myProvider, ( ( value ) ));
478 coerceValue(myDeviceid, ( ( value ) ));
481 coerceValue(myBatch, clampMinValue(0, clampMaxValue(1, value ) ));
484 coerceValue(myDoMaxBatch, ( ( value ) ));
487 coerceValue(myMaxBatch, ( ( value ) ));
490 coerceValue(myModelFile, ( ( value ) ));
496 coerceValue(newsize, value);
497 if (newsize < 0) newsize = 0;
498 myInputs.setSize(newsize);
504 myInputs.setSizeIfNeeded(instance[0]+1);
505 auto && _data = myInputs(instance[0]);
509 coerceValue(_data.inputtype, value);
512 coerceValue(_data.inputpointattribute, value);
515 coerceValue(_data.inputvolumename, value);
525 coerceValue(newsize, value);
526 if (newsize < 0) newsize = 0;
527 myOutputs.setSize(newsize);
533 myOutputs.setSizeIfNeeded(instance[0]+1);
534 auto && _data = myOutputs(instance[0]);
538 coerceValue(_data.outputtype, value);
541 coerceValue(_data.outputpointattribute, value);
544 coerceValue(_data.outputvolumename, value);
547 coerceValue(_data.outputvolumeresolution, value);
550 coerceValue(_data.outputtuplesize, value);
561 { doSetParmValue(idx, instance, value); }
563 { doSetParmValue(idx, instance, value); }
565 { doSetParmValue(idx, instance, value); }
567 { doSetParmValue(idx, instance, value); }
569 { doSetParmValue(idx, instance, value); }
571 { doSetParmValue(idx, instance, value); }
573 { doSetParmValue(idx, instance, value); }
575 { doSetParmValue(idx, instance, value); }
577 { doSetParmValue(idx, instance, value); }
579 { doSetParmValue(idx, instance, value); }
581 { doSetParmValue(idx, instance, value); }
601 if (fieldnum.
size() < 1)
618 if (fieldnum.
size() == 1)
625 return "inputpointattribute#";
627 return "inputvolumename#";
632 if (fieldnum.
size() == 1)
637 return "outputtype#";
639 return "outputpointattribute#";
641 return "outputvolumename#";
643 return "outputvolumeresolution#";
645 return "outputtuplesize#";
656 if (fieldnum.
size() < 1)
657 return PARM_UNSUPPORTED;
673 if (fieldnum.
size() == 1)
674 return PARM_MULTIPARM;
685 return PARM_UNSUPPORTED;
687 if (fieldnum.
size() == 1)
688 return PARM_MULTIPARM;
703 return PARM_UNSUPPORTED;
706 return PARM_UNSUPPORTED;
742 loadData(is, rampdata);
760 int typelen = colon - data.
buffer();
774 {
int64 iv =
v; UTwrite(os, &iv); }
776 { UTwrite<fpreal64>(os, &
v); }
778 { UTwrite<fpreal64>(os, &v.
x()); UTwrite<fpreal64>(os, &v.
y()); }
780 { UTwrite<fpreal64>(os, &v.
x()); UTwrite<fpreal64>(os, &v.
y());
781 UTwrite<fpreal64>(os, &v.
z()); }
783 { UTwrite<fpreal64>(os, &v.
x()); UTwrite<fpreal64>(os, &v.
y());
784 UTwrite<fpreal64>(os, &v.
z()); UTwrite<fpreal64>(os, &v.
w()); }
796 if (s) s->save(ostr);
798 saveData(os, result);
805 ostr << s->getDataTypeToken();
810 saveData(os, result);
814 void save(std::ostream &os)
const
818 saveData(os, myProvider);
819 saveData(os, myDeviceid);
820 saveData(os, myBatch);
821 saveData(os, myDoMaxBatch);
822 saveData(os, myMaxBatch);
823 saveData(os, myModelFile);
824 saveData(os, raw_myModelFile);
827 UTwrite(os, &length);
830 auto && _curentry = myInputs(i);
832 saveData(os, _curentry.inputtype);
833 saveData(os, _curentry.inputpointattribute);
834 saveData(os, _curentry.inputvolumename);
840 UTwrite(os, &length);
843 auto && _curentry = myOutputs(i);
845 saveData(os, _curentry.outputtype);
846 saveData(os, _curentry.outputpointattribute);
847 saveData(os, _curentry.outputvolumename);
848 saveData(os, _curentry.outputvolumeresolution);
849 saveData(os, _curentry.outputtuplesize);
865 loadData(is, myProvider);
866 loadData(is, myDeviceid);
867 loadData(is, myBatch);
868 loadData(is, myDoMaxBatch);
869 loadData(is, myMaxBatch);
870 loadData(is, myModelFile);
871 loadData(is, raw_myModelFile);
875 myInputs.setSize(length);
878 auto && _curentry = myInputs(i);
880 loadData(is, _curentry.inputtype);
881 loadData(is, _curentry.inputpointattribute);
882 loadData(is, _curentry.inputvolumename);
889 myOutputs.setSize(length);
892 auto && _curentry = myOutputs(i);
894 loadData(is, _curentry.outputtype);
895 loadData(is, _curentry.outputpointattribute);
896 loadData(is, _curentry.outputvolumename);
897 loadData(is, _curentry.outputvolumeresolution);
898 loadData(is, _curentry.outputtuplesize);
911 if (!thissop)
return getProvider();
913 OP_Utils::evalOpParm(result, thissop,
"provider", cookparms.
getCookTime(), 0);
921 if (!thissop)
return getDeviceid();
923 OP_Utils::evalOpParm(result, thissop,
"deviceid", cookparms.
getCookTime(), 0);
931 if (!thissop)
return getBatch();
933 OP_Utils::evalOpParm(result, thissop,
"batch", cookparms.
getCookTime(), 0);
934 return Batch(result);
941 if (!thissop)
return getDoMaxBatch();
943 OP_Utils::evalOpParm(result, thissop,
"domaxbatch", cookparms.
getCookTime(), 0);
951 if (!thissop)
return getMaxBatch();
953 OP_Utils::evalOpParm(result, thissop,
"maxbatch", cookparms.
getCookTime(), 0);
961 if (!thissop)
return getModelFile();
963 OP_Utils::evalOpParm(result, thissop,
"modelfile", cookparms.
getCookTime(), 0);
971 if (!thissop)
return raw_getModelFile();
973 OP_Utils::evalOpParmRaw(result, thissop,
"modelfile", cookparms.
getCookTime(), 0);
981 if (!thissop)
return getInputs().entries();
983 OP_Utils::evalOpParm(result, thissop,
"inputs", cookparms.
getCookTime(), 0);
987 {
return opinstInputs_inputtype(cookparms, &_idx); }
991 if (!thissop)
return (myInputs(_idx[0]).inputtype);
993 _parmidx[1-1] = _idx[1-1] + 1;
996 OP_Utils::evalOpParmInst(result, thissop,
"inputtype#", _parmidx, cookparms.
getCookTime(), 0, 2-1);
1000 {
return opinstInputs_inputpointattribute(cookparms, &_idx); }
1004 if (!thissop)
return (myInputs(_idx[0]).inputpointattribute);
1006 _parmidx[1-1] = _idx[1-1] + 1;
1009 OP_Utils::evalOpParmInst(result, thissop,
"inputpointattribute#", _parmidx, cookparms.
getCookTime(), 0, 2-1);
1013 {
return opinstInputs_inputvolumename(cookparms, &_idx); }
1017 if (!thissop)
return (myInputs(_idx[0]).inputvolumename);
1019 _parmidx[1-1] = _idx[1-1] + 1;
1022 OP_Utils::evalOpParmInst(result, thissop,
"inputvolumename#", _parmidx, cookparms.
getCookTime(), 0, 2-1);
1031 if (!thissop)
return getOutputs().entries();
1033 OP_Utils::evalOpParm(result, thissop,
"outputs", cookparms.
getCookTime(), 0);
1037 {
return opinstOutputs_outputtype(cookparms, &_idx); }
1041 if (!thissop)
return (myOutputs(_idx[0]).outputtype);
1043 _parmidx[1-1] = _idx[1-1] + 1;
1046 OP_Utils::evalOpParmInst(result, thissop,
"outputtype#", _parmidx, cookparms.
getCookTime(), 0, 2-1);
1050 {
return opinstOutputs_outputpointattribute(cookparms, &_idx); }
1054 if (!thissop)
return (myOutputs(_idx[0]).outputpointattribute);
1056 _parmidx[1-1] = _idx[1-1] + 1;
1059 OP_Utils::evalOpParmInst(result, thissop,
"outputpointattribute#", _parmidx, cookparms.
getCookTime(), 0, 2-1);
1063 {
return opinstOutputs_outputvolumename(cookparms, &_idx); }
1067 if (!thissop)
return (myOutputs(_idx[0]).outputvolumename);
1069 _parmidx[1-1] = _idx[1-1] + 1;
1072 OP_Utils::evalOpParmInst(result, thissop,
"outputvolumename#", _parmidx, cookparms.
getCookTime(), 0, 2-1);
1076 {
return opinstOutputs_outputvolumeresolution(cookparms, &_idx); }
1080 if (!thissop)
return (myOutputs(_idx[0]).outputvolumeresolution);
1082 _parmidx[1-1] = _idx[1-1] + 1;
1085 OP_Utils::evalOpParmInst(result, thissop,
"outputvolumeresolution#", _parmidx, cookparms.
getCookTime(), 0, 2-1);
1089 {
return opinstOutputs_outputtuplesize(cookparms, &_idx); }
1093 if (!thissop)
return (myOutputs(_idx[0]).outputtuplesize);
1095 _parmidx[1-1] = _idx[1-1] + 1;
1098 OP_Utils::evalOpParmInst(result, thissop,
"outputtuplesize#", _parmidx, cookparms.
getCookTime(), 0, 2-1);
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
const UT_StringHolder & getModelFile() const
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
int64 opMaxBatch(const SOP_NodeVerb::CookParms &cookparms) const
void setDoMaxBatch(bool val)
GLenum GLuint GLenum GLsizei const GLchar * buf
void buildFromOp(const OP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
int64 opOutputs_outputtuplesize(const SOP_NodeVerb::CookParms &cookparms, int _idx) const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
SOP_Node * getNode() const
bool opDoMaxBatch(const SOP_NodeVerb::CookParms &cookparms) const
bool operator!=(const SOP_MLRegressionInferenceCoreParms &src) const
static void loadData(UT_IStream &is, UT_Vector4D &v)
static void saveData(std::ostream &os, bool v)
int64 opProvider(const SOP_NodeVerb::CookParms &cookparms) const
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
ParmType getNestParmType(TempIndex fieldnum) const override
int64 opInputs_inputtype(const SOP_NodeVerb::CookParms &cookparms, int _idx) const
bool getDoMaxBatch() const
SOP_MLRegressionInferenceCoreParms()
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
GT_API const UT_StringHolder time
constexpr SYS_FORCE_INLINE T & y() noexcept
UT_Vector3I opOutputs_outputvolumeresolution(const SOP_NodeVerb::CookParms &cookparms, int _idx) const
const UT_Array< Inputs > & getInputs() const
GLsizei const GLfloat * value
static void saveData(std::ostream &os, UT_Vector4D v)
static void loadData(UT_IStream &is, int64 &v)
UT_String makeQuotedString(char delimiter='\'', bool escape_nonprinting=false) const
const OP_Context & context() const
virtual void evalOpParmRaw(UT_StringHolder &v, NodeIdx node, const char *parmname, fpreal time, DEP_MicroNode *depnode) const =0
constexpr SYS_FORCE_INLINE T & z() noexcept
const char * getNestParmName(TempIndex fieldnum) const override
SYS_FORCE_INLINE const char * buffer() const
static void loadData(UT_IStream &is, UT_Vector3I &v)
void setModelFile(const UT_StringHolder &val)
bool operator!=(const Outputs &src) const
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
GLuint GLsizei GLsizei * length
exint opOutputs(const SOP_NodeVerb::CookParms &cookparms) const
static void loadData(UT_IStream &is, UT_Vector2I &v)
An output stream object that owns its own string buffer storage.
static void loadData(UT_IStream &is, fpreal64 &v)
static void saveData(std::ostream &os, UT_Matrix3D v)
int64 getMaxBatch() const
void save(std::ostream &os) const
**But if you need a result
void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
UT_Vector3T< int64 > UT_Vector3I
void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr< UT_Ramp > &value) const override
void loadFromOpSubclass(const LoadParms &loadparms) override
bool operator==(const Outputs &src) const
static PRM_DataItemHandle parseBinary(const char *type, UT_IStream &is)
const UT_WorkBuffer & str()
Returns a read-only reference to the underlying UT_WorkBuffer.
void raw_setModelFile(const UT_StringHolder &val)
static void saveData(std::ostream &os, UT_SharedPtr< UT_Ramp > s)
void doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
constexpr SYS_FORCE_INLINE T & x() noexcept
void setInputs(const UT_Array< Inputs > &val)
int64 opOutputs_outputtype(const SOP_NodeVerb::CookParms &cookparms, int _idx) const
int64 opinstOutputs_outputtuplesize(const SOP_NodeVerb::CookParms &cookparms, const int *_idx) const
GLuint GLsizei const GLuint const GLintptr * offsets
static void loadData(UT_IStream &is, UT_Vector3D &v)
UT_SharedPtr< const PRM_DataItem > PRM_DataItemHandle
constexpr SYS_FORCE_INLINE T & x() noexcept
static void loadData(UT_IStream &is, UT_Matrix3D &v)
UT_StringHolder opInputs_inputpointattribute(const SOP_NodeVerb::CookParms &cookparms, int _idx) const
bool operator==(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
UT_StringHolder outputpointattribute
int64 getDeviceid() const
const UT_Array< Outputs > & getOutputs() const
bool load(UT_IStream &is)
void setOutputs(const UT_Array< Outputs > &val)
exint opInputs(const SOP_NodeVerb::CookParms &cookparms) const
void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
SYS_FORCE_INLINE const char * buffer() const
std::shared_ptr< T > UT_SharedPtr
Wrapper around std::shared_ptr.
UT_StringHolder opinstInputs_inputvolumename(const SOP_NodeVerb::CookParms &cookparms, const int *_idx) const
constexpr SYS_FORCE_INLINE T & z() noexcept
const UT_StringHolder & raw_getModelFile() const
void doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
exint read(bool *array, exint sz=1)
const OP_GraphProxy * graph() const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
SYS_FORCE_INLINE UT_StringHolder getToken(Batch enum_value)
int64 opinstInputs_inputtype(const SOP_NodeVerb::CookParms &cookparms, const int *_idx) const
UT_StringHolder opinstOutputs_outputpointattribute(const SOP_NodeVerb::CookParms &cookparms, const int *_idx) const
UT_StringHolder createString(const UT_Array< Inputs > &list) const
virtual void evalOpParmInst(int64 &v, NodeIdx node, const char *parmname, const int *inst, const int *offsets, fpreal time, DEP_MicroNode *depnode, int nestlevel=1) const =0
bool operator==(const SOP_MLRegressionInferenceCoreParms &src) const
static void saveData(std::ostream &os, UT_Vector3D v)
UT_StringHolder opInputs_inputvolumename(const SOP_NodeVerb::CookParms &cookparms, int _idx) const
int64 getProvider() const
void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
UT_Vector3I opinstOutputs_outputvolumeresolution(const SOP_NodeVerb::CookParms &cookparms, const int *_idx) const
virtual void evalOpParm(int64 &v, NodeIdx node, const char *parmname, fpreal time, DEP_MicroNode *depnode) const =0
static void loadData(UT_IStream &is, UT_StringHolder &v)
SYS_FORCE_INLINE void strcat(const char *src)
void saveBinary(std::ostream &os) const
Save string to binary stream.
static void saveData(std::ostream &os, fpreal64 v)
static void saveData(std::ostream &os, UT_StringHolder s)
UT_StringHolder createString(const UT_Array< Outputs > &list) const
GT_API const UT_StringHolder version
void setMaxBatch(int64 val)
exint entries() const
Alias of size(). size() is preferred.
Batch opBatch(const SOP_NodeVerb::CookParms &cookparms) const
exint getNestNumParms(TempIndex idx) const override
void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
int64 opinstOutputs_outputtype(const SOP_NodeVerb::CookParms &cookparms, const int *_idx) const
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
static void saveData(std::ostream &os, int64 v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
int int appendSprintf(const char *fmt,...) SYS_PRINTF_CHECK_ATTRIBUTE(2
static void saveData(std::ostream &os, PRM_DataItemHandle s)
static void loadData(UT_IStream &is, PRM_DataItemHandle &v)
void copyFrom(const OP_NodeParms *src) override
static void loadData(UT_IStream &is, UT_Matrix4D &v)
UT_StringHolder opOutputs_outputvolumename(const SOP_NodeVerb::CookParms &cookparms, int _idx) const
UT_StringHolder raw_opModelFile(const SOP_NodeVerb::CookParms &cookparms) const
int64 opDeviceid(const SOP_NodeVerb::CookParms &cookparms) const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
static void loadData(UT_IStream &is, UT_Vector4I &v)
DEP_MicroNode * depnode() const
LeafData & operator=(const LeafData &)=delete
UT_StringHolder outputvolumename
Utility class for containing a color ramp.
UT_StringHolder opOutputs_outputpointattribute(const SOP_NodeVerb::CookParms &cookparms, int _idx) const
static void saveData(std::ostream &os, UT_Matrix2D v)
static void loadData(UT_IStream &is, UT_Matrix2D &v)
constexpr SYS_FORCE_INLINE T & w() noexcept
SYS_FORCE_INLINE void append(char character)
virtual UT_StringHolder baseGetSignature() const
void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
fpreal getCookTime() const
void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
UT_Vector3I outputvolumeresolution
const char * findChar(int c) const
UT_StringHolder opModelFile(const SOP_NodeVerb::CookParms &cookparms) const
UT_StringHolder opinstOutputs_outputvolumename(const SOP_NodeVerb::CookParms &cookparms, const int *_idx) const
static void loadData(UT_IStream &is, UT_Vector2D &v)
exint bread(uint8 *buffer, exint asize=1)
static void loadData(UT_IStream &is, bool &v)
UT_StringHolder opinstInputs_inputpointattribute(const SOP_NodeVerb::CookParms &cookparms, const int *_idx) const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
void setDeviceid(int64 val)
constexpr SYS_FORCE_INLINE T & y() noexcept
static void saveData(std::ostream &os, UT_Matrix4D v)
virtual bool isDirect() const =0
Direct proxies mirror actual nodes:
constexpr SYS_FORCE_INLINE T & y() noexcept
static void saveData(std::ostream &os, UT_Vector2D v)
bool isParmColorRamp(exint idx) const override
SYS_FORCE_INLINE bool isstring() const
void setProvider(int64 val)
static void loadData(UT_IStream &is, UT_SharedPtr< UT_Ramp > &v)
SYS_FORCE_INLINE void strncpy(const char *src, exint maxlen)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr< UT_Ramp > &value) override
constexpr SYS_FORCE_INLINE T & x() noexcept