23 namespace SOP_SplitPointsEnums
 
   36         using namespace UT::Literal;
 
   59         myAttribName = 
"N"_UTsh;
 
   74         if (myGroup != src.myGroup) 
return false;
 
   75         if (myGroupType != src.myGroupType) 
return false;
 
   76         if (myUseAttrib != src.myUseAttrib) 
return false;
 
   77         if (myAttribName != src.myAttribName) 
return false;
 
   78         if (myTol != src.myTol) 
return false;
 
   79         if (myPromote != src.myPromote) 
return false;
 
  101             graph->
evalOpParm(myGroupType, nodeidx, 
"grouptype", time, graph->
isDirect()?
nullptr:depnode);
 
  104             graph->
evalOpParm(myUseAttrib, nodeidx, 
"useattrib", time, graph->
isDirect()?
nullptr:depnode);
 
  105         myAttribName = 
"N"_UTsh;
 
  106         if (
true && ( (
true&&!(((getUseAttrib()==0)))) ) )
 
  107             graph->
evalOpParm(myAttribName, nodeidx, 
"attribname", time, graph->
isDirect()?
nullptr:depnode);
 
  109         if (
true && ( (
true&&!(((getUseAttrib()==0)))) ) )
 
  112         if (
true && ( (
true&&!(((getUseAttrib()==0)))) ) )
 
  113             graph->
evalOpParm(myPromote, nodeidx, 
"promote", time, graph->
isDirect()?
nullptr:depnode);
 
  129     template <
typename T>
 
  136         if (idx.
size() != instance.
size()+1)
 
  141                 coerceValue(value, myGroup);
 
  144                 coerceValue(value, myGroupType);
 
  147                 coerceValue(value, myUseAttrib);
 
  150                 coerceValue(value, myAttribName);
 
  153                 coerceValue(value, myTol);
 
  156                 coerceValue(value, myPromote);
 
  172     { doGetParmValue(idx, instance, value); }
 
  174     { doGetParmValue(idx, instance, value); }
 
  176     { doGetParmValue(idx, instance, value); }
 
  178     { doGetParmValue(idx, instance, value); }
 
  180     { doGetParmValue(idx, instance, value); }
 
  182     { doGetParmValue(idx, instance, value); }
 
  184     { doGetParmValue(idx, instance, value); }
 
  186     { doGetParmValue(idx, instance, value); }
 
  188     { doGetParmValue(idx, instance, value); }
 
  190     { doGetParmValue(idx, instance, value); }
 
  192     { doGetParmValue(idx, instance, value); }
 
  194     template <
typename T>
 
  201         if (idx.
size() != instance.
size()+1)
 
  206                 coerceValue(myGroup, ( ( value ) ));
 
  209                 coerceValue(myGroupType, clampMinValue(0,  clampMaxValue(3,  value ) ));
 
  212                 coerceValue(myUseAttrib, ( ( value ) ));
 
  215                 coerceValue(myAttribName, ( ( value ) ));
 
  218                 coerceValue(myTol, clampMinValue(0,  ( value ) ));
 
  221                 coerceValue(myPromote, ( ( value ) ));
 
  228     { doSetParmValue(idx, instance, value); }
 
  230     { doSetParmValue(idx, instance, value); }
 
  232     { doSetParmValue(idx, instance, value); }
 
  234     { doSetParmValue(idx, instance, value); }
 
  236     { doSetParmValue(idx, instance, value); }
 
  238     { doSetParmValue(idx, instance, value); }
 
  240     { doSetParmValue(idx, instance, value); }
 
  242     { doSetParmValue(idx, instance, value); }
 
  244     { doSetParmValue(idx, instance, value); }
 
  246     { doSetParmValue(idx, instance, value); }
 
  248     { doSetParmValue(idx, instance, value); }
 
  264         if (fieldnum.
size() < 1)
 
  287         if (fieldnum.
size() < 1)
 
  288             return PARM_UNSUPPORTED;
 
  305         return PARM_UNSUPPORTED;
 
  341         loadData(is, rampdata);
 
  359                 int             typelen = colon - data.
