30 #ifndef __SOP_Surface_h__
31 #define __SOP_Surface_h__
35 namespace HDK_Sample {
54 bool BUILDPOLYSOUP(
fpreal t) {
return evalInt(
"buildpolysoup", 0, t) != 0; }
const char * inputLabel(OP_InputIdx idx) const override
SOP_Surface(OP_Network *net, const char *name, OP_Operator *op)
fpreal evalFloat(int pi, int vi, fpreal t) const
static PRM_Template myTemplateList[]
GLuint const GLchar * name
static OP_Node * myConstructor(OP_Network *, const char *, OP_Operator *)
exint evalInt(int pi, int vi, fpreal t) const
OP_ERROR cookMySop(OP_Context &context) override
Method to cook geometry for the SOP.