23 namespace SOP_PackedEditEnums
38 using namespace UT::Literal;
61 using namespace UT::Literal;
82 using namespace UT::Literal;
111 vpackedname =
""_UTsh;
120 if (vgroup != src.
vgroup)
return false;
123 if (visible3d != src.
visible3d)
return false;
124 if (visible2d != src.
visible2d)
return false;
140 for (
int i = 0; i < list.
entries(); i++)
173 mpackedname =
""_UTsh;
180 if (mgroup != src.
mgroup)
return false;
198 for (
int i = 0; i < list.
entries(); i++)
227 lpackedname =
""_UTsh;
228 lightcategories =
"*"_UTsh;
234 if (lgroup != src.
lgroup)
return false;
252 for (
int i = 0; i < list.
entries(); i++)
274 myVopcount.setSize(1);
275 myMopcount.setSize(1);
276 myLopcount.setSize(1);
289 if (myVopcount != src.myVopcount)
return false;
290 if (myMopcount != src.myMopcount)
return false;
291 if (myLopcount != src.myLopcount)
return false;
310 graph->
evalOpParm(length, nodeidx,
"vopcount", time, 0);
311 if (length < 0) length = 0;
312 myVopcount.setSize(length);
319 auto && _curentry = myVopcount(i);
321 _curentry.vgroup =
""_UTsh;
323 graph->
evalOpParmInst(_curentry.vgroup, nodeidx,
"vgroup#", parmidx, offsets, time, 0, 2-1);
324 _curentry.vpackedname =
""_UTsh;
326 graph->
evalOpParmInst(_curentry.vpackedname, nodeidx,
"vpackedname#", parmidx, offsets, time, 0, 2-1);
327 _curentry.viewportlod = 0;
329 graph->
evalOpParmInst(_curentry.viewportlod, nodeidx,
"viewportlod#", parmidx, offsets, time, 0, 2-1);
330 _curentry.visible3d = 0;
332 graph->
evalOpParmInst(_curentry.visible3d, nodeidx,
"visible3d#", parmidx, offsets, time, 0, 2-1);
333 _curentry.visible2d = 0;
335 graph->
evalOpParmInst(_curentry.visible2d, nodeidx,
"visible2d#", parmidx, offsets, time, 0, 2-1);
344 graph->
evalOpParm(length, nodeidx,
"mopcount", time, 0);
345 if (length < 0) length = 0;
346 myMopcount.setSize(length);
353 auto && _curentry = myMopcount(i);
355 _curentry.mgroup =
""_UTsh;
357 graph->
evalOpParmInst(_curentry.mgroup, nodeidx,
"mgroup#", parmidx, offsets, time, 0, 2-1);
358 _curentry.mpackedname =
""_UTsh;
360 graph->
evalOpParmInst(_curentry.mpackedname, nodeidx,
"mpackedname#", parmidx, offsets, time, 0, 2-1);
361 _curentry.shop_materialpath =
""_UTsh;
363 graph->
evalOpParmInst(_curentry.shop_materialpath, nodeidx,
"shop_materialpath#", parmidx, offsets, time, 0, 2-1);
372 graph->
evalOpParm(length, nodeidx,
"lopcount", time, 0);
373 if (length < 0) length = 0;
374 myLopcount.setSize(length);
381 auto && _curentry = myLopcount(i);
383 _curentry.lgroup =
""_UTsh;
385 graph->
evalOpParmInst(_curentry.lgroup, nodeidx,
"lgroup#", parmidx, offsets, time, 0, 2-1);
386 _curentry.lpackedname =
""_UTsh;
388 graph->
evalOpParmInst(_curentry.lpackedname, nodeidx,
"lpackedname#", parmidx, offsets, time, 0, 2-1);
389 _curentry.lightcategories =
"*"_UTsh;
391 graph->
evalOpParmInst(_curentry.lightcategories, nodeidx,
"lightcategories#", parmidx, offsets, time, 0, 2-1);
412 template <
typename T>
419 if (idx.
size() != instance.
size()+1)
425 coerceValue(value, myVopcount.entries());
426 else if (instance[0] < myVopcount.entries())
428 auto && _data = myVopcount(instance[0]);
432 coerceValue(value, _data.vgroup);
435 coerceValue(value, _data.vpackedname);
438 coerceValue(value, _data.viewportlod);
441 coerceValue(value, _data.visible3d);
444 coerceValue(value, _data.visible2d);
452 coerceValue(value, myMopcount.entries());
453 else if (instance[0] < myMopcount.entries())
455 auto && _data = myMopcount(instance[0]);
459 coerceValue(value, _data.mgroup);
462 coerceValue(value, _data.mpackedname);
465 coerceValue(value, _data.shop_materialpath);
473 coerceValue(value, myLopcount.entries());
474 else if (instance[0] < myLopcount.entries())
476 auto && _data = myLopcount(instance[0]);
480 coerceValue(value, _data.lgroup);
483 coerceValue(value, _data.lpackedname);
486 coerceValue(value, _data.lightcategories);
506 { doGetParmValue(idx, instance, value); }
508 { doGetParmValue(idx, instance, value); }
510 { doGetParmValue(idx, instance, value); }
512 { doGetParmValue(idx, instance, value); }
514 { doGetParmValue(idx, instance, value); }
516 { doGetParmValue(idx, instance, value); }
518 { doGetParmValue(idx, instance, value); }
520 { doGetParmValue(idx, instance, value); }
522 { doGetParmValue(idx, instance, value); }
524 { doGetParmValue(idx, instance, value); }
526 { doGetParmValue(idx, instance, value); }
528 template <
typename T>
535 if (idx.
size() != instance.
size()+1)
543 coerceValue(newsize, value);
544 if (newsize < 0) newsize = 0;
545 myVopcount.setSize(newsize);
551 myVopcount.setSizeIfNeeded(instance[0]+1);
552 auto && _data = myVopcount(instance[0]);
556 coerceValue(_data.vgroup, value);
559 coerceValue(_data.vpackedname, value);
562 coerceValue(_data.viewportlod, value);
565 coerceValue(_data.visible3d, value);
568 coerceValue(_data.visible2d, value);
578 coerceValue(newsize, value);
579 if (newsize < 0) newsize = 0;
580 myMopcount.setSize(newsize);
586 myMopcount.setSizeIfNeeded(instance[0]+1);
587 auto && _data = myMopcount(instance[0]);
591 coerceValue(_data.mgroup, value);
594 coerceValue(_data.mpackedname, value);
597 coerceValue(_data.shop_materialpath, value);
607 coerceValue(newsize, value);
608 if (newsize < 0) newsize = 0;
609 myLopcount.setSize(newsize);
615 myLopcount.setSizeIfNeeded(instance[0]+1);
616 auto && _data = myLopcount(instance[0]);
620 coerceValue(_data.lgroup, value);
623 coerceValue(_data.lpackedname, value);
626 coerceValue(_data.lightcategories, value);
637 { doSetParmValue(idx, instance, value); }
639 { doSetParmValue(idx, instance, value); }
641 { doSetParmValue(idx, instance, value); }
643 { doSetParmValue(idx, instance, value); }
645 { doSetParmValue(idx, instance, value); }
647 { doSetParmValue(idx, instance, value); }
649 { doSetParmValue(idx, instance, value); }
651 { doSetParmValue(idx, instance, value); }
653 { doSetParmValue(idx, instance, value); }
655 { doSetParmValue(idx, instance, value); }
657 { doSetParmValue(idx, instance, value); }
679 if (fieldnum.
size() < 1)
684 if (fieldnum.
size() == 1)
691 return "vpackedname#";
693 return "viewportlod#";
702 if (fieldnum.
size() == 1)
709 return "mpackedname#";
711 return "shop_materialpath#";
716 if (fieldnum.
size() == 1)
723 return "lpackedname#";
725 return "lightcategories#";
736 if (fieldnum.
size() < 1)
737 return PARM_UNSUPPORTED;
741 if (fieldnum.
size() == 1)
742 return PARM_MULTIPARM;
757 return PARM_UNSUPPORTED;
759 if (fieldnum.
size() == 1)
760 return PARM_MULTIPARM;
771 return PARM_UNSUPPORTED;
773 if (fieldnum.
size() == 1)
774 return PARM_MULTIPARM;
785 return PARM_UNSUPPORTED;
788 return PARM_UNSUPPORTED;
824 loadData(is, rampdata);
842 int typelen = colon - data.
buffer();
856 {
int64 iv =
v; UTwrite(os, &iv); }
858 { UTwrite<fpreal64>(os, &
v); }
860 { UTwrite<fpreal64>(os, &v.
x()); UTwrite<fpreal64>(os, &v.
y()); }
862 { UTwrite<fpreal64>(os, &v.
x()); UTwrite<fpreal64>(os, &v.
y());
863 UTwrite<fpreal64>(os, &v.
z()); }
865 { UTwrite<fpreal64>(os, &v.
x()); UTwrite<fpreal64>(os, &v.
y());
866 UTwrite<fpreal64>(os, &v.
z()); UTwrite<fpreal64>(os, &v.
w()); }
878 if (s) s->save(ostr);
880 saveData(os, result);
887 ostr << s->getDataTypeToken();
892 saveData(os, result);
896 void save(std::ostream &os)
const
902 UTwrite(os, &length);
905 auto && _curentry = myVopcount(i);
907 saveData(os, _curentry.vgroup);
908 saveData(os, _curentry.vpackedname);
909 saveData(os, _curentry.viewportlod);
910 saveData(os, _curentry.visible3d);
911 saveData(os, _curentry.visible2d);
917 UTwrite(os, &length);
920 auto && _curentry = myMopcount(i);
922 saveData(os, _curentry.mgroup);
923 saveData(os, _curentry.mpackedname);
924 saveData(os, _curentry.shop_materialpath);
930 UTwrite(os, &length);
933 auto && _curentry = myLopcount(i);
935 saveData(os, _curentry.lgroup);
936 saveData(os, _curentry.lpackedname);
937 saveData(os, _curentry.lightcategories);
956 myVopcount.setSize(length);
959 auto && _curentry = myVopcount(i);
961 loadData(is, _curentry.vgroup);
962 loadData(is, _curentry.vpackedname);
963 loadData(is, _curentry.viewportlod);
964 loadData(is, _curentry.visible3d);
965 loadData(is, _curentry.visible2d);
972 myMopcount.setSize(length);
975 auto && _curentry = myMopcount(i);
977 loadData(is, _curentry.mgroup);
978 loadData(is, _curentry.mpackedname);
979 loadData(is, _curentry.shop_materialpath);
986 myLopcount.setSize(length);
989 auto && _curentry = myLopcount(i);
991 loadData(is, _curentry.lgroup);
992 loadData(is, _curentry.lpackedname);
993 loadData(is, _curentry.lightcategories);
1006 if (!thissop)
return getVopcount().entries();
1008 OP_Utils::evalOpParm(result, thissop,
"vopcount", cookparms.
getCookTime(), 0);
1012 {
return opinstVopcount_vgroup(cookparms, &_idx); }
1016 if (!thissop)
return (myVopcount(_idx[0]).vgroup);
1018 _parmidx[1-1] = _idx[1-1] + 0;
1021 OP_Utils::evalOpParmInst(result, thissop,
"vgroup#", _parmidx, cookparms.
getCookTime(), 0, 2-1);
1025 {
return opinstVopcount_vpackedname(cookparms, &_idx); }
1029 if (!thissop)
return (myVopcount(_idx[0]).vpackedname);
1031 _parmidx[1-1] = _idx[1-1] + 0;
1034 OP_Utils::evalOpParmInst(result, thissop,
"vpackedname#", _parmidx, cookparms.
getCookTime(), 0, 2-1);
1038 {
return opinstVopcount_viewportlod(cookparms, &_idx); }
1042 if (!thissop)
return (myVopcount(_idx[0]).viewportlod);
1044 _parmidx[1-1] = _idx[1-1] + 0;
1047 OP_Utils::evalOpParmInst(result, thissop,
"viewportlod#", _parmidx, cookparms.
getCookTime(), 0, 2-1);
1051 {
return opinstVopcount_visible3d(cookparms, &_idx); }
1055 if (!thissop)
return (myVopcount(_idx[0]).visible3d);
1057 _parmidx[1-1] = _idx[1-1] + 0;
1060 OP_Utils::evalOpParmInst(result, thissop,
"visible3d#", _parmidx, cookparms.
getCookTime(), 0, 2-1);
1064 {
return opinstVopcount_visible2d(cookparms, &_idx); }
1068 if (!thissop)
return (myVopcount(_idx[0]).visible2d);
1070 _parmidx[1-1] = _idx[1-1] + 0;
1073 OP_Utils::evalOpParmInst(result, thissop,
"visible2d#", _parmidx, cookparms.
getCookTime(), 0, 2-1);
1082 if (!thissop)
return getMopcount().entries();
1084 OP_Utils::evalOpParm(result, thissop,
"mopcount", cookparms.
getCookTime(), 0);
1088 {
return opinstMopcount_mgroup(cookparms, &_idx); }
1092 if (!thissop)
return (myMopcount(_idx[0]).mgroup);
1094 _parmidx[1-1] = _idx[1-1] + 0;
1097 OP_Utils::evalOpParmInst(result, thissop,
"mgroup#", _parmidx, cookparms.
getCookTime(), 0, 2-1);
1101 {
return opinstMopcount_mpackedname(cookparms, &_idx); }
1105 if (!thissop)
return (myMopcount(_idx[0]).mpackedname);
1107 _parmidx[1-1] = _idx[1-1] + 0;
1110 OP_Utils::evalOpParmInst(result, thissop,
"mpackedname#", _parmidx, cookparms.
getCookTime(), 0, 2-1);
1114 {
return opinstMopcount_shop_materialpath(cookparms, &_idx); }
1120 _parmidx[1-1] = _idx[1-1] + 0;
1123 OP_Utils::evalOpParmInst(result, thissop,
"shop_materialpath#", _parmidx, cookparms.
getCookTime(), 0, 2-1);
1132 if (!thissop)
return getLopcount().entries();
1134 OP_Utils::evalOpParm(result, thissop,
"lopcount", cookparms.
getCookTime(), 0);
1138 {
return opinstLopcount_lgroup(cookparms, &_idx); }
1142 if (!thissop)
return (myLopcount(_idx[0]).lgroup);
1144 _parmidx[1-1] = _idx[1-1] + 0;
1147 OP_Utils::evalOpParmInst(result, thissop,
"lgroup#", _parmidx, cookparms.
getCookTime(), 0, 2-1);
1151 {
return opinstLopcount_lpackedname(cookparms, &_idx); }
1155 if (!thissop)
return (myLopcount(_idx[0]).lpackedname);
1157 _parmidx[1-1] = _idx[1-1] + 0;
1160 OP_Utils::evalOpParmInst(result, thissop,
"lpackedname#", _parmidx, cookparms.
getCookTime(), 0, 2-1);
1164 {
return opinstLopcount_lightcategories(cookparms, &_idx); }
1168 if (!thissop)
return (myLopcount(_idx[0]).lightcategories);
1170 _parmidx[1-1] = _idx[1-1] + 0;
1173 OP_Utils::evalOpParmInst(result, thissop,
"lightcategories#", _parmidx, cookparms.
getCookTime(), 0, 2-1);
bool operator==(const Lopcount &src) const
static void saveData(std::ostream &os, UT_Vector4D v)
static void saveData(std::ostream &os, UT_StringHolder s)
void loadFromOpSubclass(const LoadParms &loadparms) override
static void loadData(UT_IStream &is, UT_Vector2D &v)
GLenum GLuint GLenum GLsizei const GLchar * buf
int64 opinstVopcount_viewportlod(const SOP_NodeVerb::CookParms &cookparms, const int *_idx) const
static void saveData(std::ostream &os, int64 v)
UT_StringHolder vpackedname
SOP_Node * getNode() const
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
static void saveData(std::ostream &os, fpreal64 v)
bool operator==(const Mopcount &src) const
void setVopcount(const UT_Array< Vopcount > &val)
UT_StringHolder mpackedname
static void loadData(UT_IStream &is, int64 &v)
UT_StringHolder opinstMopcount_mgroup(const SOP_NodeVerb::CookParms &cookparms, const int *_idx) const
void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
exint bread(int32 *buffer, exint asize=1)
UT_StringHolder opMopcount_shop_materialpath(const SOP_NodeVerb::CookParms &cookparms, int _idx) const
GT_API const UT_StringHolder time
constexpr SYS_FORCE_INLINE T & y() noexcept
exint opMopcount(const SOP_NodeVerb::CookParms &cookparms) const
UT_StringHolder opinstLopcount_lgroup(const SOP_NodeVerb::CookParms &cookparms, const int *_idx) const
UT_StringHolder opLopcount_lgroup(const SOP_NodeVerb::CookParms &cookparms, int _idx) const
static void saveData(std::ostream &os, UT_Vector2D v)
exint opLopcount(const SOP_NodeVerb::CookParms &cookparms) const
UT_StringHolder createString(const UT_Array< Vopcount > &list) const
void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
UT_String makeQuotedString(char delimiter='\'', bool escape_nonprinting=false) const
UT_StringHolder opMopcount_mpackedname(const SOP_NodeVerb::CookParms &cookparms, int _idx) const
const OP_Context & context() const
static void loadData(UT_IStream &is, UT_Matrix2D &v)
bool operator!=(const Lopcount &src) const
constexpr SYS_FORCE_INLINE T & z() noexcept
UT_StringHolder opLopcount_lpackedname(const SOP_NodeVerb::CookParms &cookparms, int _idx) const
SYS_FORCE_INLINE const char * buffer() const
GLuint GLsizei GLsizei * length
static void loadData(UT_IStream &is, UT_Matrix4D &v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
An output stream object that owns its own string buffer storage.
void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
**But if you need a result
UT_StringHolder opLopcount_lightcategories(const SOP_NodeVerb::CookParms &cookparms, int _idx) 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.
UT_StringHolder opMopcount_mgroup(const SOP_NodeVerb::CookParms &cookparms, int _idx) const
static void loadData(UT_IStream &is, UT_Vector4D &v)
UT_StringHolder createString(const UT_Array< Lopcount > &list) const
static void loadData(UT_IStream &is, UT_Vector3I &v)
constexpr SYS_FORCE_INLINE T & x() noexcept
const char * getNestParmName(TempIndex fieldnum) const override
const UT_Array< Lopcount > & getLopcount() const
int64 opVopcount_visible2d(const SOP_NodeVerb::CookParms &cookparms, int _idx) const
UT_StringHolder opVopcount_vpackedname(const SOP_NodeVerb::CookParms &cookparms, int _idx) const
GLuint GLsizei const GLuint const GLintptr * offsets
UT_StringHolder opinstVopcount_vgroup(const SOP_NodeVerb::CookParms &cookparms, const int *_idx) const
constexpr SYS_FORCE_INLINE T & x() noexcept
bool operator==(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
UT_StringHolder lpackedname
const UT_Array< Vopcount > & getVopcount() const
bool operator!=(const Vopcount &src) const
UT_StringHolder opinstVopcount_vpackedname(const SOP_NodeVerb::CookParms &cookparms, const int *_idx) const
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
static void saveData(std::ostream &os, UT_Matrix4D v)
void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
static void loadData(UT_IStream &is, bool &v)
UT_StringHolder opinstLopcount_lpackedname(const SOP_NodeVerb::CookParms &cookparms, const int *_idx) const
SYS_FORCE_INLINE const char * buffer() const
std::shared_ptr< T > UT_SharedPtr
Wrapper around std::shared_ptr.
constexpr SYS_FORCE_INLINE T & z() noexcept
static void saveData(std::ostream &os, UT_SharedPtr< UT_Ramp > s)
void setLopcount(const UT_Array< Lopcount > &val)
static void saveData(std::ostream &os, UT_Vector3D v)
static void loadData(UT_IStream &is, UT_Vector4I &v)
exint read(bool *array, exint sz=1)
const OP_GraphProxy * graph() const
static void loadData(UT_IStream &is, UT_StringHolder &v)
UT_StringHolder shop_materialpath
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
void copyFrom(const OP_NodeParms *src) override
UT_StringHolder opinstMopcount_mpackedname(const SOP_NodeVerb::CookParms &cookparms, const int *_idx) const
UT_StringHolder opinstLopcount_lightcategories(const SOP_NodeVerb::CookParms &cookparms, const int *_idx) 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
static void loadData(UT_IStream &is, UT_SharedPtr< UT_Ramp > &v)
void buildFromOp(const OP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
static void loadData(UT_IStream &is, UT_Matrix3D &v)
const UT_Array< Mopcount > & getMopcount() const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
bool operator!=(const Mopcount &src) const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
UT_StringHolder opinstMopcount_shop_materialpath(const SOP_NodeVerb::CookParms &cookparms, const int *_idx) const
static void saveData(std::ostream &os, PRM_DataItemHandle s)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
virtual void evalOpParm(int64 &v, NodeIdx node, const char *parmname, fpreal time, DEP_MicroNode *depnode) const =0
bool operator!=(const SOP_PackedEditParms &src) const
SYS_FORCE_INLINE void strcat(const char *src)
void saveBinary(std::ostream &os) const
Save string to binary stream.
void setMopcount(const UT_Array< Mopcount > &val)
GT_API const UT_StringHolder version
exint entries() const
Alias of size(). size() is preferred.
UT_StringHolder lightcategories
static void loadData(UT_IStream &is, UT_Vector3D &v)
static void loadData(UT_IStream &is, UT_Vector2I &v)
int64 opinstVopcount_visible2d(const SOP_NodeVerb::CookParms &cookparms, const int *_idx) const
bool operator==(const Vopcount &src) const
static void saveData(std::ostream &os, UT_Matrix3D v)
UT_StringHolder opVopcount_vgroup(const SOP_NodeVerb::CookParms &cookparms, int _idx) const
int int appendSprintf(const char *fmt,...) SYS_PRINTF_CHECK_ATTRIBUTE(2
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
exint getNestNumParms(TempIndex idx) const override
DEP_MicroNode * depnode() const
LeafData & operator=(const LeafData &)=delete
Utility class for containing a color ramp.
bool isParmColorRamp(exint idx) const override
constexpr SYS_FORCE_INLINE T & w() noexcept
SYS_FORCE_INLINE void append(char character)
void doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
void doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
UT_StringHolder createString(const UT_Array< Mopcount > &list) const
bool operator==(const SOP_PackedEditParms &src) const
fpreal getCookTime() const
ParmType getNestParmType(TempIndex fieldnum) const override
const char * findChar(int c) const
exint opVopcount(const SOP_NodeVerb::CookParms &cookparms) const
void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr< UT_Ramp > &value) const override
int64 opinstVopcount_visible3d(const SOP_NodeVerb::CookParms &cookparms, const int *_idx) const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
static void loadData(UT_IStream &is, fpreal64 &v)
static void loadData(UT_IStream &is, PRM_DataItemHandle &v)
constexpr SYS_FORCE_INLINE T & y() noexcept
bool load(UT_IStream &is)
static void saveData(std::ostream &os, bool v)
SYS_FORCE_INLINE UT_StringHolder getToken(Viewportlod enum_value)
UT_SharedPtr< const PRM_DataItem > PRM_DataItemHandle
constexpr SYS_FORCE_INLINE T & y() noexcept
int64 opVopcount_visible3d(const SOP_NodeVerb::CookParms &cookparms, int _idx) const
SYS_FORCE_INLINE bool isstring() const
static void saveData(std::ostream &os, UT_Matrix2D v)
int64 opVopcount_viewportlod(const SOP_NodeVerb::CookParms &cookparms, int _idx) const
void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
SYS_FORCE_INLINE void strncpy(const char *src, exint maxlen)
GA_API const UT_StringHolder shop_materialpath
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr< UT_Ramp > &value) override
void save(std::ostream &os) const
constexpr SYS_FORCE_INLINE T & x() noexcept