buffer();
 
  373     { 
int64 iv = 
v; UTwrite(os, &iv); }
 
  375     { UTwrite<fpreal64>(os, &
v); }
 
  377     { UTwrite<fpreal64>(os, &v.
x()); UTwrite<fpreal64>(os, &v.
y()); }
 
  379     { UTwrite<fpreal64>(os, &v.
x()); UTwrite<fpreal64>(os, &v.
y());
 
  380       UTwrite<fpreal64>(os, &v.
z()); }
 
  382     { UTwrite<fpreal64>(os, &v.
x()); UTwrite<fpreal64>(os, &v.
y());
 
  383       UTwrite<fpreal64>(os, &v.
z()); UTwrite<fpreal64>(os, &v.
w()); }
 
  395         if (s) s->save(ostr);
 
  397         saveData(os, result);
 
  404             ostr << s->getDataTypeToken();
 
  409         saveData(os, result);
 
  413     void         save(std::ostream &os)
 const 
  417         saveData(os, myGroup);
 
  418         saveData(os, myGroupType);
 
  419         saveData(os, myUseAttrib);
 
  420         saveData(os, myAttribName);
 
  422         saveData(os, myPromote);
 
  435         loadData(is, myGroup);
 
  436         loadData(is, myGroupType);
 
  437         loadData(is, myUseAttrib);
 
  438         loadData(is, myAttribName);
 
  440         loadData(is, myPromote);
 
  450         if (!thissop) 
return getGroup();
 
  452         OP_Utils::evalOpParm(result, thissop, 
"group", cookparms.
getCookTime(), 0);
 
  460         if (!thissop) 
return getGroupType();
 
  462         OP_Utils::evalOpParm(result, thissop, 
"grouptype", cookparms.
getCookTime(), 0);
 
  470         if (!thissop) 
return getUseAttrib();
 
  472         OP_Utils::evalOpParm(result, thissop, 
"useattrib", cookparms.
getCookTime(), 0);
 
  480         if (!thissop) 
return getAttribName();
 
  482         OP_Utils::evalOpParm(result, thissop, 
"attribname", cookparms.
getCookTime(), 0);
 
  490         if (!thissop) 
return getTol();
 
  492         OP_Utils::evalOpParm(result, thissop, 
"tol", cookparms.
getCookTime(), 0);
 
  500         if (!thissop) 
return getPromote();
 
  502         OP_Utils::evalOpParm(result, thissop, 
"promote", cookparms.
getCookTime(), 0);
 
static void loadData(UT_IStream &is, UT_Vector4D &v)
 
exint getNestNumParms(TempIndex idx) const override
 
const UT_StringHolder & getAttribName() const 
 
SOP_Node * getNode() const 
 
GroupType opGroupType(const SOP_NodeVerb::CookParms &cookparms) const 
 
void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
 
const char * getNestParmName(TempIndex fieldnum) const override
 
static void loadData(UT_IStream &is, UT_Vector3I &v)
 
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
 
exint bread(int32 *buffer, exint asize=1)
 
GT_API const UT_StringHolder time
 
static void saveData(std::ostream &os, UT_StringHolder s)
 
constexpr SYS_FORCE_INLINE T & y() noexcept
 
void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
 
GLsizei const GLfloat * value
 
static void saveData(std::ostream &os, int64 v)
 
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
 
void setPromote(bool val)
 
static void saveData(std::ostream &os, bool v)
 
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
 
const OP_Context & context() const 
 
