23 namespace SOP_MLExampleDeserializePackedEnums
34 using namespace UT::Literal;
51 using namespace UT::Literal;
78 inputpointattribute =
"value"_UTsh;
79 inputvolumename =
"density"_UTsh;
87 if (inputtype != src.
inputtype)
return false;
107 for (
int i = 0; i < list.
entries(); i++)
142 targetpointattribute =
"value"_UTsh;
143 targetvolumename =
"density"_UTsh;
151 if (targettype != src.
targettype)
return false;
171 for (
int i = 0; i < list.
entries(); i++)
197 myInputDimensionAttribute =
"inputdimension"_UTsh;
198 myTargetDimensionAttribute =
"targetdimension"_UTsh;
199 mySerialAttribute =
"value"_UTsh;
201 myTargets.setSize(1);
214 if (myInputDimensionAttribute != src.myInputDimensionAttribute)
return false;
215 if (myTargetDimensionAttribute != src.myTargetDimensionAttribute)
return false;
216 if (mySerialAttribute != src.mySerialAttribute)
return false;
217 if (myInputs != src.myInputs)
return false;
218 if (myTargets != src.myTargets)
return false;
233 myInputDimensionAttribute =
"inputdimension"_UTsh;
235 graph->
evalOpParm(myInputDimensionAttribute, nodeidx,
"inputdimensionattribute", time, 0);
236 myTargetDimensionAttribute =
"targetdimension"_UTsh;
238 graph->
evalOpParm(myTargetDimensionAttribute, nodeidx,
"targetdimensionattribute", time, 0);
239 mySerialAttribute =
"value"_UTsh;
241 graph->
evalOpParm(mySerialAttribute, nodeidx,
"serialattribute", time, 0);
245 graph->
evalOpParm(length, nodeidx,
"inputs", time, 0);
246 if (length < 0) length = 0;
247 myInputs.setSize(length);
254 auto && _curentry = myInputs(i);
256 _curentry.inputtype = 0;
258 graph->
evalOpParmInst(_curentry.inputtype, nodeidx,
"inputtype#", parmidx, offsets, time, 0, 2-1);
259 _curentry.inputpointattribute =
"value"_UTsh;
260 if (
true && ( (
true&&!(((_curentry.inputtype!=0)))) ) )
261 graph->
evalOpParmInst(_curentry.inputpointattribute, nodeidx,
"inputpointattribute#", parmidx, offsets, time, 0, 2-1);
262 _curentry.inputvolumename =
"density"_UTsh;
263 if (
true && ( (
true&&!(((_curentry.inputtype!=1)))) ) )
264 graph->
evalOpParmInst(_curentry.inputvolumename, nodeidx,
"inputvolumename#", parmidx, offsets, time, 0, 2-1);
265 _curentry.inputvolumeresolution =
UT_Vector3I(10,10,10);
266 if (
true && ( (
true&&!(((_curentry.inputtype!=1)))) ) )
267 graph->
evalOpParmInst(_curentry.inputvolumeresolution, nodeidx,
"inputvolumeresolution#", parmidx, offsets, time, 0, 2-1);
268 _curentry.inputtuplesize = 1;
270 graph->
evalOpParmInst(_curentry.inputtuplesize, nodeidx,
"inputtuplesize#", parmidx, offsets, time, 0, 2-1);
279 graph->
evalOpParm(length, nodeidx,
"targets", time, 0);
280 if (length < 0) length = 0;
281 myTargets.setSize(length);
288 auto && _curentry = myTargets(i);
290 _curentry.targettype = 0;
292 graph->
evalOpParmInst(_curentry.targettype, nodeidx,
"targettype#", parmidx, offsets, time, 0, 2-1);
293 _curentry.targetpointattribute =
"value"_UTsh;
294 if (
true && ( (
true&&!(((_curentry.targettype!=0)))) ) )
295 graph->
evalOpParmInst(_curentry.targetpointattribute, nodeidx,
"targetpointattribute#", parmidx, offsets, time, 0, 2-1);
296 _curentry.targetvolumename =
"density"_UTsh;
297 if (
true && ( (
true&&!(((_curentry.targettype!=1)))) ) )
298 graph->
evalOpParmInst(_curentry.targetvolumename, nodeidx,
"targetvolumename#", parmidx, offsets, time, 0, 2-1);
299 _curentry.targetvolumeresolution =
UT_Vector3I(10,10,10);
300 if (
true && ( (
true&&!(((_curentry.targettype!=1)))) ) )
301 graph->
evalOpParmInst(_curentry.targetvolumeresolution, nodeidx,
"targetvolumeresolution#", parmidx, offsets, time, 0, 2-1);
302 _curentry.targettuplesize = 1;
304 graph->
evalOpParmInst(_curentry.targettuplesize, nodeidx,
"targettuplesize#", parmidx, offsets, time, 0, 2-1);
325 template <
typename T>
332 if (idx.
size() != instance.
size()+1)
337 coerceValue(value, myInputDimensionAttribute);
340 coerceValue(value, myTargetDimensionAttribute);
343 coerceValue(value, mySerialAttribute);
347 coerceValue(value, myInputs.entries());
348 else if (instance[0] < myInputs.entries())
350 auto && _data = myInputs(instance[0]);
354 coerceValue(value, _data.inputtype);
357 coerceValue(value, _data.inputpointattribute);
360 coerceValue(value, _data.inputvolumename);
363 coerceValue(value, _data.inputvolumeresolution);
366 coerceValue(value, _data.inputtuplesize);
374 coerceValue(value, myTargets.entries());
375 else if (instance[0] < myTargets.entries())
377 auto && _data = myTargets(instance[0]);
381 coerceValue(value, _data.targettype);
384 coerceValue(value, _data.targetpointattribute);
387 coerceValue(value, _data.targetvolumename);
390 coerceValue(value, _data.targetvolumeresolution);
393 coerceValue(value, _data.targettuplesize);
413 { doGetParmValue(idx, instance, value); }
415 { doGetParmValue(idx, instance, value); }
417 { doGetParmValue(idx, instance, value); }
419 { doGetParmValue(idx, instance, value); }
421 { doGetParmValue(idx, instance, value); }
423 { doGetParmValue(idx, instance, value); }
425 { doGetParmValue(idx, instance, value); }
427 { doGetParmValue(idx, instance, value); }
429 { doGetParmValue(idx, instance, value); }
431 { doGetParmValue(idx, instance, value); }
433 { doGetParmValue(idx, instance, value); }
435 template <
typename T>
442 if (idx.
size() != instance.
size()+1)
447 coerceValue(myInputDimensionAttribute, ( ( value ) ));
450 coerceValue(myTargetDimensionAttribute, ( ( value ) ));
453 coerceValue(mySerialAttribute, ( ( value ) ));
459 coerceValue(newsize, value);
460 if (newsize < 0) newsize = 0;
461 myInputs.setSize(newsize);
467 myInputs.setSizeIfNeeded(instance[0]+1);
468 auto && _data = myInputs(instance[0]);
472 coerceValue(_data.inputtype, value);
475 coerceValue(_data.inputpointattribute, value);
478 coerceValue(_data.inputvolumename, value);
481 coerceValue(_data.inputvolumeresolution, value);
484 coerceValue(_data.inputtuplesize, value);
494 coerceValue(newsize, value);
495 if (newsize < 0) newsize = 0;
496 myTargets.setSize(newsize);
502 myTargets.setSizeIfNeeded(instance[0]+1);
503 auto && _data = myTargets(instance[0]);
507 coerceValue(_data.targettype, value);
510 coerceValue(_data.targetpointattribute, value);
513 coerceValue(_data.targetvolumename, value);
516 coerceValue(_data.targetvolumeresolution, value);
519 coerceValue(_data.targettuplesize, value);
530 { doSetParmValue(idx, instance, value); }
532 { doSetParmValue(idx, instance, value); }
534 { doSetParmValue(idx, instance, value); }
536 { doSetParmValue(idx, instance, value); }
538 { doSetParmValue(idx, instance, value); }
540 { doSetParmValue(idx, instance, value); }
542 { doSetParmValue(idx, instance, value); }
544 { doSetParmValue(idx, instance, value); }
546 { doSetParmValue(idx, instance, value); }
548 { doSetParmValue(idx, instance, value); }
550 { doSetParmValue(idx, instance, value); }
570 if (fieldnum.
size() < 1)
575 return "inputdimensionattribute";
577 return "targetdimensionattribute";
579 return "serialattribute";
581 if (fieldnum.
size() == 1)
588 return "inputpointattribute#";
590 return "inputvolumename#";
592 return "inputvolumeresolution#";
594 return "inputtuplesize#";
599 if (fieldnum.
size() == 1)
604 return "targettype#";
606 return "targetpointattribute#";
608 return "targetvolumename#";
610 return "targetvolumeresolution#";
612 return "targettuplesize#";
623 if (fieldnum.
size() < 1)
624 return PARM_UNSUPPORTED;
634 if (fieldnum.
size() == 1)
635 return PARM_MULTIPARM;
650 return PARM_UNSUPPORTED;
652 if (fieldnum.
size() == 1)
653 return PARM_MULTIPARM;
668 return PARM_UNSUPPORTED;
671 return PARM_UNSUPPORTED;
707 loadData(is, rampdata);
725 int typelen = colon - data.
buffer();
739 {
int64 iv =
v; UTwrite(os, &iv); }
741 { UTwrite<fpreal64>(os, &
v); }
743 { UTwrite<fpreal64>(os, &v.
x()); UTwrite<fpreal64>(os, &v.
y()); }
745 { UTwrite<fpreal64>(os, &v.
x()); UTwrite<fpreal64>(os, &v.
y());
746 UTwrite<fpreal64>(os, &v.
z()); }
748 { UTwrite<fpreal64>(os, &v.
x()); UTwrite<fpreal64>(os, &v.
y());
749 UTwrite<fpreal64>(os, &v.
z()); UTwrite<fpreal64>(os, &v.
w()); }
761 if (s) s->save(ostr);
763 saveData(os, result);
770 ostr << s->getDataTypeToken();
775 saveData(os, result);
779 void save(std::ostream &os)
const
783 saveData(os, myInputDimensionAttribute);
784 saveData(os, myTargetDimensionAttribute);
785 saveData(os, mySerialAttribute);
788 UTwrite(os, &length);
791 auto && _curentry = myInputs(i);
793 saveData(os, _curentry.inputtype);
794 saveData(os, _curentry.inputpointattribute);
795 saveData(os, _curentry.inputvolumename);
796 saveData(os, _curentry.inputvolumeresolution);
797 saveData(os, _curentry.inputtuplesize);
803 UTwrite(os, &length);
806 auto && _curentry = myTargets(i);
808 saveData(os, _curentry.targettype);
809 saveData(os, _curentry.targetpointattribute);
810 saveData(os, _curentry.targetvolumename);
811 saveData(os, _curentry.targetvolumeresolution);
812 saveData(os, _curentry.targettuplesize);
828 loadData(is, myInputDimensionAttribute);
829 loadData(is, myTargetDimensionAttribute);
830 loadData(is, mySerialAttribute);
834 myInputs.setSize(length);
837 auto && _curentry = myInputs(i);
839 loadData(is, _curentry.inputtype);
840 loadData(is, _curentry.inputpointattribute);
841 loadData(is, _curentry.inputvolumename);
842 loadData(is, _curentry.inputvolumeresolution);
843 loadData(is, _curentry.inputtuplesize);
850 myTargets.setSize(length);
853 auto && _curentry = myTargets(i);
855 loadData(is, _curentry.targettype);
856 loadData(is, _curentry.targetpointattribute);
857 loadData(is, _curentry.targetvolumename);
858 loadData(is, _curentry.targetvolumeresolution);
859 loadData(is, _curentry.targettuplesize);
872 if (!thissop)
return getInputDimensionAttribute();
874 OP_Utils::evalOpParm(result, thissop,
"inputdimensionattribute", cookparms.
getCookTime(), 0);
882 if (!thissop)
return getTargetDimensionAttribute();
884 OP_Utils::evalOpParm(result, thissop,
"targetdimensionattribute", cookparms.
getCookTime(), 0);
892 if (!thissop)
return getSerialAttribute();
894 OP_Utils::evalOpParm(result, thissop,
"serialattribute", cookparms.
getCookTime(), 0);
902 if (!thissop)
return getInputs().entries();
904 OP_Utils::evalOpParm(result, thissop,
"inputs", cookparms.
getCookTime(), 0);
908 {
return opinstInputs_inputtype(cookparms, &_idx); }
912 if (!thissop)
return (myInputs(_idx[0]).inputtype);
914 _parmidx[1-1] = _idx[1-1] + 1;
917 OP_Utils::evalOpParmInst(result, thissop,
"inputtype#", _parmidx, cookparms.
getCookTime(), 0, 2-1);
921 {
return opinstInputs_inputpointattribute(cookparms, &_idx); }
925 if (!thissop)
return (myInputs(_idx[0]).inputpointattribute);
927 _parmidx[1-1] = _idx[1-1] + 1;
930 OP_Utils::evalOpParmInst(result, thissop,
"inputpointattribute#", _parmidx, cookparms.
getCookTime(), 0, 2-1);
934 {
return opinstInputs_inputvolumename(cookparms, &_idx); }
938 if (!thissop)
return (myInputs(_idx[0]).inputvolumename);
940 _parmidx[1-1] = _idx[1-1] + 1;
943 OP_Utils::evalOpParmInst(result, thissop,
"inputvolumename#", _parmidx, cookparms.
getCookTime(), 0, 2-1);
947 {
return opinstInputs_inputvolumeresolution(cookparms, &_idx); }
951 if (!thissop)
return (myInputs(_idx[0]).inputvolumeresolution);
953 _parmidx[1-1] = _idx[1-1] + 1;
956 OP_Utils::evalOpParmInst(result, thissop,
"inputvolumeresolution#", _parmidx, cookparms.
getCookTime(), 0, 2-1);
960 {
return opinstInputs_inputtuplesize(cookparms, &_idx); }
964 if (!thissop)
return (myInputs(_idx[0]).inputtuplesize);
966 _parmidx[1-1] = _idx[1-1] + 1;
969 OP_Utils::evalOpParmInst(result, thissop,
"inputtuplesize#", _parmidx, cookparms.
getCookTime(), 0, 2-1);
978 if (!thissop)
return getTargets().entries();
980 OP_Utils::evalOpParm(result, thissop,
"targets", cookparms.
getCookTime(), 0);
984 {
return opinstTargets_targettype(cookparms, &_idx); }
988 if (!thissop)
return (myTargets(_idx[0]).targettype);
990 _parmidx[1-1] = _idx[1-1] + 1;
993 OP_Utils::evalOpParmInst(result, thissop,
"targettype#", _parmidx, cookparms.
getCookTime(), 0, 2-1);
997 {
return opinstTargets_targetpointattribute(cookparms, &_idx); }
1001 if (!thissop)
return (myTargets(_idx[0]).targetpointattribute);
1003 _parmidx[1-1] = _idx[1-1] + 1;
1006 OP_Utils::evalOpParmInst(result, thissop,
"targetpointattribute#", _parmidx, cookparms.
getCookTime(), 0, 2-1);
1010 {
return opinstTargets_targetvolumename(cookparms, &_idx); }
1014 if (!thissop)
return (myTargets(_idx[0]).targetvolumename);
1016 _parmidx[1-1] = _idx[1-1] + 1;
1019 OP_Utils::evalOpParmInst(result, thissop,
"targetvolumename#", _parmidx, cookparms.
getCookTime(), 0, 2-1);
1023 {
return opinstTargets_targetvolumeresolution(cookparms, &_idx); }
1027 if (!thissop)
return (myTargets(_idx[0]).targetvolumeresolution);
1029 _parmidx[1-1] = _idx[1-1] + 1;
1032 OP_Utils::evalOpParmInst(result, thissop,
"targetvolumeresolution#", _parmidx, cookparms.
getCookTime(), 0, 2-1);
1036 {
return opinstTargets_targettuplesize(cookparms, &_idx); }
1040 if (!thissop)
return (myTargets(_idx[0]).targettuplesize);
1042 _parmidx[1-1] = _idx[1-1] + 1;
1045 OP_Utils::evalOpParmInst(result, thissop,
"targettuplesize#", _parmidx, cookparms.
getCookTime(), 0, 2-1);
UT_Vector3I opinstInputs_inputvolumeresolution(const SOP_NodeVerb::CookParms &cookparms, const int *_idx) const
UT_StringHolder opinstTargets_targetvolumename(const SOP_NodeVerb::CookParms &cookparms, const int *_idx) const
static void loadData(UT_IStream &is, PRM_DataItemHandle &v)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
void buildFromOp(const OP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
static void saveData(std::ostream &os, UT_Matrix4D v)
void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
GLenum GLuint GLenum GLsizei const GLchar * buf
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
SOP_Node * getNode() const
int64 opinstTargets_targettype(const SOP_NodeVerb::CookParms &cookparms, const int *_idx) const
int64 opInputs_inputtuplesize(const SOP_NodeVerb::CookParms &cookparms, int _idx) const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr< UT_Ramp > &value) override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
UT_StringHolder opSerialAttribute(const SOP_NodeVerb::CookParms &cookparms) const
int64 opinstTargets_targettuplesize(const SOP_NodeVerb::CookParms &cookparms, const int *_idx) const
exint bread(int32 *buffer, exint asize=1)
exint opInputs(const SOP_NodeVerb::CookParms &cookparms) const
bool operator==(const SOP_MLExampleDeserializePackedParms &src) const
GT_API const UT_StringHolder time
constexpr SYS_FORCE_INLINE T & y() noexcept
void save(std::ostream &os) const
static void saveData(std::ostream &os, UT_SharedPtr< UT_Ramp > s)
void loadFromOpSubclass(const LoadParms &loadparms) override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
void setTargetDimensionAttribute(const UT_StringHolder &val)
bool operator==(const Targets &src) const
UT_String makeQuotedString(char delimiter='\'', bool escape_nonprinting=false) const
void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr< UT_Ramp > &value) const override
const OP_Context & context() const
static void loadData(UT_IStream &is, bool &v)
constexpr SYS_FORCE_INLINE T & z() noexcept
UT_Vector3I opTargets_targetvolumeresolution(const SOP_NodeVerb::CookParms &cookparms, int _idx) const
SYS_FORCE_INLINE const char * buffer() const
void setInputs(const UT_Array< Inputs > &val)
exint opTargets(const SOP_NodeVerb::CookParms &cookparms) const
GLuint GLsizei GLsizei * length
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
An output stream object that owns its own string buffer storage.
static void saveData(std::ostream &os, UT_Matrix3D v)
UT_StringHolder opTargets_targetpointattribute(const SOP_NodeVerb::CookParms &cookparms, int _idx) const
int64 opTargets_targettuplesize(const SOP_NodeVerb::CookParms &cookparms, int _idx) const
**But if you need a result
UT_Vector3T< int64 > UT_Vector3I
UT_StringHolder opTargetDimensionAttribute(const SOP_NodeVerb::CookParms &cookparms) 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.
bool operator!=(const Targets &src) const
constexpr SYS_FORCE_INLINE T & x() noexcept
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
int64 opinstInputs_inputtype(const SOP_NodeVerb::CookParms &cookparms, const int *_idx) const
GLuint GLsizei const GLuint const GLintptr * offsets
void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
int64 opInputs_inputtype(const SOP_NodeVerb::CookParms &cookparms, int _idx) const
constexpr SYS_FORCE_INLINE T & x() noexcept
static void loadData(UT_IStream &is, UT_Matrix2D &v)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
UT_StringHolder opinstTargets_targetpointattribute(const SOP_NodeVerb::CookParms &cookparms, const int *_idx) const
bool operator==(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
UT_StringHolder opInputs_inputpointattribute(const SOP_NodeVerb::CookParms &cookparms, int _idx) const
void setInputDimensionAttribute(const UT_StringHolder &val)
static void loadData(UT_IStream &is, UT_Vector4I &v)
UT_StringHolder opinstInputs_inputvolumename(const SOP_NodeVerb::CookParms &cookparms, const int *_idx) const
static void saveData(std::ostream &os, UT_Vector4D v)
ParmType getNestParmType(TempIndex fieldnum) const override
exint getNestNumParms(TempIndex idx) const override
int64 opinstInputs_inputtuplesize(const SOP_NodeVerb::CookParms &cookparms, const int *_idx) const
static void saveData(std::ostream &os, fpreal64 v)
UT_StringHolder createString(const UT_Array< Targets > &list) const
SYS_FORCE_INLINE const char * buffer() const
std::shared_ptr< T > UT_SharedPtr
Wrapper around std::shared_ptr.
const UT_Array< Inputs > & getInputs() const
constexpr SYS_FORCE_INLINE T & z() noexcept
exint read(bool *array, exint sz=1)
const OP_GraphProxy * graph() const
static void loadData(UT_IStream &is, int64 &v)
static void loadData(UT_IStream &is, UT_Matrix4D &v)
bool operator!=(const SOP_MLExampleDeserializePackedParms &src) 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
const UT_StringHolder & getSerialAttribute() const
const UT_StringHolder & getTargetDimensionAttribute() const
UT_StringHolder createString(const UT_Array< Inputs > &list) const
UT_StringHolder targetvolumename
SYS_FORCE_INLINE UT_StringHolder getToken(InputType enum_value)
virtual void evalOpParm(int64 &v, NodeIdx node, const char *parmname, fpreal time, DEP_MicroNode *depnode) const =0
UT_Vector3I targetvolumeresolution
static void saveData(std::ostream &os, PRM_DataItemHandle s)
SYS_FORCE_INLINE void strcat(const char *src)
void saveBinary(std::ostream &os) const
Save string to binary stream.
GT_API const UT_StringHolder version
int64 opTargets_targettype(const SOP_NodeVerb::CookParms &cookparms, int _idx) const
exint entries() const
Alias of size(). size() is preferred.
SOP_MLExampleDeserializePackedParms()
void setSerialAttribute(const UT_StringHolder &val)
static void loadData(UT_IStream &is, fpreal64 &v)
UT_Vector3I opinstTargets_targetvolumeresolution(const SOP_NodeVerb::CookParms &cookparms, const int *_idx) const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
static void loadData(UT_IStream &is, UT_Vector2I &v)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
int int appendSprintf(const char *fmt,...) SYS_PRINTF_CHECK_ATTRIBUTE(2
static void saveData(std::ostream &os, UT_Matrix2D v)
static void loadData(UT_IStream &is, UT_Vector3D &v)
void doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
UT_StringHolder opInputs_inputvolumename(const SOP_NodeVerb::CookParms &cookparms, int _idx) const
bool load(UT_IStream &is)
DEP_MicroNode * depnode() const
UT_StringHolder opInputDimensionAttribute(const SOP_NodeVerb::CookParms &cookparms) const
UT_StringHolder opTargets_targetvolumename(const SOP_NodeVerb::CookParms &cookparms, int _idx) const
LeafData & operator=(const LeafData &)=delete
Utility class for containing a color ramp.
static void saveData(std::ostream &os, UT_Vector3D v)
static void loadData(UT_IStream &is, UT_Vector3I &v)
constexpr SYS_FORCE_INLINE T & w() noexcept
SYS_FORCE_INLINE void append(char character)
UT_StringHolder opinstInputs_inputpointattribute(const SOP_NodeVerb::CookParms &cookparms, const int *_idx) const
static void saveData(std::ostream &os, UT_StringHolder s)
bool isParmColorRamp(exint idx) const override
void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
UT_Vector3I opInputs_inputvolumeresolution(const SOP_NodeVerb::CookParms &cookparms, int _idx) const
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
static void saveData(std::ostream &os, bool v)
fpreal getCookTime() const
static void loadData(UT_IStream &is, UT_Vector2D &v)
const char * findChar(int c) const
static void loadData(UT_IStream &is, UT_SharedPtr< UT_Ramp > &v)
void doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
static void saveData(std::ostream &os, int64 v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
void copyFrom(const OP_NodeParms *src) override
static void loadData(UT_IStream &is, UT_Matrix3D &v)
const UT_Array< Targets > & getTargets() const
constexpr SYS_FORCE_INLINE T & y() noexcept
void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
UT_StringHolder targetpointattribute
const UT_StringHolder & getInputDimensionAttribute() const
void setTargets(const UT_Array< Targets > &val)
UT_SharedPtr< const PRM_DataItem > PRM_DataItemHandle
const char * getNestParmName(TempIndex fieldnum) const override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
static void loadData(UT_IStream &is, UT_Vector4D &v)
constexpr SYS_FORCE_INLINE T & y() noexcept
SYS_FORCE_INLINE bool isstring() const
static void saveData(std::ostream &os, UT_Vector2D v)
SYS_FORCE_INLINE void strncpy(const char *src, exint maxlen)
static void loadData(UT_IStream &is, UT_StringHolder &v)
constexpr SYS_FORCE_INLINE T & x() noexcept