HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SOP_UVFuse.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: The UV Fuse SOP
9  *
10  */
11 
12 #ifndef __SOP_UVFuse_h__
13 #define __SOP_UVFuse_h__
14 
15 #include "SOP_API.h"
16 #include "SOP_Node.h"
17 
18 enum {
22 
24 
29 
31 };
32 
33 class SOP_API SOP_UVFuse : public SOP_Node
34 {
35 public:
36  SOP_UVFuse(OP_Network *net, const char *name, OP_Operator *entry);
37  ~SOP_UVFuse() override;
38 
39  static OP_Node *myConstructor(OP_Network *net,
40  const char *name,
41  OP_Operator *entry);
42  static PRM_Template *buildTemplates();
43 
45  int alone = 0) override;
46 
47  void getDescriptiveParmName(UT_String &name) const override
48  {
49  name = "uvattrib";
50  }
51 
52  const SOP_NodeVerb *cookVerb() const override;
53 
54 protected:
55  OP_ERROR cookMySop(OP_Context &context) override;
56  const char *inputLabel(OP_InputIdx idx) const override;
57 
58 private:
59  void getGroupString(UT_String &str)
60  { evalString(str, SOP_UVFUSE_GRP_IDX, 0, 0.0f); }
61 
62  int GRPTYPE() { return evalInt(SOP_UVFUSE_GRPTYPE_IDX, 0, 0); }
63 };
64 
65 #endif
virtual const SOP_NodeVerb * cookVerb() const
Definition: SOP_Node.h:910
int OP_InputIdx
Definition: OP_DataTypes.h:184
UT_ErrorSeverity
Definition: UT_Error.h:25
virtual const char * inputLabel(OP_InputIdx idx) const
GLfloat f
Definition: glcorearb.h:1926
void evalString(UT_String &val, int pi, int vi, fpreal t) const
void getDescriptiveParmName(UT_String &name) const override
Definition: SOP_UVFuse.h:47
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
exint evalInt(int pi, int vi, fpreal t) const
virtual OP_ERROR cookMySop(OP_Context &context)=0