HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SOP_UVLayout.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_UVLayout_h__
13 #define __SOP_UVLayout_h__
14 
15 #include "SOP_API.h"
16 #include <GU/GU_UVPack.h>
17 
18 #include "SOP_Node.h"
19 
20 namespace sop_uvlayout_private {
22 {
27 };
28 
29 enum
30 {
39 };
40 }
41 
42 using namespace sop_uvlayout_private;
43 
45 {
46 public:
47  SOP_UVLayout(OP_Network *net, const char *name,
48  OP_Operator *op);
49 
50  virtual int isRefInput(unsigned int i) const;
51 
52  virtual OP_ERROR cookInputGroups(OP_Context &context, int alone = 0);
53 
54  virtual bool updateParmsFlags();
55 
56  virtual void syncNodeVersion(const char *old_version,
57  const char *cur_version, bool *node_deleted);
58 
59  static OP_Node *myConstructor(OP_Network*, const char *,
60  OP_Operator *);
61 
62  static PRM_Template myTemplateList[];
63 
64 protected:
65  virtual const char *inputLabel(unsigned idx) const;
66 
67  virtual OP_ERROR cookMySop(OP_Context &context);
68 
69 private:
70  const
71  GA_PrimitiveGroup *myGroup;
72  int PACKMETHOD();
73  float SCALE();
74  int PADDING();
75  bool PADDINGBOUNDARY();
76  bool CORRECTAREAS();
77  bool AXISALIGNISLANDS();
78  bool OPTIMIZEWASTEDSPACE();
79 };
80 
81 #endif
UT_ErrorSeverity
Definition: UT_Error.h:25
png_uint_32 i
Definition: png.h:2877
GLuint const GLchar * name
Definition: glcorearb.h:785
#define SOP_API
Definition: SOP_API.h:10