HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SOP_UVLayout-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: UVLayout SOP
9  */
10 
11 
12 #ifndef __SOP_UVLayout3_h__
13 #define __SOP_UVLayout3_h__
14 
15 #include "SOP_API.h"
16 #include "SOP_Node.h"
17 
18 class SOP_API SOP_UVLayout3 final : public SOP_Node
19 {
20 public:
21  SOP_UVLayout3(OP_Network *net, const char *name,
22  OP_Operator *op);
23 
24  int isRefInput(OP_InputIdx i) const override;
25 
26  void syncNodeVersion(
27  const char *old_version,
28  const char *cur_version,
29  bool *node_deleted) override;
30  static PRM_Template *buildTemplates();
31  const SOP_NodeVerb *cookVerb() const override;
32 
33  static OP_Node *myConstructor(OP_Network*, const char *,
34  OP_Operator *);
35 
36  void getDescriptiveParmName(UT_String &name) const override
37  { name = "uvattr"; }
38 
39 protected:
40  const char *inputLabel(OP_InputIdx idx) const override;
41  void getDescriptiveName(UT_String &name) const override;
42  OP_ERROR cookMySop(OP_Context &context) override;
43 };
44 
45 #endif
virtual const SOP_NodeVerb * cookVerb() const
Definition: SOP_Node.h:910
void syncNodeVersion(const char *old_version, const char *current_version, bool *node_deleted) override
int OP_InputIdx
Definition: OP_DataTypes.h:184
UT_ErrorSeverity
Definition: UT_Error.h:25
virtual const char * inputLabel(OP_InputIdx idx) const
virtual void getDescriptiveName(UT_String &str) const
GLuint const GLchar * name
Definition: glcorearb.h:786
virtual int isRefInput(OP_InputIdx idx) const
void getDescriptiveParmName(UT_String &name) const override
#define SOP_API
Definition: SOP_API.h:10
virtual OP_ERROR cookMySop(OP_Context &context)=0