30 #ifndef __SOP_Surface_h__
31 #define __SOP_Surface_h__
35 namespace HDK_Sample {
47 const char *
inputLabel(
unsigned idx)
const override;
54 bool BUILDPOLYSOUP(
fpreal t) {
return evalInt(
"buildpolysoup", 0, t) != 0; }
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
const char * inputLabel(unsigned idx) const override
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.