23 namespace SOP_TraceEnums
37 using namespace UT::Literal;
59 using namespace UT::Literal;
78 using namespace UT::Literal;
96 myTraceLayer =
""_UTsh;
101 myAddtexture =
false;
103 myFile =
"circle.pic"_UTsh;
104 myOverridesize =
false;
109 myCopcolor =
"(Default Color)"_UTsh;
110 myCopalpha =
"(Default Alpha)"_UTsh;
113 myDoresample =
false;
137 if (myTraceLayer != src.myTraceLayer)
return false;
138 if (myT != src.myT)
return false;
139 if (myR != src.myR)
return false;
140 if (myS != src.myS)
return false;
141 if (myThresh != src.myThresh)
return false;
142 if (myAddtexture != src.myAddtexture)
return false;
143 if (myChannel != src.myChannel)
return false;
144 if (myFile != src.myFile)
return false;
145 if (myOverridesize != src.myOverridesize)
return false;
146 if (myImagesize != src.myImagesize)
return false;
147 if (myUsecop != src.myUsecop)
return false;
148 if (myCoppath != src.myCoppath)
return false;
149 if (myCopframe != src.myCopframe)
return false;
150 if (myCopcolor != src.myCopcolor)
return false;
151 if (myCopalpha != src.myCopalpha)
return false;
152 if (myDelborder != src.myDelborder)
return false;
153 if (myBordwidth != src.myBordwidth)
return false;
154 if (myDoresample != src.myDoresample)
return false;
155 if (
myStep != src.myStep)
return false;
156 if (myDosmooth != src.myDosmooth)
return false;
157 if (myCorner != src.myCorner)
return false;
158 if (myFitcurve != src.myFitcurve)
return false;
159 if (myError != src.myError)
return false;
160 if (myConvpoly != src.myConvpoly)
return false;
161 if (myLod != src.myLod)
return false;
162 if (myHole != src.myHole)
return false;
163 if (myBoundary != src.myBoundary)
return false;
164 if (myBoundaryvalue != src.myBoundaryvalue)
return false;
165 if (myMissingFrame != src.myMissingFrame)
return false;
181 myTraceLayer =
""_UTsh;
182 if (
true && ( (
true&&!((((graph->
getInput(nodeidx,0)>=0)==0)))) ) )
183 graph->
evalOpParm(myTraceLayer, nodeidx,
"tracelayer", time, 0);
186 graph->
evalOpParm(myT, nodeidx,
"t", time, 0);
189 graph->
evalOpParm(myR, nodeidx,
"r", time, 0);
192 graph->
evalOpParm(myS, nodeidx,
"s", time, 0);
195 graph->
evalOpParm(myThresh, nodeidx,
"thresh", time, 0);
196 myAddtexture =
false;
197 if (
true && ( (
true&&!((((graph->
getInput(nodeidx,0)>=0)==1)))) ) )
198 graph->
evalOpParm(myAddtexture, nodeidx,
"addtexture", time, 0);
200 if (
true && ( (
true&&!((((graph->
getInput(nodeidx,0)>=0)==1)))) ) )
201 graph->
evalOpParm(myChannel, nodeidx,
"channel", time, 0);
202 myFile =
"circle.pic"_UTsh;
203 if (
true && ( (
true&&!((((graph->
getInput(nodeidx,0)>=0)==1)))) ) )
204 graph->
evalOpParm(myFile, nodeidx,
"file", time, 0);
205 myOverridesize =
false;
206 if (
true && ( (
true&&!((((graph->
getInput(nodeidx,0)>=0)==1)))) ) )
207 graph->
evalOpParm(myOverridesize, nodeidx,
"overridesize", time, 0);
209 if (
true && ( (
true&&!(((getOverridesize()==0))||(((graph->
getInput(nodeidx,0)>=0)==1)))) ) )
210 graph->
evalOpParm(myImagesize, nodeidx,
"imagesize", time, 0);
213 graph->
evalOpParm(myUsecop, nodeidx,
"usecop", time, 0);
215 if (
true && ( (
true&&!((((graph->
getInput(nodeidx,0)>=0)==1)))) ) )
216 graph->
evalOpParm(myCoppath, nodeidx,
"coppath", time, 0);
218 if (
true && ( (
true&&!(((getCoppath()==
""))||(((graph->
getInput(nodeidx,0)>=0)==1)))) ) )
219 graph->
evalOpParm(myCopframe, nodeidx,
"copframe", time, 0);
220 myCopcolor =
"(Default Color)"_UTsh;
221 if (
true && ( (
true&&!(((getCoppath()==
""))||(((graph->
getInput(nodeidx,0)>=0)==1)))) ) )
222 graph->
evalOpParm(myCopcolor, nodeidx,
"copcolor", time, 0);
223 myCopalpha =
"(Default Alpha)"_UTsh;
224 if (
true && ( (
true&&!(((getCoppath()==
""))||(((graph->
getInput(nodeidx,0)>=0)==1)))) ) )
225 graph->
evalOpParm(myCopalpha, nodeidx,
"copalpha", time, 0);
228 graph->
evalOpParm(myDelborder, nodeidx,
"delborder", time, 0);
230 if (
true && ( (
true&&!(((getDelborder()==0)))) ) )
231 graph->
evalOpParm(myBordwidth, nodeidx,
"bordwidth", time, 0);
232 myDoresample =
false;
234 graph->
evalOpParm(myDoresample, nodeidx,
"doresample", time, 0);
236 if (
true && ( (
true&&!(((getDoresample()==0)))) ) )
240 graph->
evalOpParm(myDosmooth, nodeidx,
"dosmooth", time, 0);
242 if (
true && ( (
true&&!(((getDosmooth()==0)))) ) )
243 graph->
evalOpParm(myCorner, nodeidx,
"corner", time, 0);
246 graph->
evalOpParm(myFitcurve, nodeidx,
"fitcurve", time, 0);
248 if (
true && ( (
true&&!(((getFitcurve()==0)))) ) )
249 graph->
evalOpParm(myError, nodeidx,
"error", time, 0);
251 if (
true && ( (
true&&!(((getFitcurve()==0)))) ) )
252 graph->
evalOpParm(myConvpoly, nodeidx,
"convpoly", time, 0);
254 if (
true && ( (
true&&!(((getFitcurve()==0))||((getConvpoly()==0)))) ) )
255 graph->
evalOpParm(myLod, nodeidx,
"lod", time, 0);
258 graph->
evalOpParm(myHole, nodeidx,
"hole", time, 0);
261 graph->
evalOpParm(myBoundary, nodeidx,
"boundary", time, 0);
263 if (
true && ( (
true&&!(((
int64(getBoundary())!=3)))) ) )
264 graph->
evalOpParm(myBoundaryvalue, nodeidx,
"boundaryvalue", time, 0);
267 graph->
evalOpParm(myMissingFrame, nodeidx,
"missingframe", time, 0);
283 template <
typename T>
290 if (idx.
size() != instance.
size()+1)
295 coerceValue(value, myTraceLayer);
298 coerceValue(value, myT);
301 coerceValue(value, myR);
304 coerceValue(value, myS);
307 coerceValue(value, myThresh);
310 coerceValue(value, myAddtexture);
313 coerceValue(value, myChannel);
316 coerceValue(value, myFile);
319 coerceValue(value, myOverridesize);
322 coerceValue(value, myImagesize);
325 coerceValue(value, myUsecop);
328 coerceValue(value, myCoppath);
331 coerceValue(value, myCopframe);
334 coerceValue(value, myCopcolor);
337 coerceValue(value, myCopalpha);
340 coerceValue(value, myDelborder);
343 coerceValue(value, myBordwidth);
346 coerceValue(value, myDoresample);
349 coerceValue(value,
myStep);
352 coerceValue(value, myDosmooth);
355 coerceValue(value, myCorner);
358 coerceValue(value, myFitcurve);
361 coerceValue(value, myError);
364 coerceValue(value, myConvpoly);
367 coerceValue(value, myLod);
370 coerceValue(value, myHole);
373 coerceValue(value, myBoundary);
376 coerceValue(value, myBoundaryvalue);
379 coerceValue(value, myMissingFrame);
395 { doGetParmValue(idx, instance, value); }
397 { doGetParmValue(idx, instance, value); }
399 { doGetParmValue(idx, instance, value); }
401 { doGetParmValue(idx, instance, value); }
403 { doGetParmValue(idx, instance, value); }
405 { doGetParmValue(idx, instance, value); }
407 { doGetParmValue(idx, instance, value); }
409 { doGetParmValue(idx, instance, value); }
411 { doGetParmValue(idx, instance, value); }
413 { doGetParmValue(idx, instance, value); }
415 { doGetParmValue(idx, instance, value); }
417 template <
typename T>
424 if (idx.
size() != instance.
size()+1)
429 coerceValue(myTraceLayer, ( ( value ) ));
432 coerceValue(myT, ( ( value ) ));
435 coerceValue(myR, ( ( value ) ));
438 coerceValue(myS, ( ( value ) ));
441 coerceValue(myThresh, ( ( value ) ));
444 coerceValue(myAddtexture, ( ( value ) ));
447 coerceValue(myChannel, clampMinValue(0, clampMaxValue(4, value ) ));
450 coerceValue(myFile, ( ( value ) ));
453 coerceValue(myOverridesize, ( ( value ) ));
456 coerceValue(myImagesize, ( ( value ) ));
459 coerceValue(myUsecop, ( ( value ) ));
462 coerceValue(myCoppath, ( ( value ) ));
465 coerceValue(myCopframe, ( ( value ) ));
468 coerceValue(myCopcolor, ( ( value ) ));
471 coerceValue(myCopalpha, ( ( value ) ));
474 coerceValue(myDelborder, ( ( value ) ));
477 coerceValue(myBordwidth, clampMinValue(0.001, ( value ) ));
480 coerceValue(myDoresample, ( ( value ) ));
483 coerceValue(
myStep, clampMinValue(0.001, ( value ) ));
486 coerceValue(myDosmooth, ( ( value ) ));
489 coerceValue(myCorner, clampMinValue(0, ( value ) ));
492 coerceValue(myFitcurve, ( ( value ) ));
495 coerceValue(myError, ( ( value ) ));
498 coerceValue(myConvpoly, ( ( value ) ));
501 coerceValue(myLod, clampMinValue(0.001, ( value ) ));
504 coerceValue(myHole, ( ( value ) ));
507 coerceValue(myBoundary, clampMinValue(0, clampMaxValue(3, value ) ));
510 coerceValue(myBoundaryvalue, ( ( value ) ));
513 coerceValue(myMissingFrame, clampMinValue(0, clampMaxValue(1, value ) ));
520 { doSetParmValue(idx, instance, value); }
522 { doSetParmValue(idx, instance, value); }
524 { doSetParmValue(idx, instance, value); }
526 { doSetParmValue(idx, instance, value); }
528 { doSetParmValue(idx, instance, 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); }
556 if (fieldnum.
size() < 1)
577 return "overridesize";
615 return "boundaryvalue";
617 return "missingframe";
625 if (fieldnum.
size() < 1)
626 return PARM_UNSUPPORTED;
689 return PARM_UNSUPPORTED;
725 loadData(is, rampdata);
743 int typelen = colon - data.
buffer();
757 {
int64 iv =
v; UTwrite(os, &iv); }
759 { UTwrite<fpreal64>(os, &
v); }
761 { UTwrite<fpreal64>(os, &v.
x()); UTwrite<fpreal64>(os, &v.
y()); }
763 { UTwrite<fpreal64>(os, &v.
x()); UTwrite<fpreal64>(os, &v.
y());
764 UTwrite<fpreal64>(os, &v.
z()); }
766 { UTwrite<fpreal64>(os, &v.
x()); UTwrite<fpreal64>(os, &v.
y());
767 UTwrite<fpreal64>(os, &v.
z()); UTwrite<fpreal64>(os, &v.
w()); }
779 if (s) s->save(ostr);
781 saveData(os, result);
788 ostr << s->getDataTypeToken();
793 saveData(os, result);
797 void save(std::ostream &os)
const
801 saveData(os, myTraceLayer);
805 saveData(os, myThresh);
806 saveData(os, myAddtexture);
807 saveData(os, myChannel);
808 saveData(os, myFile);
809 saveData(os, myOverridesize);
810 saveData(os, myImagesize);
811 saveData(os, myUsecop);
812 saveData(os, myCoppath);
813 saveData(os, myCopframe);
814 saveData(os, myCopcolor);
815 saveData(os, myCopalpha);
816 saveData(os, myDelborder);
817 saveData(os, myBordwidth);
818 saveData(os, myDoresample);
820 saveData(os, myDosmooth);
821 saveData(os, myCorner);
822 saveData(os, myFitcurve);
823 saveData(os, myError);
824 saveData(os, myConvpoly);
826 saveData(os, myHole);
827 saveData(os, myBoundary);
828 saveData(os, myBoundaryvalue);
829 saveData(os, myMissingFrame);
842 loadData(is, myTraceLayer);
846 loadData(is, myThresh);
847 loadData(is, myAddtexture);
848 loadData(is, myChannel);
849 loadData(is, myFile);
850 loadData(is, myOverridesize);
851 loadData(is, myImagesize);
852 loadData(is, myUsecop);
853 loadData(is, myCoppath);
854 loadData(is, myCopframe);
855 loadData(is, myCopcolor);
856 loadData(is, myCopalpha);
857 loadData(is, myDelborder);
858 loadData(is, myBordwidth);
859 loadData(is, myDoresample);
861 loadData(is, myDosmooth);
862 loadData(is, myCorner);
863 loadData(is, myFitcurve);
864 loadData(is, myError);
865 loadData(is, myConvpoly);
867 loadData(is, myHole);
868 loadData(is, myBoundary);
869 loadData(is, myBoundaryvalue);
870 loadData(is, myMissingFrame);
880 if (!thissop)
return getTraceLayer();
882 OP_Utils::evalOpParm(result, thissop,
"tracelayer", cookparms.
getCookTime(), 0);
890 if (!thissop)
return getT();
892 OP_Utils::evalOpParm(result, thissop,
"t", cookparms.
getCookTime(), 0);
900 if (!thissop)
return getR();
902 OP_Utils::evalOpParm(result, thissop,
"r", cookparms.
getCookTime(), 0);
910 if (!thissop)
return getS();
912 OP_Utils::evalOpParm(result, thissop,
"s", cookparms.
getCookTime(), 0);
920 if (!thissop)
return getThresh();
922 OP_Utils::evalOpParm(result, thissop,
"thresh", cookparms.
getCookTime(), 0);
930 if (!thissop)
return getAddtexture();
932 OP_Utils::evalOpParm(result, thissop,
"addtexture", cookparms.
getCookTime(), 0);
940 if (!thissop)
return getChannel();
942 OP_Utils::evalOpParm(result, thissop,
"channel", cookparms.
getCookTime(), 0);
950 if (!thissop)
return getFile();
952 OP_Utils::evalOpParm(result, thissop,
"file", cookparms.
getCookTime(), 0);
960 if (!thissop)
return getOverridesize();
962 OP_Utils::evalOpParm(result, thissop,
"overridesize", cookparms.
getCookTime(), 0);
970 if (!thissop)
return getImagesize();
972 OP_Utils::evalOpParm(result, thissop,
"imagesize", cookparms.
getCookTime(), 0);
980 if (!thissop)
return getUsecop();
982 OP_Utils::evalOpParm(result, thissop,
"usecop", cookparms.
getCookTime(), 0);
990 if (!thissop)
return getCoppath();
992 OP_Utils::evalOpParm(result, thissop,
"coppath", cookparms.
getCookTime(), 0);
1000 if (!thissop)
return getCopframe();
1002 OP_Utils::evalOpParm(result, thissop,
"copframe", cookparms.
getCookTime(), 0);
1010 if (!thissop)
return getCopcolor();
1012 OP_Utils::evalOpParm(result, thissop,
"copcolor", cookparms.
getCookTime(), 0);
1020 if (!thissop)
return getCopalpha();
1022 OP_Utils::evalOpParm(result, thissop,
"copalpha", cookparms.
getCookTime(), 0);
1030 if (!thissop)
return getDelborder();
1032 OP_Utils::evalOpParm(result, thissop,
"delborder", cookparms.
getCookTime(), 0);
1040 if (!thissop)
return getBordwidth();
1042 OP_Utils::evalOpParm(result, thissop,
"bordwidth", cookparms.
getCookTime(), 0);
1050 if (!thissop)
return getDoresample();
1052 OP_Utils::evalOpParm(result, thissop,
"doresample", cookparms.
getCookTime(), 0);
1060 if (!thissop)
return getStep();
1062 OP_Utils::evalOpParm(result, thissop,
"step", cookparms.
getCookTime(), 0);
1070 if (!thissop)
return getDosmooth();
1072 OP_Utils::evalOpParm(result, thissop,
"dosmooth", cookparms.
getCookTime(), 0);
1080 if (!thissop)
return getCorner();
1082 OP_Utils::evalOpParm(result, thissop,
"corner", cookparms.
getCookTime(), 0);
1090 if (!thissop)
return getFitcurve();
1092 OP_Utils::evalOpParm(result, thissop,
"fitcurve", cookparms.
getCookTime(), 0);
1102 OP_Utils::evalOpParm(result, thissop,
"error", cookparms.
getCookTime(), 0);
1110 if (!thissop)
return getConvpoly();
1112 OP_Utils::evalOpParm(result, thissop,
"convpoly", cookparms.
getCookTime(), 0);
1120 if (!thissop)
return getLod();
1122 OP_Utils::evalOpParm(result, thissop,
"lod", cookparms.
getCookTime(), 0);
1130 if (!thissop)
return getHole();
1132 OP_Utils::evalOpParm(result, thissop,
"hole", cookparms.
getCookTime(), 0);
1140 if (!thissop)
return getBoundary();
1142 OP_Utils::evalOpParm(result, thissop,
"boundary", cookparms.
getCookTime(), 0);
1150 if (!thissop)
return getBoundaryvalue();
1152 OP_Utils::evalOpParm(result, thissop,
"boundaryvalue", cookparms.
getCookTime(), 0);
1160 if (!thissop)
return getMissingFrame();
1162 OP_Utils::evalOpParm(result, thissop,
"missingframe", cookparms.
getCookTime(), 0);
1175 bool myOverridesize;
1195 int64 myMissingFrame;
static void loadData(UT_IStream &is, bool &v)
UT_Vector2T< int64 > UT_Vector2I
static void loadData(UT_IStream &is, UT_Vector4I &v)
static void loadData(UT_IStream &is, UT_Vector2D &v)
void setFile(const UT_StringHolder &val)
static void saveData(std::ostream &os, UT_StringHolder s)
int64 opBordwidth(const SOP_NodeVerb::CookParms &cookparms) const
void setImagesize(UT_Vector2I val)
void setBoundaryvalue(fpreal64 val)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
static void loadData(UT_IStream &is, UT_Matrix3D &v)
SOP_Node * getNode() const
Boundary opBoundary(const SOP_NodeVerb::CookParms &cookparms) const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
void setError(fpreal64 val)
exint bread(int32 *buffer, exint asize=1)
GT_API const UT_StringHolder time
constexpr SYS_FORCE_INLINE T & y() noexcept
void setUsecop(int64 val)
UT_Vector2T< fpreal64 > UT_Vector2D
bool opFitcurve(const SOP_NodeVerb::CookParms &cookparms) const
void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
static void saveData(std::ostream &os, UT_Matrix2D v)
static void saveData(std::ostream &os, UT_SharedPtr< UT_Ramp > s)
void setDoresample(bool val)
ParmType getNestParmType(TempIndex fieldnum) const override
static void saveData(std::ostream &os, UT_Matrix3D v)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
bool isParmColorRamp(exint idx) const override
const OP_Context & context() const
constexpr SYS_FORCE_INLINE T & z() noexcept
SYS_FORCE_INLINE const char * buffer() const
static void saveData(std::ostream &os, UT_Vector3D v)
UT_StringHolder opCoppath(const SOP_NodeVerb::CookParms &cookparms) const
void save(std::ostream &os) const
fpreal64 opError(const SOP_NodeVerb::CookParms &cookparms) const
An output stream object that owns its own string buffer storage.
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
void setMissingFrame(MissingFrame val)
void setAddtexture(bool val)
**But if you need a result
void setFitcurve(bool val)
void setThresh(fpreal64 val)
static void saveData(std::ostream &os, int64 v)
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 opDoresample(const SOP_NodeVerb::CookParms &cookparms) const
UT_StringHolder opCopalpha(const SOP_NodeVerb::CookParms &cookparms) const
bool getAddtexture() const
bool opAddtexture(const SOP_NodeVerb::CookParms &cookparms) const
void setStep(fpreal64 val)
fpreal64 opBoundaryvalue(const SOP_NodeVerb::CookParms &cookparms) const
virtual NodeIdx getInput(NodeIdx idx, int input, bool markused=false) const =0
constexpr SYS_FORCE_INLINE T & x() noexcept
const UT_StringHolder & getCopcolor() const
MissingFrame getMissingFrame() const
void doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
UT_Vector2D opS(const SOP_NodeVerb::CookParms &cookparms) const
fpreal64 opStep(const SOP_NodeVerb::CookParms &cookparms) const
static void loadData(UT_IStream &is, UT_Vector3D &v)
void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
constexpr SYS_FORCE_INLINE T & x() noexcept
static void loadData(UT_IStream &is, UT_SharedPtr< UT_Ramp > &v)
static void loadData(UT_IStream &is, UT_Matrix4D &v)
bool operator==(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
static void loadData(UT_IStream &is, UT_Vector2I &v)
void setCopalpha(const UT_StringHolder &val)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
const char * getNestParmName(TempIndex fieldnum) const override
bool opDosmooth(const SOP_NodeVerb::CookParms &cookparms) const
void setChannel(Channel val)
exint getNestNumParms(TempIndex idx) const override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr< UT_Ramp > &value) const override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
SYS_FORCE_INLINE const char * buffer() const
std::shared_ptr< T > UT_SharedPtr
Wrapper around std::shared_ptr.
void setR(UT_Vector3D val)
void setCoppath(const UT_StringHolder &val)
constexpr SYS_FORCE_INLINE T & z() noexcept
UT_Vector3D opR(const SOP_NodeVerb::CookParms &cookparms) const
static void saveData(std::ostream &os, UT_Matrix4D v)
Channel opChannel(const SOP_NodeVerb::CookParms &cookparms) const
const OP_GraphProxy * graph() const
void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
bool opHole(const SOP_NodeVerb::CookParms &cookparms) const
bool getOverridesize() const
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
UT_StringHolder opTraceLayer(const SOP_NodeVerb::CookParms &cookparms) const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
void buildFromOp(const OP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
static void saveData(std::ostream &os, UT_Vector2D v)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
void setBoundary(Boundary val)
bool opConvpoly(const SOP_NodeVerb::CookParms &cookparms) const
static void saveData(std::ostream &os, fpreal64 v)
UT_Vector3T< fpreal64 > UT_Vector3D
void setDosmooth(bool val)
void setTraceLayer(const UT_StringHolder &val)
Channel getChannel() const
fpreal64 getCorner() const
UT_Vector3D opT(const SOP_NodeVerb::CookParms &cookparms) const
fpreal64 getError() const
UT_StringHolder opCopcolor(const SOP_NodeVerb::CookParms &cookparms) const
virtual void evalOpParm(int64 &v, NodeIdx node, const char *parmname, fpreal time, DEP_MicroNode *depnode) const =0
static void loadData(UT_IStream &is, UT_Matrix2D &v)
void setOverridesize(bool val)
void setLod(fpreal64 val)
void saveBinary(std::ostream &os) const
Save string to binary stream.
UT_Vector2I opImagesize(const SOP_NodeVerb::CookParms &cookparms) const
fpreal64 getCopframe() const
void setCopcolor(const UT_StringHolder &val)
static void saveData(std::ostream &os, bool v)
GT_API const UT_StringHolder version
static void saveData(std::ostream &os, PRM_DataItemHandle s)
const UT_StringHolder & getTraceLayer() const
MissingFrame opMissingFrame(const SOP_NodeVerb::CookParms &cookparms) const
static void loadData(UT_IStream &is, UT_StringHolder &v)
void setCorner(fpreal64 val)
DEP_MicroNode * depnode() const
LeafData & operator=(const LeafData &)=delete
fpreal64 getBoundaryvalue() const
Utility class for containing a color ramp.
bool operator!=(const SOP_TraceParms &src) const
Boundary getBoundary() const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr< UT_Ramp > &value) override
void setS(UT_Vector2D val)
constexpr SYS_FORCE_INLINE T & w() noexcept
bool operator==(const SOP_TraceParms &src) const
fpreal64 opCorner(const SOP_NodeVerb::CookParms &cookparms) const
void doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
fpreal getCookTime() const
fpreal64 opCopframe(const SOP_NodeVerb::CookParms &cookparms) const
int64 opUsecop(const SOP_NodeVerb::CookParms &cookparms) const
static void saveData(std::ostream &os, UT_Vector4D v)
void setBordwidth(int64 val)
const UT_StringHolder & getCopalpha() const
const char * findChar(int c) const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
static void loadData(UT_IStream &is, int64 &v)
bool opOverridesize(const SOP_NodeVerb::CookParms &cookparms) const
static void loadData(UT_IStream &is, fpreal64 &v)
constexpr SYS_FORCE_INLINE T & y() noexcept
void setCopframe(fpreal64 val)
int64 getBordwidth() const
static void loadData(UT_IStream &is, UT_Vector3I &v)
UT_StringHolder opFile(const SOP_NodeVerb::CookParms &cookparms) const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
void setConvpoly(bool val)
fpreal64 opThresh(const SOP_NodeVerb::CookParms &cookparms) const
bool getDoresample() const
UT_SharedPtr< const PRM_DataItem > PRM_DataItemHandle
const UT_StringHolder & getCoppath() const
fpreal64 opLod(const SOP_NodeVerb::CookParms &cookparms) const
void setDelborder(bool val)
void copyFrom(const OP_NodeParms *src) override
bool getDelborder() const
void loadFromOpSubclass(const LoadParms &loadparms) override
constexpr SYS_FORCE_INLINE T & y() noexcept
SYS_FORCE_INLINE bool isstring() const
static void loadData(UT_IStream &is, UT_Vector4D &v)
bool load(UT_IStream &is)
fpreal64 getThresh() const
void setT(UT_Vector3D val)
SYS_FORCE_INLINE void strncpy(const char *src, exint maxlen)
SYS_FORCE_INLINE UT_StringHolder getToken(Channel enum_value)
bool opDelborder(const SOP_NodeVerb::CookParms &cookparms) const
const UT_StringHolder & getFile() const
constexpr SYS_FORCE_INLINE T & x() noexcept
static void loadData(UT_IStream &is, PRM_DataItemHandle &v)
UT_Vector2I getImagesize() const
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override