HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SOP_UVFlatten-2.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_UVFlatten2_h__
13 #define __SOP_UVFlatten2_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_UVFlatten2(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 protected:
44  const char *inputLabel(unsigned idx) const override;
45 
46  // Method to cook geometry for the SOP
47  OP_ERROR cookMySop(OP_Context &context) override;
48 
49 };
50 
51 #endif
virtual const SOP_NodeVerb * cookVerb() const
Definition: SOP_Node.h:909
virtual const char * inputLabel(unsigned idx) const
UT_ErrorSeverity
Definition: UT_Error.h:25
void getDescriptiveParmName(UT_String &name) const overridefinal
GLuint const GLchar * name
Definition: glcorearb.h:786
virtual OP_ERROR cookInputGroups(OP_Context &context, int alone=0)
#define SOP_API
Definition: SOP_API.h:10
virtual OP_ERROR cookMySop(OP_Context &context)=0
virtual int isRefInput(unsigned idx) const