23 namespace SOP_BlendShapes_2_0Enums
37 using namespace UT::Literal;
58 using namespace UT::Literal;
77 using namespace UT::Literal;
95 using namespace UT::Literal;
114 using namespace UT::Literal;
115 switch (enum_value) {
133 using namespace UT::Literal;
134 switch (enum_value) {
160 blendmaskattrib =
"mask"_UTsh;
168 if (blendmask != src.
blendmask)
return false;
186 for (
int i = 0; i < list.
entries(); i++)
214 myCacheDeltas =
false;
216 myDoPackFirst =
true;
217 myWeightPerPack =
true;
218 myAttribs =
"*"_UTsh;
219 myPtIDAttr =
""_UTsh;
220 myPrimIDAttr =
""_UTsh;
224 myMaskAttrib =
"mask"_UTsh;
225 myMaskAttribMode = 0;
226 myNblends.setSize(2);
239 if (myGroup != src.myGroup)
return false;
240 if (myGrouptype != src.myGrouptype)
return false;
241 if (mySelectionIdx != src.mySelectionIdx)
return false;
242 if (myDiff != src.myDiff)
return false;
243 if (myCacheDeltas != src.myCacheDeltas)
return false;
244 if (myDoPack != src.myDoPack)
return false;
245 if (myDoPackFirst != src.myDoPackFirst)
return false;
246 if (myWeightPerPack != src.myWeightPerPack)
return false;
247 if (myAttribs != src.myAttribs)
return false;
248 if (myPtIDAttr != src.myPtIDAttr)
return false;
249 if (myPrimIDAttr != src.myPrimIDAttr)
return false;
250 if (myVoxelBlend != src.myVoxelBlend)
return false;
251 if (myDoSlerp != src.myDoSlerp)
return false;
252 if (myMaskMode != src.myMaskMode)
return false;
253 if (myMaskAttrib != src.myMaskAttrib)
return false;
254 if (myMaskAttribMode != src.myMaskAttribMode)
return false;
255 if (myNblends != src.myNblends)
return false;
276 graph->
evalOpParm(myGroup, nodeidx,
"group", time, 0);
279 graph->
evalOpParm(myGrouptype, nodeidx,
"grouptype", time, 0);
282 graph->
evalOpParm(mySelectionIdx, nodeidx,
"selectionidx", time, 0);
285 graph->
evalOpParm(myDiff, nodeidx,
"diff", time, 0);
286 myCacheDeltas =
false;
287 if (
true && ( (
true&&!(((getDiff()==0)))) ) )
288 graph->
evalOpParm(myCacheDeltas, nodeidx,
"cachedeltas", time, 0);
291 graph->
evalOpParm(myDoPack, nodeidx,
"pack", time, 0);
292 myDoPackFirst =
true;
293 if (
true && ( (
true&&!(((getDoPack()==0)))) ) )
294 graph->
evalOpParm(myDoPackFirst, nodeidx,
"packfirst", time, 0);
295 myWeightPerPack =
true;
296 if (
true && ( (
true&&!(((getDoPack()==0)))) ) )
297 graph->
evalOpParm(myWeightPerPack, nodeidx,
"weightperpack", time, 0);
298 myAttribs =
"*"_UTsh;
300 graph->
evalOpParm(myAttribs, nodeidx,
"attribs", time, 0);
301 myPtIDAttr =
""_UTsh;
303 graph->
evalOpParm(myPtIDAttr, nodeidx,
"ptidattr", time, 0);
304 myPrimIDAttr =
""_UTsh;
306 graph->
evalOpParm(myPrimIDAttr, nodeidx,
"primidattr", time, 0);
309 graph->
evalOpParm(myVoxelBlend, nodeidx,
"voxelblend", time, 0);
312 graph->
evalOpParm(myDoSlerp, nodeidx,
"doslerp", time, 0);
315 graph->
evalOpParm(myMaskMode, nodeidx,
"maskmode", time, 0);
316 myMaskAttrib =
"mask"_UTsh;
317 if (
true && ( (
true&&!(((
int64(getMaskMode())==0)))) ) )
318 graph->
evalOpParm(myMaskAttrib, nodeidx,
"maskattrib", time, 0);
319 myMaskAttribMode = 0;
320 if (
true && ( (
true&&!(((
int64(getMaskMode())==0)))) ) )
321 graph->
evalOpParm(myMaskAttribMode, nodeidx,
"maskattribmode", time, 0);
322 if (
true && ( (!(((
int64(getMaskMode())<0)))) ) )
325 graph->
evalOpParm(length, nodeidx,
"nblends", time, 0);
326 if (length < 0) length = 0;
327 myNblends.setSize(length);
334 auto && _curentry = myNblends(i);
337 if (
true && ( (!(((
int64(getMaskMode())<0)))) ) && ( (
true&&!(((
int64(getMaskMode())<0)))) ) )
338 graph->
evalOpParmInst(_curentry.blend, nodeidx,
"blend#", parmidx, offsets, time, 0, 2-1);
339 _curentry.blendmask = 1;
340 if (
true && ( (!(((
int64(getMaskMode())<0)))) ) && ( (
true&&!(((
int64(getMaskMode())<0))||((
int64(getMaskMode())==0)))) ) )
341 graph->
evalOpParmInst(_curentry.blendmask, nodeidx,
"blendmask#", parmidx, offsets, time, 0, 2-1);
342 _curentry.blendmaskattrib =
"mask"_UTsh;
343 if (
true && ( (!(((
int64(getMaskMode())<0)))) ) && ( (
true&&!(((
int64(getMaskMode())<0))||((
int64(getMaskMode())==0))||((_curentry.blendmask==0))||((_curentry.blendmask==1)))) ) )
344 graph->
evalOpParmInst(_curentry.blendmaskattrib, nodeidx,
"blendmaskattrib#", parmidx, offsets, time, 0, 2-1);
345 _curentry.blendmaskmode = 1;
346 if (
true && ( (!(((
int64(getMaskMode())<0)))) ) && ( (
true&&!(((
int64(getMaskMode())<0))||((
int64(getMaskMode())==0))||((_curentry.blendmask==0))||((_curentry.blendmask==1)))) ) )
347 graph->
evalOpParmInst(_curentry.blendmaskmode, nodeidx,
"blendmaskmode#", parmidx, offsets, time, 0, 2-1);
368 template <
typename T>
375 if (idx.
size() != instance.
size()+1)
380 coerceValue(value, myGroup);
383 coerceValue(value, myGrouptype);
386 coerceValue(value, mySelectionIdx);
389 coerceValue(value, myDiff);
392 coerceValue(value, myCacheDeltas);
395 coerceValue(value, myDoPack);
398 coerceValue(value, myDoPackFirst);
401 coerceValue(value, myWeightPerPack);
404 coerceValue(value, myAttribs);
407 coerceValue(value, myPtIDAttr);
410 coerceValue(value, myPrimIDAttr);
413 coerceValue(value, myVoxelBlend);
416 coerceValue(value, myDoSlerp);
419 coerceValue(value, myMaskMode);
422 coerceValue(value, myMaskAttrib);
425 coerceValue(value, myMaskAttribMode);
429 coerceValue(value, myNblends.entries());
430 else if (instance[0] < myNblends.entries())
432 auto && _data = myNblends(instance[0]);
436 coerceValue(value, _data.blend);
439 coerceValue(value, _data.blendmask);
442 coerceValue(value, _data.blendmaskattrib);
445 coerceValue(value, _data.blendmaskmode);
465 { doGetParmValue(idx, instance, value); }
467 { doGetParmValue(idx, instance, value); }
469 { doGetParmValue(idx, instance, value); }
471 { doGetParmValue(idx, instance, value); }
473 { doGetParmValue(idx, instance, value); }
475 { doGetParmValue(idx, instance, value); }
477 { doGetParmValue(idx, instance, value); }
479 { doGetParmValue(idx, instance, value); }
481 { doGetParmValue(idx, instance, value); }
483 { doGetParmValue(idx, instance, value); }
485 { doGetParmValue(idx, instance, value); }
487 template <
typename T>
494 if (idx.
size() != instance.
size()+1)
499 coerceValue(myGroup, ( ( value ) ));
502 coerceValue(myGrouptype, clampMinValue(0, clampMaxValue(4, value ) ));
505 coerceValue(mySelectionIdx, ( ( value ) ));
508 coerceValue(myDiff, ( ( value ) ));
511 coerceValue(myCacheDeltas, ( ( value ) ));
514 coerceValue(myDoPack, ( ( value ) ));
517 coerceValue(myDoPackFirst, ( ( value ) ));
520 coerceValue(myWeightPerPack, ( ( value ) ));
523 coerceValue(myAttribs, ( ( value ) ));
526 coerceValue(myPtIDAttr, ( ( value ) ));
529 coerceValue(myPrimIDAttr, ( ( value ) ));
532 coerceValue(myVoxelBlend, clampMinValue(0, clampMaxValue(2, value ) ));
535 coerceValue(myDoSlerp, ( ( value ) ));
538 coerceValue(myMaskMode, clampMinValue(0, clampMaxValue(2, value ) ));
541 coerceValue(myMaskAttrib, ( ( value ) ));
544 coerceValue(myMaskAttribMode, clampMinValue(0, clampMaxValue(1, value ) ));
550 coerceValue(newsize, value);
551 if (newsize < 0) newsize = 0;
552 myNblends.setSize(newsize);
558 myNblends.setSizeIfNeeded(instance[0]+1);
559 auto && _data = myNblends(instance[0]);
563 coerceValue(_data.blend, value);
566 coerceValue(_data.blendmask, value);
569 coerceValue(_data.blendmaskattrib, value);
572 coerceValue(_data.blendmaskmode, value);
583 { doSetParmValue(idx, instance, value); }
585 { doSetParmValue(idx, instance, value); }
587 { doSetParmValue(idx, instance, value); }
589 { doSetParmValue(idx, instance, value); }
591 { doSetParmValue(idx, instance, value); }
593 { doSetParmValue(idx, instance, value); }
595 { doSetParmValue(idx, instance, value); }
597 { doSetParmValue(idx, instance, value); }
599 { doSetParmValue(idx, instance, value); }
601 { doSetParmValue(idx, instance, value); }
603 { doSetParmValue(idx, instance, value); }
621 if (fieldnum.
size() < 1)
630 return "selectionidx";
634 return "cachedeltas";
640 return "weightperpack";
656 return "maskattribmode";
658 if (fieldnum.
size() == 1)
667 return "blendmaskattrib#";
669 return "blendmaskmode#";
680 if (fieldnum.
size() < 1)
681 return PARM_UNSUPPORTED;
717 if (fieldnum.
size() == 1)
718 return PARM_MULTIPARM;
731 return PARM_UNSUPPORTED;
734 return PARM_UNSUPPORTED;
770 loadData(is, rampdata);
788 int typelen = colon - data.
buffer();
802 {
int64 iv =
v; UTwrite(os, &iv); }
804 { UTwrite<fpreal64>(os, &
v); }
806 { UTwrite<fpreal64>(os, &v.
x()); UTwrite<fpreal64>(os, &v.
y()); }
808 { UTwrite<fpreal64>(os, &v.
x()); UTwrite<fpreal64>(os, &v.
y());
809 UTwrite<fpreal64>(os, &v.
z()); }
811 { UTwrite<fpreal64>(os, &v.
x()); UTwrite<fpreal64>(os, &v.
y());
812 UTwrite<fpreal64>(os, &v.
z()); UTwrite<fpreal64>(os, &v.
w()); }
824 if (s) s->save(ostr);
826 saveData(os, result);
833 ostr << s->getDataTypeToken();
838 saveData(os, result);
842 void save(std::ostream &os)
const
846 saveData(os, myGroup);
847 saveData(os, myGrouptype);
848 saveData(os, mySelectionIdx);
849 saveData(os, myDiff);
850 saveData(os, myCacheDeltas);
851 saveData(os, myDoPack);
852 saveData(os, myDoPackFirst);
853 saveData(os, myWeightPerPack);
854 saveData(os, myAttribs);
855 saveData(os, myPtIDAttr);
856 saveData(os, myPrimIDAttr);
857 saveData(os, myVoxelBlend);
858 saveData(os, myDoSlerp);
859 saveData(os, myMaskMode);
860 saveData(os, myMaskAttrib);
861 saveData(os, myMaskAttribMode);
864 UTwrite(os, &length);
867 auto && _curentry = myNblends(i);
869 saveData(os, _curentry.blend);
870 saveData(os, _curentry.blendmask);
871 saveData(os, _curentry.blendmaskattrib);
872 saveData(os, _curentry.blendmaskmode);
888 loadData(is, myGroup);
889 loadData(is, myGrouptype);
890 loadData(is, mySelectionIdx);
891 loadData(is, myDiff);
892 loadData(is, myCacheDeltas);
893 loadData(is, myDoPack);
894 loadData(is, myDoPackFirst);
895 loadData(is, myWeightPerPack);
896 loadData(is, myAttribs);
897 loadData(is, myPtIDAttr);
898 loadData(is, myPrimIDAttr);
899 loadData(is, myVoxelBlend);
900 loadData(is, myDoSlerp);
901 loadData(is, myMaskMode);
902 loadData(is, myMaskAttrib);
903 loadData(is, myMaskAttribMode);
907 myNblends.setSize(length);
910 auto && _curentry = myNblends(i);
912 loadData(is, _curentry.blend);
913 loadData(is, _curentry.blendmask);
914 loadData(is, _curentry.blendmaskattrib);
915 loadData(is, _curentry.blendmaskmode);
928 if (!thissop)
return getGroup();
930 OP_Utils::evalOpParm(result, thissop,
"group", cookparms.
getCookTime(), 0);
938 if (!thissop)
return getGrouptype();
940 OP_Utils::evalOpParm(result, thissop,
"grouptype", cookparms.
getCookTime(), 0);
948 if (!thissop)
return getSelectionIdx();
950 OP_Utils::evalOpParm(result, thissop,
"selectionidx", cookparms.
getCookTime(), 0);
958 if (!thissop)
return getDiff();
960 OP_Utils::evalOpParm(result, thissop,
"diff", cookparms.
getCookTime(), 0);
968 if (!thissop)
return getCacheDeltas();
970 OP_Utils::evalOpParm(result, thissop,
"cachedeltas", cookparms.
getCookTime(), 0);
978 if (!thissop)
return getDoPack();
980 OP_Utils::evalOpParm(result, thissop,
"pack", cookparms.
getCookTime(), 0);
988 if (!thissop)
return getDoPackFirst();
990 OP_Utils::evalOpParm(result, thissop,
"packfirst", cookparms.
getCookTime(), 0);
998 if (!thissop)
return getWeightPerPack();
1000 OP_Utils::evalOpParm(result, thissop,
"weightperpack", cookparms.
getCookTime(), 0);
1008 if (!thissop)
return getAttribs();
1010 OP_Utils::evalOpParm(result, thissop,
"attribs", cookparms.
getCookTime(), 0);
1018 if (!thissop)
return getPtIDAttr();
1020 OP_Utils::evalOpParm(result, thissop,
"ptidattr", cookparms.
getCookTime(), 0);
1028 if (!thissop)
return getPrimIDAttr();
1030 OP_Utils::evalOpParm(result, thissop,
"primidattr", cookparms.
getCookTime(), 0);
1038 if (!thissop)
return getVoxelBlend();
1040 OP_Utils::evalOpParm(result, thissop,
"voxelblend", cookparms.
getCookTime(), 0);
1048 if (!thissop)
return getDoSlerp();
1050 OP_Utils::evalOpParm(result, thissop,
"doslerp", cookparms.
getCookTime(), 0);
1058 if (!thissop)
return getMaskMode();
1060 OP_Utils::evalOpParm(result, thissop,
"maskmode", cookparms.
getCookTime(), 0);
1068 if (!thissop)
return getMaskAttrib();
1070 OP_Utils::evalOpParm(result, thissop,
"maskattrib", cookparms.
getCookTime(), 0);
1078 if (!thissop)
return getMaskAttribMode();
1080 OP_Utils::evalOpParm(result, thissop,
"maskattribmode", cookparms.
getCookTime(), 0);
1088 if (!thissop)
return getNblends().entries();
1090 OP_Utils::evalOpParm(result, thissop,
"nblends", cookparms.
getCookTime(), 0);
1094 {
return opinstNblends_blend(cookparms, &_idx); }
1098 if (!thissop)
return (myNblends(_idx[0]).
blend);
1100 _parmidx[1-1] = _idx[1-1] + 0;
1103 OP_Utils::evalOpParmInst(result, thissop,
"blend#", _parmidx, cookparms.
getCookTime(), 0, 2-1);
1107 {
return opinstNblends_blendmask(cookparms, &_idx); }
1111 if (!thissop)
return (myNblends(_idx[0]).blendmask);
1113 _parmidx[1-1] = _idx[1-1] + 0;
1116 OP_Utils::evalOpParmInst(result, thissop,
"blendmask#", _parmidx, cookparms.
getCookTime(), 0, 2-1);
1120 {
return opinstNblends_blendmaskattrib(cookparms, &_idx); }
1124 if (!thissop)
return (myNblends(_idx[0]).blendmaskattrib);
1126 _parmidx[1-1] = _idx[1-1] + 0;
1129 OP_Utils::evalOpParmInst(result, thissop,
"blendmaskattrib#", _parmidx, cookparms.
getCookTime(), 0, 2-1);
1133 {
return opinstNblends_blendmaskmode(cookparms, &_idx); }
1137 if (!thissop)
return (myNblends(_idx[0]).blendmaskmode);
1139 _parmidx[1-1] = _idx[1-1] + 0;
1142 OP_Utils::evalOpParmInst(result, thissop,
"blendmaskmode#", _parmidx, cookparms.
getCookTime(), 0, 2-1);
1150 int64 mySelectionIdx;
1155 bool myWeightPerPack;
1163 int64 myMaskAttribMode;
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
static void loadData(UT_IStream &is, UT_Vector4I &v)
UT_StringHolder opPrimIDAttr(const SOP_NodeVerb::CookParms &cookparms) const
bool operator==(const Nblends &src) const
static void loadData(UT_IStream &is, UT_Vector3I &v)
GLenum GLuint GLenum GLsizei const GLchar * buf
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
bool operator!=(const SOP_BlendShapes_2_0Parms &src) const
bool opWeightPerPack(const SOP_NodeVerb::CookParms &cookparms) const
bool opDoPackFirst(const SOP_NodeVerb::CookParms &cookparms) const
SOP_Node * getNode() const
static void saveData(std::ostream &os, UT_Matrix3D v)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
void setAttribs(const UT_StringHolder &val)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
const UT_StringHolder & getPrimIDAttr() const
bool load(UT_IStream &is)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
void setDoPackFirst(bool val)
exint bread(int32 *buffer, exint asize=1)
GT_API const UT_StringHolder time
constexpr SYS_FORCE_INLINE T & y() noexcept
ParmType getNestParmType(TempIndex fieldnum) const override
VoxelBlend opVoxelBlend(const SOP_NodeVerb::CookParms &cookparms) const
static void saveData(std::ostream &os, PRM_DataItemHandle s)
UT_StringHolder opMaskAttrib(const SOP_NodeVerb::CookParms &cookparms) const
VoxelBlend getVoxelBlend() const
void setCacheDeltas(bool val)
UT_String makeQuotedString(char delimiter='\'', bool escape_nonprinting=false) const
const OP_Context & context() const
exint getNestNumParms(TempIndex idx) const override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
constexpr SYS_FORCE_INLINE T & z() noexcept
MaskAttribMode getMaskAttribMode() const
SYS_FORCE_INLINE const char * buffer() const
static void saveData(std::ostream &os, UT_Matrix2D v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr< UT_Ramp > &value) override
GLuint GLsizei GLsizei * length
int64 opinstNblends_blendmaskmode(const SOP_NodeVerb::CookParms &cookparms, const int *_idx) const
void setGrouptype(Grouptype val)
static void saveData(std::ostream &os, UT_Vector3D v)
bool opDoSlerp(const SOP_NodeVerb::CookParms &cookparms) const
An output stream object that owns its own string buffer storage.
static void loadData(UT_IStream &is, UT_Vector4D &v)
**But if you need a result
static void loadData(UT_IStream &is, UT_Matrix4D &v)
int64 getSelectionIdx() const
void setSelectionIdx(int64 val)
static void loadData(UT_IStream &is, UT_Matrix2D &v)
static PRM_DataItemHandle parseBinary(const char *type, UT_IStream &is)
static void loadData(UT_IStream &is, UT_Matrix3D &v)
static void loadData(UT_IStream &is, bool &v)
const UT_WorkBuffer & str()
Returns a read-only reference to the underlying UT_WorkBuffer.
const UT_StringHolder & getGroup() const
constexpr SYS_FORCE_INLINE T & x() noexcept
bool opDiff(const SOP_NodeVerb::CookParms &cookparms) const
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
SOP_BlendShapes_2_0Parms()
GLuint GLsizei const GLuint const GLintptr * offsets
UT_StringHolder blendmaskattrib
fpreal64 opinstNblends_blend(const SOP_NodeVerb::CookParms &cookparms, const int *_idx) const
constexpr SYS_FORCE_INLINE T & x() noexcept
vint4 blend(const vint4 &a, const vint4 &b, const vbool4 &mask)
bool operator==(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
void setWeightPerPack(bool val)
void setMaskAttrib(const UT_StringHolder &val)
const char * getNestParmName(TempIndex fieldnum) const override
MaskMode opMaskMode(const SOP_NodeVerb::CookParms &cookparms) const
void setNblends(const UT_Array< Nblends > &val)
const UT_StringHolder & getAttribs() const
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
SYS_FORCE_INLINE UT_StringHolder getToken(Grouptype enum_value)
SYS_FORCE_INLINE const char * buffer() const
std::shared_ptr< T > UT_SharedPtr
Wrapper around std::shared_ptr.
static void loadData(UT_IStream &is, fpreal64 &v)
static void saveData(std::ostream &os, UT_StringHolder s)
MaskAttribMode opMaskAttribMode(const SOP_NodeVerb::CookParms &cookparms) const
constexpr SYS_FORCE_INLINE T & z() noexcept
fpreal64 opNblends_blend(const SOP_NodeVerb::CookParms &cookparms, int _idx) const
bool isParmColorRamp(exint idx) const override
UT_StringHolder opAttribs(const SOP_NodeVerb::CookParms &cookparms) const
exint read(bool *array, exint sz=1)
const OP_GraphProxy * graph() const
void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
UT_StringHolder createString(const UT_Array< Nblends > &list) const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
const UT_StringHolder & getMaskAttrib() const
void setVoxelBlend(VoxelBlend val)
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
void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
void doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
static void saveData(std::ostream &os, bool v)
static void saveData(std::ostream &os, fpreal64 v)
static void saveData(std::ostream &os, UT_Matrix4D v)
void save(std::ostream &os) const
void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr< UT_Ramp > &value) const override
void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
virtual void evalOpParm(int64 &v, NodeIdx node, const char *parmname, fpreal time, DEP_MicroNode *depnode) const =0
UT_StringHolder opinstNblends_blendmaskattrib(const SOP_NodeVerb::CookParms &cookparms, const int *_idx) const
SYS_FORCE_INLINE void strcat(const char *src)
void saveBinary(std::ostream &os) const
Save string to binary stream.
static void loadData(UT_IStream &is, UT_Vector2I &v)
void setMaskAttribMode(MaskAttribMode val)
static void saveData(std::ostream &os, UT_Vector4D v)
GT_API const UT_StringHolder version
exint entries() const
Alias of size(). size() is preferred.
void doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
static void loadData(UT_IStream &is, UT_Vector2D &v)
void setPrimIDAttr(const UT_StringHolder &val)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
void buildFromOp(const OP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
bool getCacheDeltas() const
Grouptype getGrouptype() const
int int appendSprintf(const char *fmt,...) SYS_PRINTF_CHECK_ATTRIBUTE(2
int64 opinstNblends_blendmask(const SOP_NodeVerb::CookParms &cookparms, const int *_idx) const
bool operator==(const SOP_BlendShapes_2_0Parms &src) const
void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
Grouptype opGrouptype(const SOP_NodeVerb::CookParms &cookparms) const
int64 opSelectionIdx(const SOP_NodeVerb::CookParms &cookparms) const
bool opDoPack(const SOP_NodeVerb::CookParms &cookparms) const
DEP_MicroNode * depnode() const
void loadFromOpSubclass(const LoadParms &loadparms) override
LeafData & operator=(const LeafData &)=delete
bool operator!=(const Nblends &src) const
void copyFrom(const OP_NodeParms *src) override
Utility class for containing a color ramp.
UT_StringHolder opGroup(const SOP_NodeVerb::CookParms &cookparms) const
bool getWeightPerPack() const
static void saveData(std::ostream &os, UT_SharedPtr< UT_Ramp > s)
constexpr SYS_FORCE_INLINE T & w() noexcept
SYS_FORCE_INLINE void append(char character)
static void loadData(UT_IStream &is, UT_Vector3D &v)
static void saveData(std::ostream &os, int64 v)
static void loadData(UT_IStream &is, UT_SharedPtr< UT_Ramp > &v)
static void loadData(UT_IStream &is, int64 &v)
MaskMode getMaskMode() const
fpreal getCookTime() const
static void loadData(UT_IStream &is, PRM_DataItemHandle &v)
const char * findChar(int c) const
void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
bool opCacheDeltas(const SOP_NodeVerb::CookParms &cookparms) const
const UT_Array< Nblends > & getNblends() const
UT_StringHolder opNblends_blendmaskattrib(const SOP_NodeVerb::CookParms &cookparms, int _idx) const
bool getDoPackFirst() const
constexpr SYS_FORCE_INLINE T & y() noexcept
int64 opNblends_blendmask(const SOP_NodeVerb::CookParms &cookparms, int _idx) const
UT_StringHolder opPtIDAttr(const SOP_NodeVerb::CookParms &cookparms) const
exint opNblends(const SOP_NodeVerb::CookParms &cookparms) const
static void loadData(UT_IStream &is, UT_StringHolder &v)
UT_SharedPtr< const PRM_DataItem > PRM_DataItemHandle
void setMaskMode(MaskMode val)
static void saveData(std::ostream &os, UT_Vector2D v)
void setGroup(const UT_StringHolder &val)
constexpr SYS_FORCE_INLINE T & y() noexcept
SYS_FORCE_INLINE bool isstring() const
const UT_StringHolder & getPtIDAttr() const
int64 opNblends_blendmaskmode(const SOP_NodeVerb::CookParms &cookparms, int _idx) const
SYS_FORCE_INLINE void strncpy(const char *src, exint maxlen)
void setDoSlerp(bool val)
constexpr SYS_FORCE_INLINE T & x() noexcept
void setPtIDAttr(const UT_StringHolder &val)