HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SOP_PolyExtrude-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_PolyExtrude-2.0.h (C++)
7  *
8  */
9 
10 
11 #ifndef __SOP_PolyExtrude2__
12 #define __SOP_PolyExtrude2__
13 
14 #include "SOP_API.h"
15 #include "SOP_Node.h"
16 #include <GU/GU_PolyExtrude2.h>
17 
19 {
20 public:
22  const char *name,
23  OP_Operator *entry);
24  ~SOP_PolyExtrude2() override;
25 
27  OP_Context &context, int alone = 0) override;
28 
29  void syncNodeVersion(const char *old_version,
30  const char *cur_version,
31  bool *node_deleted) override;
32 
33  static OP_Node *myConstructor(OP_Network *net,
34  const char *name,
35  OP_Operator *entry);
36 
37  static PRM_Template *buildTemplates();
38 
39  const SOP_NodeVerb *cookVerb() const override;
40 
41  static const char *theHandleCenterAttribName;
42  static const char *theHandleXformAttribName;
43  static const char *theDraggerStartAttribName;
44  static const char *theDraggerDirAttribName;
45 
46 protected:
47  OP_ERROR cookMySop(OP_Context &context) override;
48  const char *inputLabel(unsigned idx) const override;
49 
50 private:
51 
53 
54  void getGroupString(UT_String &str, fpreal t)
55  { evalString(str, 0, 0, t); }
56 };
57 
58 #endif
virtual const SOP_NodeVerb * cookVerb() const
Definition: SOP_Node.h:909
void syncNodeVersion(const char *old_version, const char *current_version, bool *node_deleted) override
virtual const char * inputLabel(unsigned idx) const
UT_ErrorSeverity
Definition: UT_Error.h:25
static const char * theHandleXformAttribName
void evalString(UT_String &val, int pi, int vi, fpreal t) const
static const char * theHandleCenterAttribName
GLuint const GLchar * name
Definition: glcorearb.h:786
virtual OP_ERROR cookInputGroups(OP_Context &context, int alone=0)
GLdouble t
Definition: glad.h:2397
static const char * theDraggerStartAttribName
fpreal64 fpreal
Definition: SYS_Types.h:277
#define SOP_API
Definition: SOP_API.h:10
static const char * theDraggerDirAttribName
virtual OP_ERROR cookMySop(OP_Context &context)=0