void buildFromOp(const OP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
 
static void loadData(UT_IStream &is, UT_Vector2I &v)
 
static void saveData(std::ostream &os, fpreal64 v)
 
constexpr SYS_FORCE_INLINE T & z() noexcept
 
SYS_FORCE_INLINE const char * buffer() const 
 
void copyFrom(const OP_NodeParms *src) override
 
An output stream object that owns its own string buffer storage. 
 
static void saveData(std::ostream &os, UT_Matrix2D v)
 
static void saveData(std::ostream &os, UT_Vector3D v)
 
static void loadData(UT_IStream &is, UT_Vector4I &v)
 
static void saveData(std::ostream &os, UT_Matrix3D v)
 
static void loadData(UT_IStream &is, UT_Matrix2D &v)
 
**But if you need a result
 
void setGroupType(GroupType val)
 
void setAttribName(const UT_StringHolder &val)
 
bool getUseAttrib() const 
 
static void loadData(UT_IStream &is, bool &v)
 
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
 
bool opUseAttrib(const SOP_NodeVerb::CookParms &cookparms) const 
 
static PRM_DataItemHandle parseBinary(const char *type, UT_IStream &is)
 
static void loadData(UT_IStream &is, fpreal64 &v)
 
const UT_WorkBuffer & str()
Returns a read-only reference to the underlying UT_WorkBuffer. 
 
constexpr SYS_FORCE_INLINE T & x() noexcept
 
static void loadData(UT_IStream &is, UT_Matrix3D &v)
 
UT_SharedPtr< const PRM_DataItem > PRM_DataItemHandle
 
constexpr SYS_FORCE_INLINE T & x() noexcept
 
bool operator==(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
 
ParmType getNestParmType(TempIndex fieldnum) 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. 
 
constexpr SYS_FORCE_INLINE T & z() noexcept
 
static void saveData(std::ostream &os, UT_Matrix4D v)
 
void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
 
bool isParmColorRamp(exint idx) const override
 
void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
 
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
 
const OP_GraphProxy * graph() const 
 
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
 
void doGetParmValue(TempIndex idx, TempIndex instance, T &value) const 
 
static void saveData(std::ostream &os, UT_SharedPtr< UT_Ramp > s)
 
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
 
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
 
void setTol(fpreal64 val)
 
void loadFromOpSubclass(const LoadParms &loadparms) override
 
static void loadData(UT_IStream &is, UT_Vector2D &v)
 
virtual void evalOpParm(int64 &v, NodeIdx node, const char *parmname, fpreal time, DEP_MicroNode *depnode) const =0
 
GroupType getGroupType() const 
 
static void loadData(UT_IStream &is, UT_Vector3D &v)
 
static void loadData(UT_IStream &is, int64 &v)
 
void saveBinary(std::ostream &os) const 
Save string to binary stream. 
 
void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
 
GT_API const UT_StringHolder version
 
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
 
void doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
 
static void loadData(UT_IStream &is, UT_StringHolder &v)
 
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
 
void setUseAttrib(bool val)
 
const UT_StringHolder & getGroup() const 
 
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr< UT_Ramp > &value) override
 
void save(std::ostream &os) const 
 
DEP_MicroNode * depnode() const 
 
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
 
LeafData & operator=(const LeafData &)=delete
 
Utility class for containing a color ramp. 
 
bool load(UT_IStream &is)
 
constexpr SYS_FORCE_INLINE T & w() noexcept
 
virtual UT_StringHolder baseGetSignature() const 
 
static void saveData(std::ostream &os, UT_Vector4D v)
 
fpreal getCookTime() const 
 
bool opPromote(const SOP_NodeVerb::CookParms &cookparms) const 
 
fpreal64 opTol(const SOP_NodeVerb::CookParms &cookparms) const 
 
const char * findChar(int c) const 
 
UT_StringHolder opGroup(const SOP_NodeVerb::CookParms &cookparms) const 
 
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
 
bool operator==(const SOP_SplitPointsParms &src) const 
 
static void loadData(UT_IStream &is, UT_SharedPtr< UT_Ramp > &v)
 
void setGroup(const UT_StringHolder &val)
 
static void loadData(UT_IStream &is, UT_Matrix4D &v)
 
void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr< UT_Ramp > &value) const override
 
constexpr SYS_FORCE_INLINE T & y() noexcept
 
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
 
virtual bool isDirect() const =0
Direct proxies mirror actual nodes: 
 
UT_StringHolder opAttribName(const SOP_NodeVerb::CookParms &cookparms) const 
 
static void saveData(std::ostream &os, PRM_DataItemHandle s)
 
void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
 
static void saveData(std::ostream &os, UT_Vector2D v)
 
constexpr SYS_FORCE_INLINE T & y() noexcept
 
void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
 
SYS_FORCE_INLINE bool isstring() const 
 
SYS_FORCE_INLINE void strncpy(const char *src, exint maxlen)
 
static void loadData(UT_IStream &is, PRM_DataItemHandle &v)
 
bool operator!=(const SOP_SplitPointsParms &src) const 
 
constexpr SYS_FORCE_INLINE T & x() noexcept