HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SOP_Watershed.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_Measure-2.0.h ( SOP Library, C++)
7  *
8  * COMMENTS:
9  */
10 
11 #ifndef __SOP_Watershed__
12 #define __SOP_Watershed__
13 
14 #include "SOP_API.h"
15 #include "SOP_Node.h"
16 
17 #include <UT/UT_Lock.h>
18 
20 {
21 public:
22  SOP_Watershed(OP_Network *, const char *,
23  OP_Operator *);
24 
26  int alone) override final;
27 
28  static OP_Node *myConstructor(OP_Network *net, const char *name,
29  OP_Operator *entry);
30  static
31  PRM_Template *buildTemplates();
32 
33  const
34  SOP_NodeVerb *cookVerb() const override final;
35 
36 
37  int getNumGuides() override { return 6; }
38 
39  GuideType getGuideType(int guide_idx) override
40  { return GuideType::STATE; }
41 
42 protected:
43  OP_ERROR cookMySop(OP_Context &context) override;
44  GU_DetailHandle cookMyGuide(int idx, OP_Context &context) override;
45 
46 };
47 
48 #endif
49 
virtual const SOP_NodeVerb * cookVerb() const
Definition: SOP_Node.h:909
GuideType getGuideType(int guide_idx) override
Definition: SOP_Watershed.h:39
int getNumGuides() override
Definition: SOP_Watershed.h:37
UT_ErrorSeverity
Definition: UT_Error.h:25
GLuint const GLchar * name
Definition: glcorearb.h:786
virtual OP_ERROR cookInputGroups(OP_Context &context, int alone=0)
virtual GU_DetailHandle cookMyGuide(int guide_idx, OP_Context &context)
Definition: SOP_Node.h:954
#define SOP_API
Definition: SOP_API.h:10
virtual OP_ERROR cookMySop(OP_Context &context)=0