HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SOP_CollisionDetectCL.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: SOP Library (C++)
7  *
8  * COMMENTS:
9  *
10  *
11  */
12 
13 #ifndef __SOP_CollisionDetectCL_h__
14 #define __SOP_CollisionDetectCL_h__
15 
16 #include <SOP/SOP_Node.h>
17 #include <UT/UT_StringHolder.h>
18 
20 {
21 public:
22  static PRM_Template *buildTemplates();
23  static OP_Node *myConstructor(OP_Network *net, const char *name, OP_Operator *op)
24  {
25  return new SOP_CollisionDetectCL(net, name, op);
26  }
27 
29 
30  const SOP_NodeVerb *cookVerb() const override;
31 
32 protected:
34  : SOP_Node(net, name, op)
35  {
36  // All verb SOPs must manage data IDs, to track what's changed
37  // from cook to cook.
39  }
40 
41  ~SOP_CollisionDetectCL() override {}
42 
43  /// Since this SOP implements a verb, cookMySop just delegates to the verb.
44  OP_ERROR cookMySop(OP_Context &context) override
45  {
46  return cookMyselfAsVerb(context);
47  }
48 };
49 
50 #endif
static OP_Node * myConstructor(OP_Network *net, const char *name, OP_Operator *op)
static PRM_Template * buildTemplates()
UT_ErrorSeverity
Definition: UT_Error.h:25
SOP_CollisionDetectCL(OP_Network *net, const char *name, OP_Operator *op)
const SOP_NodeVerb * cookVerb() const override
static const UT_StringHolder theSOPTypeName
OP_ERROR cookMyselfAsVerb(OP_Context &context)
OP_ERROR cookMySop(OP_Context &context) override
Since this SOP implements a verb, cookMySop just delegates to the verb.
SOP_NodeFlags mySopFlags
Definition: SOP_Node.h:1631
GLuint const GLchar * name
Definition: glcorearb.h:786
void setManagesDataIDs(bool onOff)
Definition: SOP_NodeFlags.h:36