23 namespace SOP_MLExampleSerializePackedEnums
34 using namespace UT::Literal;
51 using namespace UT::Literal;
68 using namespace UT::Literal;
85 using namespace UT::Literal;
110 inputpointattribute =
"value"_UTsh;
111 inputvolumename =
"density"_UTsh;
117 if (inputtype != src.
inputtype)
return false;
135 for (
int i = 0; i < list.
entries(); i++)
164 targetpointattribute =
"value"_UTsh;
165 targetvolumename =
"density"_UTsh;
171 if (targettype != src.
targettype)
return false;
189 for (
int i = 0; i < list.
entries(); i++)
212 myInputDimensionAttribute =
"inputdimension"_UTsh;
213 myTargetDimensionAttribute =
"targetdimension"_UTsh;
214 mySerialAttribute =
"value"_UTsh;
215 myOutputFile =
"$HIP/ml/data_set/data_set.raw"_UTsh;
216 raw_myOutputFile =
"$HIP/ml/data_set/data_set.raw"_UTsh;
218 myTargets.setSize(1);
219 myComponentLayoutEncoding = 0;
232 if (myOutputMode != src.myOutputMode)
return false;
233 if (myInputDimensionAttribute != src.myInputDimensionAttribute)
return false;
234 if (myTargetDimensionAttribute != src.myTargetDimensionAttribute)
return false;
235 if (mySerialAttribute != src.mySerialAttribute)
return false;
236 if (myOutputFile != src.myOutputFile)
return false;
237 if (raw_myOutputFile != src.raw_myOutputFile)
return false;
238 if (myInputs != src.myInputs)
return false;
239 if (myTargets != src.myTargets)
return false;
240 if (myComponentLayoutEncoding != src.myComponentLayoutEncoding)
return false;
262 graph->
evalOpParm(myOutputMode, nodeidx,
"outputmode", time, graph->
isDirect()?
nullptr:depnode);
263 myInputDimensionAttribute =
"inputdimension"_UTsh;
264 if (
true && ( (
true&&!(((
int64(getOutputMode())!=0)))) ) )
265 graph->
evalOpParm(myInputDimensionAttribute, nodeidx,
"inputdimensionattribute", time, graph->
isDirect()?
nullptr:depnode);
266 myTargetDimensionAttribute =
"targetdimension"_UTsh;
267 if (
true && ( (
true&&!(((
int64(getOutputMode())!=0)))) ) )
268 graph->
evalOpParm(myTargetDimensionAttribute, nodeidx,
"targetdimensionattribute", time, graph->
isDirect()?
nullptr:depnode);
269 mySerialAttribute =
"value"_UTsh;
270 if (
true && ( (
true&&!(((
int64(getOutputMode())!=0)))) ) )
271 graph->
evalOpParm(mySerialAttribute, nodeidx,
"serialattribute", time, graph->
isDirect()?
nullptr:depnode);
272 myOutputFile =
"$HIP/ml/data_set/data_set.raw"_UTsh;
273 if (
true && ( (
true&&!(((
int64(getOutputMode())!=1)))) ) )
274 graph->
evalOpParm(myOutputFile, nodeidx,
"sopoutput", time, graph->
isDirect()?
nullptr:depnode);
275 raw_myOutputFile =
"$HIP/ml/data_set/data_set.raw"_UTsh;
276 if (
true && ( (
true&&!(((
int64(getOutputMode())!=1)))) ) )
277 graph->
evalOpParmRaw(raw_myOutputFile, nodeidx,
"sopoutput", time, graph->
isDirect()?
nullptr:depnode);
281 graph->
evalOpParm(length, nodeidx,
"inputs", time, graph->
isDirect()?
nullptr:depnode);
282 if (length < 0) length = 0;
283 myInputs.setSize(length);
290 auto && _curentry = myInputs(i);
292 _curentry.inputtype = 0;
294 graph->
evalOpParmInst(_curentry.inputtype, nodeidx,
"inputtype#", parmidx, offsets, time, graph->
isDirect()?
nullptr:depnode, 2-1);
295 _curentry.inputpointattribute =
"value"_UTsh;
296 if (
true && ( (
true&&!(((_curentry.inputtype!=0)))) ) )
297 graph->
evalOpParmInst(_curentry.inputpointattribute, nodeidx,
"inputpointattribute#", parmidx, offsets, time, graph->
isDirect()?
nullptr:depnode, 2-1);
298 _curentry.inputvolumename =
"density"_UTsh;
299 if (
true && ( (
true&&!(((_curentry.inputtype!=1)))) ) )
300 graph->
evalOpParmInst(_curentry.inputvolumename, nodeidx,
"inputvolumename#", parmidx, offsets, time, graph->
isDirect()?
nullptr:depnode, 2-1);
309 graph->
evalOpParm(length, nodeidx,
"targets", time, graph->
isDirect()?
nullptr:depnode);
310 if (length < 0) length = 0;
311 myTargets.setSize(length);
318 auto && _curentry = myTargets(i);
320 _curentry.targettype = 0;
322 graph->
evalOpParmInst(_curentry.targettype, nodeidx,
"targettype#", parmidx, offsets, time, graph->
isDirect()?
nullptr:depnode, 2-1);
323 _curentry.targetpointattribute =
"value"_UTsh;
324 if (
true && ( (
true&&!(((_curentry.targettype!=0)))) ) )
325 graph->
evalOpParmInst(_curentry.targetpointattribute, nodeidx,
"targetpointattribute#", parmidx, offsets, time, graph->
isDirect()?
nullptr:depnode, 2-1);
326 _curentry.targetvolumename =
"density"_UTsh;
327 if (
true && ( (
true&&!(((_curentry.targettype!=1)))) ) )
328 graph->
evalOpParmInst(_curentry.targetvolumename, nodeidx,
"targetvolumename#", parmidx, offsets, time, graph->
isDirect()?
nullptr:depnode, 2-1);
334 myComponentLayoutEncoding = 0;
336 graph->
evalOpParm(myComponentLayoutEncoding, nodeidx,
"componentlayoutencoding", time, graph->
isDirect()?
nullptr:depnode);
352 template <
typename T>
359 if (idx.
size() != instance.
size()+1)
364 coerceValue(value, myOutputMode);
367 coerceValue(value, myInputDimensionAttribute);
370 coerceValue(value, myTargetDimensionAttribute);
373 coerceValue(value, mySerialAttribute);
376 coerceValue(value, myOutputFile);
380 coerceValue(value, myInputs.entries());
381 else if (instance[0] < myInputs.entries())
383 auto && _data = myInputs(instance[0]);
387 coerceValue(value, _data.inputtype);
390 coerceValue(value, _data.inputpointattribute);
393 coerceValue(value, _data.inputvolumename);
401 coerceValue(value, myTargets.entries());
402 else if (instance[0] < myTargets.entries())
404 auto && _data = myTargets(instance[0]);
408 coerceValue(value, _data.targettype);
411 coerceValue(value, _data.targetpointattribute);
414 coerceValue(value, _data.targetvolumename);
421 coerceValue(value, myComponentLayoutEncoding);
437 { doGetParmValue(idx, instance, value); }
439 { doGetParmValue(idx, instance, value); }
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 template <
typename T>
466 if (idx.
size() != instance.
size()+1)
471 coerceValue(myOutputMode, clampMinValue(0, clampMaxValue(1, value ) ));
474 coerceValue(myInputDimensionAttribute, ( ( value ) ));
477 coerceValue(myTargetDimensionAttribute, ( ( value ) ));
480 coerceValue(mySerialAttribute, ( ( value ) ));
483 coerceValue(myOutputFile, ( ( value ) ));
489 coerceValue(newsize, value);
490 if (newsize < 0) newsize = 0;
491 myInputs.setSize(newsize);
497 myInputs.setSizeIfNeeded(instance[0]+1);
498 auto && _data = myInputs(instance[0]);
502 coerceValue(_data.inputtype, value);
505 coerceValue(_data.inputpointattribute, value);
508 coerceValue(_data.inputvolumename, value);
518 coerceValue(newsize, value);
519 if (newsize < 0) newsize = 0;
520 myTargets.setSize(newsize);
526 myTargets.setSizeIfNeeded(instance[0]+1);
527 auto && _data = myTargets(instance[0]);
531 coerceValue(_data.targettype, value);
534 coerceValue(_data.targetpointattribute, value);
537 coerceValue(_data.targetvolumename, value);
544 coerceValue(myComponentLayoutEncoding, clampMinValue(0, clampMaxValue(1, value ) ));
551 { doSetParmValue(idx, instance, value); }
553 { doSetParmValue(idx, instance, value); }
555 { doSetParmValue(idx, instance, value); }
557 { doSetParmValue(idx, instance, value); }
559 { doSetParmValue(idx, instance, 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); }
591 if (fieldnum.
size() < 1)
598 return "inputdimensionattribute";
600 return "targetdimensionattribute";
602 return "serialattribute";
606 if (fieldnum.
size() == 1)
613 return "inputpointattribute#";
615 return "inputvolumename#";
620 if (fieldnum.
size() == 1)
625 return "targettype#";
627 return "targetpointattribute#";
629 return "targetvolumename#";
634 return "componentlayoutencoding";
642 if (fieldnum.
size() < 1)
643 return PARM_UNSUPPORTED;
657 if (fieldnum.
size() == 1)
658 return PARM_MULTIPARM;
669 return PARM_UNSUPPORTED;
671 if (fieldnum.
size() == 1)
672 return PARM_MULTIPARM;
683 return PARM_UNSUPPORTED;
688 return PARM_UNSUPPORTED;
724 loadData(is, rampdata);
742 int typelen = colon - data.
buffer();
756 {
int64 iv =
v; UTwrite(os, &iv); }
758 { UTwrite<fpreal64>(os, &
v); }
760 { UTwrite<fpreal64>(os, &v.
x()); UTwrite<fpreal64>(os, &v.
y()); }
762 { UTwrite<fpreal64>(os, &v.
x()); UTwrite<fpreal64>(os, &v.
y());
763 UTwrite<fpreal64>(os, &v.
z()); }
765 { UTwrite<fpreal64>(os, &v.
x()); UTwrite<fpreal64>(os, &v.
y());
766 UTwrite<fpreal64>(os, &v.
z()); UTwrite<fpreal64>(os, &v.
w()); }
778 if (s) s->save(ostr);
780 saveData(os, result);
787 ostr << s->getDataTypeToken();
792 saveData(os, result);
796 void save(std::ostream &os)
const
800 saveData(os, myOutputMode);
801 saveData(os, myInputDimensionAttribute);
802 saveData(os, myTargetDimensionAttribute);
803 saveData(os, mySerialAttribute);
804 saveData(os, myOutputFile);
805 saveData(os, raw_myOutputFile);
808 UTwrite(os, &length);
811 auto && _curentry = myInputs(i);
813 saveData(os, _curentry.inputtype);
814 saveData(os, _curentry.inputpointattribute);
815 saveData(os, _curentry.inputvolumename);
821 UTwrite(os, &length);
824 auto && _curentry = myTargets(i);
826 saveData(os, _curentry.targettype);
827 saveData(os, _curentry.targetpointattribute);
828 saveData(os, _curentry.targetvolumename);
832 saveData(os, myComponentLayoutEncoding);
845 loadData(is, myOutputMode);
846 loadData(is, myInputDimensionAttribute);
847 loadData(is, myTargetDimensionAttribute);
848 loadData(is, mySerialAttribute);
849 loadData(is, myOutputFile);
850 loadData(is, raw_myOutputFile);
854 myInputs.setSize(length);
857 auto && _curentry = myInputs(i);
859 loadData(is, _curentry.inputtype);
860 loadData(is, _curentry.inputpointattribute);
861 loadData(is, _curentry.inputvolumename);
868 myTargets.setSize(length);
871 auto && _curentry = myTargets(i);
873 loadData(is, _curentry.targettype);
874 loadData(is, _curentry.targetpointattribute);
875 loadData(is, _curentry.targetvolumename);
879 loadData(is, myComponentLayoutEncoding);
889 if (!thissop)
return getOutputMode();
891 OP_Utils::evalOpParm(result, thissop,
"outputmode", cookparms.
getCookTime(), 0);
899 if (!thissop)
return getInputDimensionAttribute();
901 OP_Utils::evalOpParm(result, thissop,
"inputdimensionattribute", cookparms.
getCookTime(), 0);
909 if (!thissop)
return getTargetDimensionAttribute();
911 OP_Utils::evalOpParm(result, thissop,
"targetdimensionattribute", cookparms.
getCookTime(), 0);
919 if (!thissop)
return getSerialAttribute();
921 OP_Utils::evalOpParm(result, thissop,
"serialattribute", cookparms.
getCookTime(), 0);
929 if (!thissop)
return getOutputFile();
931 OP_Utils::evalOpParm(result, thissop,
"sopoutput", cookparms.
getCookTime(), 0);
939 if (!thissop)
return raw_getOutputFile();
941 OP_Utils::evalOpParmRaw(result, thissop,
"sopoutput", cookparms.
getCookTime(), 0);
949 if (!thissop)
return getInputs().entries();
951 OP_Utils::evalOpParm(result, thissop,
"inputs", cookparms.
getCookTime(), 0);
955 {
return opinstInputs_inputtype(cookparms, &_idx); }
959 if (!thissop)
return (myInputs(_idx[0]).inputtype);
961 _parmidx[1-1] = _idx[1-1] + 1;
964 OP_Utils::evalOpParmInst(result, thissop,
"inputtype#", _parmidx, cookparms.
getCookTime(), 0, 2-1);
968 {
return opinstInputs_inputpointattribute(cookparms, &_idx); }
972 if (!thissop)
return (myInputs(_idx[0]).inputpointattribute);
974 _parmidx[1-1] = _idx[1-1] + 1;
977 OP_Utils::evalOpParmInst(result, thissop,
"inputpointattribute#", _parmidx, cookparms.
getCookTime(), 0, 2-1);
981 {
return opinstInputs_inputvolumename(cookparms, &_idx); }
985 if (!thissop)
return (myInputs(_idx[0]).inputvolumename);
987 _parmidx[1-1] = _idx[1-1] + 1;
990 OP_Utils::evalOpParmInst(result, thissop,
"inputvolumename#", _parmidx, cookparms.
getCookTime(), 0, 2-1);
999 if (!thissop)
return getTargets().entries();
1001 OP_Utils::evalOpParm(result, thissop,
"targets", cookparms.
getCookTime(), 0);
1005 {
return opinstTargets_targettype(cookparms, &_idx); }
1009 if (!thissop)
return (myTargets(_idx[0]).targettype);
1011 _parmidx[1-1] = _idx[1-1] + 1;
1014 OP_Utils::evalOpParmInst(result, thissop,
"targettype#", _parmidx, cookparms.
getCookTime(), 0, 2-1);
1018 {
return opinstTargets_targetpointattribute(cookparms, &_idx); }
1022 if (!thissop)
return (myTargets(_idx[0]).targetpointattribute);
1024 _parmidx[1-1] = _idx[1-1] + 1;
1027 OP_Utils::evalOpParmInst(result, thissop,
"targetpointattribute#", _parmidx, cookparms.
getCookTime(), 0, 2-1);
1031 {
return opinstTargets_targetvolumename(cookparms, &_idx); }
1035 if (!thissop)
return (myTargets(_idx[0]).targetvolumename);
1037 _parmidx[1-1] = _idx[1-1] + 1;
1040 OP_Utils::evalOpParmInst(result, thissop,
"targetvolumename#", _parmidx, cookparms.
getCookTime(), 0, 2-1);
1049 if (!thissop)
return getComponentLayoutEncoding();
1051 OP_Utils::evalOpParm(result, thissop,
"componentlayoutencoding", cookparms.
getCookTime(), 0);
1064 int64 myComponentLayoutEncoding;
static void loadData(UT_IStream &is, UT_Vector4I &v)
static void saveData(std::ostream &os, UT_Matrix4D v)
static void saveData(std::ostream &os, UT_SharedPtr< UT_Ramp > s)
GLenum GLuint GLenum GLsizei const GLchar * buf
ComponentLayoutEncoding getComponentLayoutEncoding() const
void loadFromOpSubclass(const LoadParms &loadparms) override
SOP_Node * getNode() const
UT_StringHolder opinstTargets_targetpointattribute(const SOP_NodeVerb::CookParms &cookparms, const int *_idx) const
static void saveData(std::ostream &os, UT_StringHolder s)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
static void loadData(UT_IStream &is, int64 &v)
static void loadData(UT_IStream &is, fpreal64 &v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
UT_StringHolder opSerialAttribute(const SOP_NodeVerb::CookParms &cookparms) const
exint bread(int32 *buffer, exint asize=1)
GT_API const UT_StringHolder time
constexpr SYS_FORCE_INLINE T & y() noexcept
void setTargetDimensionAttribute(const UT_StringHolder &val)
GLsizei const GLfloat * value
UT_StringHolder opInputDimensionAttribute(const SOP_NodeVerb::CookParms &cookparms) const
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
UT_StringHolder opOutputFile(const SOP_NodeVerb::CookParms &cookparms) const
void setSerialAttribute(const UT_StringHolder &val)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
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
SYS_FORCE_INLINE const char * buffer() const
GLuint GLsizei GLsizei * length
static void saveData(std::ostream &os, PRM_DataItemHandle s)
An output stream object that owns its own string buffer storage.
void copyFrom(const OP_NodeParms *src) override
void setOutputMode(OutputMode val)
**But if you need a result
static void loadData(UT_IStream &is, PRM_DataItemHandle &v)
bool operator==(const Targets &src) const
static void saveData(std::ostream &os, bool v)
bool isParmColorRamp(exint idx) const override
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 getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
constexpr SYS_FORCE_INLINE T & x() noexcept
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
void doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
ComponentLayoutEncoding opComponentLayoutEncoding(const SOP_NodeVerb::CookParms &cookparms) const
static void saveData(std::ostream &os, UT_Matrix2D v)
GLuint GLsizei const GLuint const GLintptr * offsets
UT_StringHolder opInputs_inputvolumename(const SOP_NodeVerb::CookParms &cookparms, int _idx) const
UT_SharedPtr< const PRM_DataItem > PRM_DataItemHandle
constexpr SYS_FORCE_INLINE T & x() noexcept
const UT_StringHolder & getTargetDimensionAttribute() const
bool operator==(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
static void loadData(UT_IStream &is, bool &v)
UT_StringHolder opinstInputs_inputvolumename(const SOP_NodeVerb::CookParms &cookparms, const int *_idx) const
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
OutputMode opOutputMode(const SOP_NodeVerb::CookParms &cookparms) const
bool operator!=(const SOP_MLExampleSerializePackedParms &src) const
void setInputs(const UT_Array< Inputs > &val)
ParmType getNestParmType(TempIndex fieldnum) const override
UT_StringHolder targetvolumename
UT_StringHolder opTargets_targetvolumename(const SOP_NodeVerb::CookParms &cookparms, int _idx) const
SYS_FORCE_INLINE const char * buffer() const
std::shared_ptr< T > UT_SharedPtr
Wrapper around std::shared_ptr.
int64 opinstTargets_targettype(const SOP_NodeVerb::CookParms &cookparms, const int *_idx) const
constexpr SYS_FORCE_INLINE T & z() noexcept
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
UT_StringHolder opinstInputs_inputpointattribute(const SOP_NodeVerb::CookParms &cookparms, const int *_idx) const
void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
exint read(bool *array, exint sz=1)
const OP_GraphProxy * graph() const
bool load(UT_IStream &is)
exint opTargets(const SOP_NodeVerb::CookParms &cookparms) const
void raw_setOutputFile(const UT_StringHolder &val)
UT_StringHolder opInputs_inputpointattribute(const SOP_NodeVerb::CookParms &cookparms, int _idx) const
UT_StringHolder opTargets_targetpointattribute(const SOP_NodeVerb::CookParms &cookparms, int _idx) const
const UT_StringHolder & getInputDimensionAttribute() const
static void saveData(std::ostream &os, int64 v)
static void saveData(std::ostream &os, UT_Vector3D v)
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
UT_StringHolder createString(const UT_Array< Inputs > &list) const
SOP_MLExampleSerializePackedParms()
bool operator!=(const Targets &src) const
const char * getNestParmName(TempIndex fieldnum) const override
static void saveData(std::ostream &os, fpreal64 v)
const UT_Array< Inputs > & getInputs() const
static void saveData(std::ostream &os, UT_Matrix3D v)
virtual void evalOpParm(int64 &v, NodeIdx node, const char *parmname, fpreal time, DEP_MicroNode *depnode) const =0
void setInputDimensionAttribute(const UT_StringHolder &val)
UT_StringHolder createString(const UT_Array< Targets > &list) const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
void setComponentLayoutEncoding(ComponentLayoutEncoding val)
SYS_FORCE_INLINE void strcat(const char *src)
void saveBinary(std::ostream &os) const
Save string to binary stream.
void setOutputFile(const UT_StringHolder &val)
GT_API const UT_StringHolder version
exint entries() const
Alias of size(). size() is preferred.
bool operator==(const SOP_MLExampleSerializePackedParms &src) const
static void loadData(UT_IStream &is, UT_Matrix3D &v)
UT_StringHolder raw_opOutputFile(const SOP_NodeVerb::CookParms &cookparms) const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
int int appendSprintf(const char *fmt,...) SYS_PRINTF_CHECK_ATTRIBUTE(2
int64 opinstInputs_inputtype(const SOP_NodeVerb::CookParms &cookparms, const int *_idx) const
static void loadData(UT_IStream &is, UT_Vector2D &v)
static void loadData(UT_IStream &is, UT_SharedPtr< UT_Ramp > &v)
static void loadData(UT_IStream &is, UT_Vector3I &v)
void setTargets(const UT_Array< Targets > &val)
SYS_FORCE_INLINE UT_StringHolder getToken(OutputMode enum_value)
DEP_MicroNode * depnode() const
static void loadData(UT_IStream &is, UT_Matrix4D &v)
LeafData & operator=(const LeafData &)=delete
const UT_StringHolder & getOutputFile() const
Utility class for containing a color ramp.
void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
constexpr SYS_FORCE_INLINE T & w() noexcept
SYS_FORCE_INLINE void append(char character)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr< UT_Ramp > &value) const override
virtual UT_StringHolder baseGetSignature() const
const UT_Array< Targets > & getTargets() const
static void saveData(std::ostream &os, UT_Vector2D v)
fpreal getCookTime() const
static void saveData(std::ostream &os, UT_Vector4D v)
void save(std::ostream &os) const
int64 opTargets_targettype(const SOP_NodeVerb::CookParms &cookparms, int _idx) const
int64 opInputs_inputtype(const SOP_NodeVerb::CookParms &cookparms, int _idx) const
void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
static void loadData(UT_IStream &is, UT_Vector2I &v)
static void loadData(UT_IStream &is, UT_StringHolder &v)
const UT_StringHolder & raw_getOutputFile() const
const char * findChar(int c) const
OutputMode getOutputMode() const
exint opInputs(const SOP_NodeVerb::CookParms &cookparms) const
UT_StringHolder opTargetDimensionAttribute(const SOP_NodeVerb::CookParms &cookparms) const
void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
UT_StringHolder targetpointattribute
constexpr SYS_FORCE_INLINE T & y() noexcept
static void loadData(UT_IStream &is, UT_Vector3D &v)
static void loadData(UT_IStream &is, UT_Matrix2D &v)
UT_StringHolder opinstTargets_targetvolumename(const SOP_NodeVerb::CookParms &cookparms, const int *_idx) const
virtual bool isDirect() const =0
Direct proxies mirror actual nodes:
void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
static void loadData(UT_IStream &is, UT_Vector4D &v)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
constexpr SYS_FORCE_INLINE T & y() noexcept
SYS_FORCE_INLINE bool isstring() const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr< UT_Ramp > &value) override
exint getNestNumParms(TempIndex idx) const override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
const UT_StringHolder & getSerialAttribute() const
void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
void buildFromOp(const OP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
SYS_FORCE_INLINE void strncpy(const char *src, exint maxlen)
void doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
constexpr SYS_FORCE_INLINE T & x() noexcept