41 using namespace HDK_Sample;
55 "x Point From Object",
69 "x Circle From Points",
124 if (attrib.isInvalid())
EUC_Expression * getInputExpression(int idx) const
static PRM_Template myTemplateList[]
Class which stores the default values for a GA_Attribute.
static OP_Node * myConstructor(OP_Network *, const char *, OP_Operator *)
static PRM_Template myTemplateList[]
static EUC_Expression * getExprFromUid(int uid)
void clearAndDestroy()
Clear all the points/primitives out of this detail.
SOP_EuclidSelect(OP_Network *net, const char *name, OP_Operator *op)
static OP_Node * myConstructor(OP_Network *, const char *, OP_Operator *)
#define OP_FLAG_GENERATOR
static PRM_Template myTemplateList[]
SOP_EuclidCircleFromPoints(OP_Network *net, const char *name, OP_Operator *op)
bool addOperator(OP_Operator *op, std::ostream *err=nullptr)
PRM_API const PRM_Type PRM_XYZ_J
PRM_API const PRM_Type PRM_INT_J
EUC_Expression * cookExpression(OP_Context &context) override
PRM_API const PRM_Type PRM_RGB_J
const GA_Attribute * findIntTuple(GA_AttributeOwner owner, GA_AttributeScope scope, const UT_StringRef &name, int min_size=1, int max_size=-1) const
SOP_EuclidIntersect(OP_Network *net, const char *name, OP_Operator *op)
constexpr SYS_FORCE_INLINE T & x() noexcept
void setLook(bool visible, const UT_Vector3 &cd)
void newSopOperator(OP_OperatorTable *table)
static OP_Node * myConstructor(OP_Network *, const char *, OP_Operator *)
EUC_Expression * cookExpression(OP_Context &context) override
static PRM_Template myTemplateList[]
const GU_Detail * inputGeo(int index, OP_Context &)
static PRM_Template myTemplateList[]
OP_ERROR cookMySop(OP_Context &context) override
~SOP_EuclidBase() override
SOP_EuclidPointFromObject(OP_Network *net, const char *name, OP_Operator *op)
SYS_FORCE_INLINE T get(GA_Offset off, int comp=0) const
virtual EUC_Expression * cookExpression(OP_Context &context)=0
GLuint const GLchar * name
static OP_Node * myConstructor(OP_Network *, const char *, OP_Operator *)
GLenum GLenum GLsizei void * table
static OP_Node * myConstructor(OP_Network *, const char *, OP_Operator *)
void setManagesDataIDs(bool onOff)
EUC_Expression * cookExpression(OP_Context &context) override
PRM_API PRM_Default PRMoneDefaults[]
SYS_FORCE_INLINE void set(GA_Offset off, const T &val) const
SOP_EuclidLineFromPoints(OP_Network *net, const char *name, OP_Operator *op)
PRM_API const PRM_Type PRM_TOGGLE
SOP_EuclidPoint(OP_Network *net, const char *name, OP_Operator *op)
EUC_Expression * cookExpression(OP_Context &context) override
SOP_EuclidBase(OP_Network *net, const char *name, OP_Operator *op)
static PRM_Template myTemplateList[]
EUC_Expression * cookExpression(OP_Context &context) override
EUC_Expression * myExpression
static OP_Node * myConstructor(OP_Network *, const char *, OP_Operator *)
GA_Attribute * addIntTuple(GA_AttributeOwner owner, GA_AttributeScope scope, const UT_StringHolder &name, int tuple_size, const GA_Defaults &defaults=GA_Defaults(0), const UT_Options *creation_args=0, const GA_AttributeOptions *attribute_options=0, GA_Storage storage=GA_STORE_INT32, const GA_ReuseStrategy &reuse=GA_ReuseStrategy())
constexpr SYS_FORCE_INLINE T & y() noexcept
EUC_Expression * cookExpression(OP_Context &context) override
PRM_API PRM_Name PRMcenterName