23 namespace SOP_PolyFillEnums
38 using namespace UT::Literal;
62 myCompleteloops =
true;
64 myUniquepoints =
false;
67 myLoopdistance = 0.25;
68 mySmoothtoggle =
true;
69 mySmoothstrength = 50;
71 myCustomcornerstoggle =
false;
72 myCustomcorners =
""_UTsh;
73 mySubdivtoggle =
true;
75 myTangentstrength = 0.4;
76 myPatchgrouptoggle =
false;
77 myPatchgroup =
"patch"_UTsh;
78 myLoopgrouptoggle =
false;
79 myLoopgroup =
"loopgroup"_UTsh;
80 myGroupappend =
false;
93 if (myGroup != src.myGroup)
return false;
94 if (myFillmode != src.myFillmode)
return false;
95 if (myCompleteloops != src.myCompleteloops)
return false;
96 if (myReverse != src.myReverse)
return false;
97 if (myUniquepoints != src.myUniquepoints)
return false;
98 if (myUpdatenorms != src.myUpdatenorms)
return false;
99 if (myLooptoggle != src.myLooptoggle)
return false;
100 if (myLoopdistance != src.myLoopdistance)
return false;
101 if (mySmoothtoggle != src.mySmoothtoggle)
return false;
102 if (mySmoothstrength != src.mySmoothstrength)
return false;
103 if (myCorneroffset != src.myCorneroffset)
return false;
104 if (myCustomcornerstoggle != src.myCustomcornerstoggle)
return false;
105 if (myCustomcorners != src.myCustomcorners)
return false;
106 if (mySubdivtoggle != src.mySubdivtoggle)
return false;
107 if (myTranslate != src.myTranslate)
return false;
108 if (myTangentstrength != src.myTangentstrength)
return false;
109 if (myPatchgrouptoggle != src.myPatchgrouptoggle)
return false;
110 if (myPatchgroup != src.myPatchgroup)
return false;
111 if (myLoopgrouptoggle != src.myLoopgrouptoggle)
return false;
112 if (myLoopgroup != src.myLoopgroup)
return false;
113 if (myGroupappend != src.myGroupappend)
return false;
129 graph->
evalOpParm(myGroup, nodeidx,
"group", time, 0);
132 graph->
evalOpParm(myFillmode, nodeidx,
"fillmode", time, 0);
133 myCompleteloops =
true;
135 graph->
evalOpParm(myCompleteloops, nodeidx,
"completeloops", time, 0);
138 graph->
evalOpParm(myReverse, nodeidx,
"reverse", time, 0);
139 myUniquepoints =
false;
141 graph->
evalOpParm(myUniquepoints, nodeidx,
"uniquepoints", time, 0);
142 myUpdatenorms =
true;
144 graph->
evalOpParm(myUpdatenorms, nodeidx,
"updatenorms", time, 0);
145 myLooptoggle =
false;
146 if (
true && ( (
true&&!(((
int64(getFillmode())==0))||((
int64(getFillmode())==1)))) ) )
147 graph->
evalOpParm(myLooptoggle, nodeidx,
"looptoggle", time, 0);
148 myLoopdistance = 0.25;
149 if (
true && ( (
true&&!(((
int64(getFillmode())==0))||((
int64(getFillmode())==1))||((getLooptoggle()==0)))) ) )
150 graph->
evalOpParm(myLoopdistance, nodeidx,
"loopdistance", time, 0);
151 mySmoothtoggle =
true;
152 if (
true && ( (
true&&!(((
int64(getFillmode())==0))||((
int64(getFillmode())==1))||((
int64(getFillmode())==2))||((
int64(getFillmode())==3)))) ) )
153 graph->
evalOpParm(mySmoothtoggle, nodeidx,
"smoothtoggle", time, 0);
154 mySmoothstrength = 50;
155 if (
true && ( (
true&&!(((
int64(getFillmode())==0))||((
int64(getFillmode())==1))||((
int64(getFillmode())==2))||((
int64(getFillmode())==3))||((getSmoothtoggle()==0)))) ) )
156 graph->
evalOpParm(mySmoothstrength, nodeidx,
"smoothstrength", time, 0);
158 if (
true && ( (
true&&!(((
int64(getFillmode())==0))||((
int64(getFillmode())==1))||((
int64(getFillmode())==4))||((
int64(getFillmode())==2)))) ) )
159 graph->
evalOpParm(myCorneroffset, nodeidx,
"corneroffset", time, 0);
160 myCustomcornerstoggle =
false;
161 if (
true && ( (
true&&!(((
int64(getFillmode())==0))||((
int64(getFillmode())==1))||((
int64(getFillmode())==4))||((
int64(getFillmode())==2)))) ) )
162 graph->
evalOpParm(myCustomcornerstoggle, nodeidx,
"customcornerstoggle", time, 0);
163 myCustomcorners =
""_UTsh;
164 if (
true && ( (
true&&!(((
int64(getFillmode())==0))||((
int64(getFillmode())==1))||((
int64(getFillmode())==4))||((
int64(getFillmode())==2))||((getCustomcornerstoggle()==0)))) ) )
165 graph->
evalOpParm(myCustomcorners, nodeidx,
"customcorners", time, 0);
166 mySubdivtoggle =
true;
167 if (
true && ( (
true&&!(((
int64(getFillmode())==0))||((
int64(getFillmode())==1))||((
int64(getFillmode())==4)))) ) )
168 graph->
evalOpParm(mySubdivtoggle, nodeidx,
"subdivtoggle", time, 0);
170 if (
true && ( (
true&&!(((
int64(getFillmode())==0))||((
int64(getFillmode())==1))||((
int64(getFillmode())==4))||((getSubdivtoggle()==0)))) ) )
171 graph->
evalOpParm(myTranslate, nodeidx,
"translate", time, 0);
172 myTangentstrength = 0.4;
173 if (
true && ( (
true&&!(((
int64(getFillmode())==0))||((
int64(getFillmode())==1))||((
int64(getFillmode())==4))||((
int64(getFillmode())==2))||((
int64(getFillmode())==3))||((getSubdivtoggle()==0)))) ) )
174 graph->
evalOpParm(myTangentstrength, nodeidx,
"tangentstrength", time, 0);
175 myPatchgrouptoggle =
false;
177 graph->
evalOpParm(myPatchgrouptoggle, nodeidx,
"patchgrouptoggle", time, 0);
178 myPatchgroup =
"patch"_UTsh;
179 if (
true && ( (
true&&!(((getPatchgrouptoggle()==0)))) ) )
180 graph->
evalOpParm(myPatchgroup, nodeidx,
"patchgroup", time, 0);
181 myLoopgrouptoggle =
false;
182 if (
true && ( (
true&&!(((
int64(getFillmode())==0))||((
int64(getFillmode())==1))||((getLooptoggle()==0)))) ) )
183 graph->
evalOpParm(myLoopgrouptoggle, nodeidx,
"loopgrouptoggle", time, 0);
184 myLoopgroup =
"loopgroup"_UTsh;
185 if (
true && ( (
true&&!(((
int64(getFillmode())==0))||((
int64(getFillmode())==1))||((getLooptoggle()==0))||((getLoopgrouptoggle()==0)))) ) )
186 graph->
evalOpParm(myLoopgroup, nodeidx,
"loopgroup", time, 0);
187 myGroupappend =
false;
189 graph->
evalOpParm(myGroupappend, nodeidx,
"groupappend", time, 0);
205 template <
typename T>
212 if (idx.
size() != instance.
size()+1)
217 coerceValue(value, myGroup);
220 coerceValue(value, myFillmode);
223 coerceValue(value, myCompleteloops);
226 coerceValue(value, myReverse);
229 coerceValue(value, myUniquepoints);
232 coerceValue(value, myUpdatenorms);
235 coerceValue(value, myLooptoggle);
238 coerceValue(value, myLoopdistance);
241 coerceValue(value, mySmoothtoggle);
244 coerceValue(value, mySmoothstrength);
247 coerceValue(value, myCorneroffset);
250 coerceValue(value, myCustomcornerstoggle);
253 coerceValue(value, myCustomcorners);
256 coerceValue(value, mySubdivtoggle);
259 coerceValue(value, myTranslate);
262 coerceValue(value, myTangentstrength);
265 coerceValue(value, myPatchgrouptoggle);
268 coerceValue(value, myPatchgroup);
271 coerceValue(value, myLoopgrouptoggle);
274 coerceValue(value, myLoopgroup);
277 coerceValue(value, myGroupappend);
293 { doGetParmValue(idx, instance, value); }
295 { doGetParmValue(idx, instance, value); }
297 { doGetParmValue(idx, instance, value); }
299 { doGetParmValue(idx, instance, value); }
301 { doGetParmValue(idx, instance, value); }
303 { doGetParmValue(idx, instance, value); }
305 { doGetParmValue(idx, instance, value); }
307 { doGetParmValue(idx, instance, value); }
309 { doGetParmValue(idx, instance, value); }
311 { doGetParmValue(idx, instance, value); }
313 { doGetParmValue(idx, instance, value); }
315 template <
typename T>
322 if (idx.
size() != instance.
size()+1)
327 coerceValue(myGroup, ( ( value ) ));
330 coerceValue(myFillmode, clampMinValue(0, clampMaxValue(5, value ) ));
333 coerceValue(myCompleteloops, ( ( value ) ));
336 coerceValue(myReverse, ( ( value ) ));
339 coerceValue(myUniquepoints, ( ( value ) ));
342 coerceValue(myUpdatenorms, ( ( value ) ));
345 coerceValue(myLooptoggle, ( ( value ) ));
348 coerceValue(myLoopdistance, clampMinValue(0, clampMaxValue(1, value ) ));
351 coerceValue(mySmoothtoggle, ( ( value ) ));
354 coerceValue(mySmoothstrength, clampMinValue(0, ( value ) ));
357 coerceValue(myCorneroffset, ( ( value ) ));
360 coerceValue(myCustomcornerstoggle, ( ( value ) ));
363 coerceValue(myCustomcorners, ( ( value ) ));
366 coerceValue(mySubdivtoggle, ( ( value ) ));
369 coerceValue(myTranslate, ( ( value ) ));
372 coerceValue(myTangentstrength, clampMinValue(0, ( value ) ));
375 coerceValue(myPatchgrouptoggle, ( ( value ) ));
378 coerceValue(myPatchgroup, ( ( value ) ));
381 coerceValue(myLoopgrouptoggle, ( ( value ) ));
384 coerceValue(myLoopgroup, ( ( value ) ));
387 coerceValue(myGroupappend, ( ( value ) ));
394 { doSetParmValue(idx, instance, value); }
396 { doSetParmValue(idx, instance, value); }
398 { doSetParmValue(idx, instance, value); }
400 { doSetParmValue(idx, instance, value); }
402 { doSetParmValue(idx, instance, value); }
404 { doSetParmValue(idx, instance, value); }
406 { doSetParmValue(idx, instance, value); }
408 { doSetParmValue(idx, instance, value); }
410 { doSetParmValue(idx, instance, value); }
412 { doSetParmValue(idx, instance, value); }
414 { doSetParmValue(idx, instance, value); }
430 if (fieldnum.
size() < 1)
439 return "completeloops";
443 return "uniquepoints";
445 return "updatenorms";
449 return "loopdistance";
451 return "smoothtoggle";
453 return "smoothstrength";
455 return "corneroffset";
457 return "customcornerstoggle";
459 return "customcorners";
461 return "subdivtoggle";
465 return "tangentstrength";
467 return "patchgrouptoggle";
471 return "loopgrouptoggle";
475 return "groupappend";
483 if (fieldnum.
size() < 1)
484 return PARM_UNSUPPORTED;
531 return PARM_UNSUPPORTED;
567 loadData(is, rampdata);
585 int typelen = colon - data.
buffer();
599 {
int64 iv =
v; UTwrite(os, &iv); }
601 { UTwrite<fpreal64>(os, &
v); }
603 { UTwrite<fpreal64>(os, &v.
x()); UTwrite<fpreal64>(os, &v.
y()); }
605 { UTwrite<fpreal64>(os, &v.
x()); UTwrite<fpreal64>(os, &v.
y());
606 UTwrite<fpreal64>(os, &v.
z()); }
608 { UTwrite<fpreal64>(os, &v.
x()); UTwrite<fpreal64>(os, &v.
y());
609 UTwrite<fpreal64>(os, &v.
z()); UTwrite<fpreal64>(os, &v.
w()); }
621 if (s) s->save(ostr);
623 saveData(os, result);
630 ostr << s->getDataTypeToken();
635 saveData(os, result);
639 void save(std::ostream &os)
const
643 saveData(os, myGroup);
644 saveData(os, myFillmode);
645 saveData(os, myCompleteloops);
646 saveData(os, myReverse);
647 saveData(os, myUniquepoints);
648 saveData(os, myUpdatenorms);
649 saveData(os, myLooptoggle);
650 saveData(os, myLoopdistance);
651 saveData(os, mySmoothtoggle);
652 saveData(os, mySmoothstrength);
653 saveData(os, myCorneroffset);
654 saveData(os, myCustomcornerstoggle);
655 saveData(os, myCustomcorners);
656 saveData(os, mySubdivtoggle);
657 saveData(os, myTranslate);
658 saveData(os, myTangentstrength);
659 saveData(os, myPatchgrouptoggle);
660 saveData(os, myPatchgroup);
661 saveData(os, myLoopgrouptoggle);
662 saveData(os, myLoopgroup);
663 saveData(os, myGroupappend);
676 loadData(is, myGroup);
677 loadData(is, myFillmode);
678 loadData(is, myCompleteloops);
679 loadData(is, myReverse);
680 loadData(is, myUniquepoints);
681 loadData(is, myUpdatenorms);
682 loadData(is, myLooptoggle);
683 loadData(is, myLoopdistance);
684 loadData(is, mySmoothtoggle);
685 loadData(is, mySmoothstrength);
686 loadData(is, myCorneroffset);
687 loadData(is, myCustomcornerstoggle);
688 loadData(is, myCustomcorners);
689 loadData(is, mySubdivtoggle);
690 loadData(is, myTranslate);
691 loadData(is, myTangentstrength);
692 loadData(is, myPatchgrouptoggle);
693 loadData(is, myPatchgroup);
694 loadData(is, myLoopgrouptoggle);
695 loadData(is, myLoopgroup);
696 loadData(is, myGroupappend);
706 if (!thissop)
return getGroup();
708 OP_Utils::evalOpParm(result, thissop,
"group", cookparms.
getCookTime(), 0);
716 if (!thissop)
return getFillmode();
718 OP_Utils::evalOpParm(result, thissop,
"fillmode", cookparms.
getCookTime(), 0);
726 if (!thissop)
return getCompleteloops();
728 OP_Utils::evalOpParm(result, thissop,
"completeloops", cookparms.
getCookTime(), 0);
736 if (!thissop)
return getReverse();
738 OP_Utils::evalOpParm(result, thissop,
"reverse", cookparms.
getCookTime(), 0);
746 if (!thissop)
return getUniquepoints();
748 OP_Utils::evalOpParm(result, thissop,
"uniquepoints", cookparms.
getCookTime(), 0);
756 if (!thissop)
return getUpdatenorms();
758 OP_Utils::evalOpParm(result, thissop,
"updatenorms", cookparms.
getCookTime(), 0);
766 if (!thissop)
return getLooptoggle();
768 OP_Utils::evalOpParm(result, thissop,
"looptoggle", cookparms.
getCookTime(), 0);
776 if (!thissop)
return getLoopdistance();
778 OP_Utils::evalOpParm(result, thissop,
"loopdistance", cookparms.
getCookTime(), 0);
786 if (!thissop)
return getSmoothtoggle();
788 OP_Utils::evalOpParm(result, thissop,
"smoothtoggle", cookparms.
getCookTime(), 0);
796 if (!thissop)
return getSmoothstrength();
798 OP_Utils::evalOpParm(result, thissop,
"smoothstrength", cookparms.
getCookTime(), 0);
806 if (!thissop)
return getCorneroffset();
808 OP_Utils::evalOpParm(result, thissop,
"corneroffset", cookparms.
getCookTime(), 0);
816 if (!thissop)
return getCustomcornerstoggle();
818 OP_Utils::evalOpParm(result, thissop,
"customcornerstoggle", cookparms.
getCookTime(), 0);
826 if (!thissop)
return getCustomcorners();
828 OP_Utils::evalOpParm(result, thissop,
"customcorners", cookparms.
getCookTime(), 0);
836 if (!thissop)
return getSubdivtoggle();
838 OP_Utils::evalOpParm(result, thissop,
"subdivtoggle", cookparms.
getCookTime(), 0);
846 if (!thissop)
return getTranslate();
848 OP_Utils::evalOpParm(result, thissop,
"translate", cookparms.
getCookTime(), 0);
856 if (!thissop)
return getTangentstrength();
858 OP_Utils::evalOpParm(result, thissop,
"tangentstrength", cookparms.
getCookTime(), 0);
866 if (!thissop)
return getPatchgrouptoggle();
868 OP_Utils::evalOpParm(result, thissop,
"patchgrouptoggle", cookparms.
getCookTime(), 0);
876 if (!thissop)
return getPatchgroup();
878 OP_Utils::evalOpParm(result, thissop,
"patchgroup", cookparms.
getCookTime(), 0);
886 if (!thissop)
return getLoopgrouptoggle();
888 OP_Utils::evalOpParm(result, thissop,
"loopgrouptoggle", cookparms.
getCookTime(), 0);
896 if (!thissop)
return getLoopgroup();
898 OP_Utils::evalOpParm(result, thissop,
"loopgroup", cookparms.
getCookTime(), 0);
906 if (!thissop)
return getGroupappend();
908 OP_Utils::evalOpParm(result, thissop,
"groupappend", cookparms.
getCookTime(), 0);
915 bool myCompleteloops;
923 int64 myCorneroffset;
924 bool myCustomcornerstoggle;
929 bool myPatchgrouptoggle;
931 bool myLoopgrouptoggle;
void setSubdivtoggle(bool val)
bool opCompleteloops(const SOP_NodeVerb::CookParms &cookparms) const
void setFillmode(Fillmode val)
static void loadData(UT_IStream &is, UT_Vector2D &v)
const UT_StringHolder & getLoopgroup() const
static void loadData(UT_IStream &is, int64 &v)
fpreal64 getSmoothstrength() const
bool operator!=(const SOP_PolyFillParms &src) const
bool operator==(const SOP_PolyFillParms &src) const
void loadFromOpSubclass(const LoadParms &loadparms) override
fpreal64 getLoopdistance() const
SOP_Node * getNode() const
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
bool opLoopgrouptoggle(const SOP_NodeVerb::CookParms &cookparms) const
SYS_FORCE_INLINE UT_StringHolder getToken(Fillmode enum_value)
bool getSmoothtoggle() const
const UT_StringHolder & getPatchgroup() const
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
exint bread(int32 *buffer, exint asize=1)
GT_API const UT_StringHolder time
constexpr SYS_FORCE_INLINE T & y() noexcept
void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
const UT_StringHolder & getCustomcorners() const
static void loadData(UT_IStream &is, fpreal64 &v)
void setLoopdistance(fpreal64 val)
const OP_Context & context() const
constexpr SYS_FORCE_INLINE T & z() noexcept
bool opCustomcornerstoggle(const SOP_NodeVerb::CookParms &cookparms) const
SYS_FORCE_INLINE const char * buffer() const
void buildFromOp(const OP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
exint getNestNumParms(TempIndex idx) const override
An output stream object that owns its own string buffer storage.
void setPatchgrouptoggle(bool val)
static void saveData(std::ostream &os, bool v)
static void saveData(std::ostream &os, UT_StringHolder s)
**But if you need a result
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
bool getUniquepoints() const
static void loadData(UT_IStream &is, PRM_DataItemHandle &v)
static PRM_DataItemHandle parseBinary(const char *type, UT_IStream &is)
bool load(UT_IStream &is)
bool getSubdivtoggle() const
const UT_WorkBuffer & str()
Returns a read-only reference to the underlying UT_WorkBuffer.
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
void setCustomcornerstoggle(bool val)
constexpr SYS_FORCE_INLINE T & x() noexcept
bool getGroupappend() const
bool opLooptoggle(const SOP_NodeVerb::CookParms &cookparms) const
bool opSmoothtoggle(const SOP_NodeVerb::CookParms &cookparms) const
int64 getCorneroffset() const
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
static void loadData(UT_IStream &is, UT_Vector3D &v)
void setUniquepoints(bool val)
constexpr SYS_FORCE_INLINE T & x() noexcept
bool getLoopgrouptoggle() const
void setTranslate(fpreal64 val)
static void saveData(std::ostream &os, UT_SharedPtr< UT_Ramp > s)
void setSmoothtoggle(bool val)
bool getCustomcornerstoggle() const
void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
bool operator==(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
void setLoopgrouptoggle(bool val)
bool getCompleteloops() const
static void loadData(UT_IStream &is, UT_Matrix3D &v)
UT_StringHolder opCustomcorners(const SOP_NodeVerb::CookParms &cookparms) const
void setReverse(bool val)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
static void saveData(std::ostream &os, UT_Vector4D v)
bool opUniquepoints(const SOP_NodeVerb::CookParms &cookparms) const
SYS_FORCE_INLINE const char * buffer() const
std::shared_ptr< T > UT_SharedPtr
Wrapper around std::shared_ptr.
static void loadData(UT_IStream &is, UT_Vector4D &v)
UT_StringHolder opGroup(const SOP_NodeVerb::CookParms &cookparms) const
constexpr SYS_FORCE_INLINE T & z() noexcept
bool opSubdivtoggle(const SOP_NodeVerb::CookParms &cookparms) const
static void loadData(UT_IStream &is, UT_Vector2I &v)
void doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
fpreal64 opSmoothstrength(const SOP_NodeVerb::CookParms &cookparms) const
void setGroup(const UT_StringHolder &val)
static void saveData(std::ostream &os, UT_Matrix3D v)
const OP_GraphProxy * graph() const
bool opReverse(const SOP_NodeVerb::CookParms &cookparms) const
fpreal64 opLoopdistance(const SOP_NodeVerb::CookParms &cookparms) const
void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
static void loadData(UT_IStream &is, bool &v)
UT_StringHolder opLoopgroup(const SOP_NodeVerb::CookParms &cookparms) const
const UT_StringHolder & getGroup() const
static void saveData(std::ostream &os, UT_Matrix2D v)
void setCorneroffset(int64 val)
const char * getNestParmName(TempIndex fieldnum) const override
Fillmode getFillmode() const
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
void doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
static void saveData(std::ostream &os, int64 v)
void setPatchgroup(const UT_StringHolder &val)
void setLooptoggle(bool val)
virtual void evalOpParm(int64 &v, NodeIdx node, const char *parmname, fpreal time, DEP_MicroNode *depnode) const =0
fpreal64 opTranslate(const SOP_NodeVerb::CookParms &cookparms) const
void setSmoothstrength(fpreal64 val)
void setLoopgroup(const UT_StringHolder &val)
UT_StringHolder opPatchgroup(const SOP_NodeVerb::CookParms &cookparms) const
void saveBinary(std::ostream &os) const
Save string to binary stream.
ParmType getNestParmType(TempIndex fieldnum) const override
void setUpdatenorms(bool val)
GT_API const UT_StringHolder version
void setGroupappend(bool val)
void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
int64 opCorneroffset(const SOP_NodeVerb::CookParms &cookparms) const
fpreal64 getTangentstrength() const
static void loadData(UT_IStream &is, UT_Matrix2D &v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
void setCustomcorners(const UT_StringHolder &val)
void copyFrom(const OP_NodeParms *src) override
void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
static void saveData(std::ostream &os, UT_Vector3D v)
fpreal64 getTranslate() const
bool opPatchgrouptoggle(const SOP_NodeVerb::CookParms &cookparms) const
static void loadData(UT_IStream &is, UT_Vector4I &v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr< UT_Ramp > &value) override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
bool opUpdatenorms(const SOP_NodeVerb::CookParms &cookparms) const
DEP_MicroNode * depnode() const
bool getPatchgrouptoggle() const
LeafData & operator=(const LeafData &)=delete
Fillmode opFillmode(const SOP_NodeVerb::CookParms &cookparms) const
Utility class for containing a color ramp.
bool isParmColorRamp(exint idx) const override
void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
constexpr SYS_FORCE_INLINE T & w() noexcept
void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr< UT_Ramp > &value) const override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
static void saveData(std::ostream &os, UT_Matrix4D v)
void setTangentstrength(fpreal64 val)
static void loadData(UT_IStream &is, UT_Matrix4D &v)
fpreal getCookTime() const
static void saveData(std::ostream &os, UT_Vector2D v)
const char * findChar(int c) const
void setCompleteloops(bool val)
bool getLooptoggle() const
bool opGroupappend(const SOP_NodeVerb::CookParms &cookparms) const
constexpr SYS_FORCE_INLINE T & y() noexcept
bool getUpdatenorms() const
static void loadData(UT_IStream &is, UT_StringHolder &v)
fpreal64 opTangentstrength(const SOP_NodeVerb::CookParms &cookparms) const
UT_SharedPtr< const PRM_DataItem > PRM_DataItemHandle
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
void save(std::ostream &os) const
constexpr SYS_FORCE_INLINE T & y() noexcept
static void saveData(std::ostream &os, fpreal64 v)
SYS_FORCE_INLINE bool isstring() const
static void saveData(std::ostream &os, PRM_DataItemHandle s)
SYS_FORCE_INLINE void strncpy(const char *src, exint maxlen)
static void loadData(UT_IStream &is, UT_SharedPtr< UT_Ramp > &v)
constexpr SYS_FORCE_INLINE T & x() noexcept
static void loadData(UT_IStream &is, UT_Vector3I &v)