HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SOP_BlockBeginFor.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_BlockBeginFor.h ( SOP Library, C++)
7  *
8  * COMMENTS:
9  */
10 
11 #ifndef __SOP_BlockBeginFor__
12 #define __SOP_BlockBeginFor__
13 
14 #include "SOP_API.h"
15 #include "SOP_BlockBegin.h"
16 
18 {
19 public:
20  SOP_BlockBeginFor(OP_Network *net, const char *name, OP_Operator *entry);
21  ~SOP_BlockBeginFor() override;
22 
23  bool updateParmsFlags() override;
24 
25  static OP_Node *myConstructor(OP_Network *net,
26  const char *name,
27  OP_Operator *entry);
28  static PRM_Template myTemplateList[];
29 
30  int NEXTMETHOD(fpreal t) const
31  { return evalInt("method", 0, t); }
32  void FORPATH(UT_String &str, fpreal t) const override
33  { evalString(str, "blockpath", 0, t); }
34 
35  static int buildMetaBlockStatic(void *op, int idx,
36  fpreal t, const PRM_Template *);
37  static int resetCookPassStatic(void *op, int idx, fpreal t,
38  const PRM_Template *);
39  void resetCookPass(fpreal t);
40 
41 protected:
42  OP_ERROR cookMySop(OP_Context &context) override;
43 
44  const char *inputLabel(unsigned idx) const override;
45  void getDescriptiveName(UT_String &name) const override;
46 
47  // Id of the forsop we were last registered to so we can
48  // unregister.
50 
51 private:
52 };
53 
54 
55 #endif
56 
virtual bool updateParmsFlags()
virtual const char * inputLabel(unsigned idx) const
UT_ErrorSeverity
Definition: UT_Error.h:25
void FORPATH(UT_String &str, fpreal t) const override
void evalString(UT_String &val, int pi, int vi, fpreal t) const
int NEXTMETHOD(fpreal t) const
virtual void getDescriptiveName(UT_String &str) const
GLuint const GLchar * name
Definition: glcorearb.h:786
GLdouble t
Definition: glad.h:2397
fpreal64 fpreal
Definition: SYS_Types.h:277
#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