HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SOP_UVFlatten-3.0.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: UVFlatten SOP
9  */
10 
11 
12 #ifndef __SOP_UVFlatten3_h__
13 #define __SOP_UVFlatten3_h__
14 
15 #include "SOP_API.h"
16 #include "SOP_Node.h"
17 
18 #include "SOP_Node.h"
19 
20 class DEP_MicroNode;
21 
23 {
24 public:
25  SOP_UVFlatten3(OP_Network *net, const char *name,
26  OP_Operator *op);
27 
28  int isRefInput(unsigned int i) const override;
29 
30  static PRM_Template *buildTemplates();
31 
32  const SOP_NodeVerb *cookVerb() const override final;
33 
34  static OP_Node *myConstructor(OP_Network*,const char *, OP_Operator *);
35 
37  int alone = 0) override;
38 
40  UT_String &name) const override final
41  { name = "uvattrib"; }
42 
43  int getNumGuides() override { return 1; }
44 
45 
46  GuideType getGuideType(int guide_idx) override
47  { return GuideType::STATE; }
48 
49 protected:
50  const char *inputLabel(unsigned idx) const override;
51 
52  // Method to cook geometry for the SOP
53  OP_ERROR cookMySop(OP_Context &context) override;
54  GU_DetailHandle cookMyGuide(int idx, OP_Context &context) override;
55 
56 };
57 
58 #endif
GuideType getGuideType(int guide_idx) override
virtual const SOP_NodeVerb * cookVerb() const
Definition: SOP_Node.h:906
virtual const char * inputLabel(unsigned idx) const
UT_ErrorSeverity
Definition: UT_Error.h:25
GLuint const GLchar * name
Definition: glcorearb.h:786
int getNumGuides() override
virtual OP_ERROR cookInputGroups(OP_Context &context, int alone=0)
virtual GU_DetailHandle cookMyGuide(int guide_idx, OP_Context &context)
Definition: SOP_Node.h:951
#define SOP_API
Definition: SOP_API.h:10
virtual OP_ERROR cookMySop(OP_Context &context)=0
virtual int isRefInput(unsigned idx) const
void getDescriptiveParmName(UT_String &name) const overridefinal