HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SOP_UVLayout-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: UVLayout SOP
9  */
10 
11 
12 #ifndef __SOP_UVLayout2_h__
13 #define __SOP_UVLayout2_h__
14 
15 #include "SOP_API.h"
16 #include "SOP_Node.h"
17 
19 {
20 public:
21  SOP_UVLayout2(OP_Network *net, const char *name,
22  OP_Operator *op);
23 
24  int isRefInput(unsigned int i) const override;
25 
27  int alone = 0) override;
28 
29  static PRM_Template *buildTemplates();
30  const SOP_NodeVerb *cookVerb() const override final;
31 
32  static OP_Node *myConstructor(OP_Network*, const char *,
33  OP_Operator *);
34 
35  void getDescriptiveParmName(UT_String &name) const override final
36  {
37  name = "uvattr";
38  }
39 
40 protected:
41  const char *inputLabel(unsigned idx) const override;
42  void getDescriptiveName(UT_String &name) const override;
43 
44  OP_ERROR cookMySop(OP_Context &context) override;
45 };
46 
47 #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
virtual void getDescriptiveName(UT_String &str) const
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