HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
VOP_Operator.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: VOP_Operator.h ( VOP Library, C++)
7  *
8  * COMMENTS: Special class which has additional knowledge about the operator
9  * being described.
10  */
11 
12 #ifndef __VOP_Operator__
13 #define __VOP_Operator__
14 
15 #include "VOP_API.h"
16 #include <OP/OP_Operator.h>
17 #include "VOP_OperatorInfo.h"
18 
20 public:
21  VOP_Operator(const char *name,
22  const char *english,
23  OP_Constructor construct,
24  PRM_Template *templates,
25  const char *child_table_name,
26  unsigned min_sources,
27  unsigned max_sources,
28  const char *vopnetMask,
29  CH_LocalVariable *variables = 0,
30  unsigned flags = 0,
31  unsigned num_outputs = 1);
32 
33  virtual ~VOP_Operator();
34 
36  { return &myOperatorInfo; }
37  virtual const OP_SpecificData *getOpSpecificData() const
38  { return &myOperatorInfo; }
39 
40  virtual unsigned maxOutputs();
41 
42  virtual bool wantsInputEditor() const;
43  virtual bool wantsParmOrderEditor() const;
44  virtual bool wantsOutputNameEditor() const;
45  virtual bool wantsParentInputs() const;
46 
47 private:
48  VOP_OperatorInfo myOperatorInfo;
49  unsigned myNumOutputs;
50 };
51 
52 #endif
virtual OP_SpecificData * getOpSpecificData()
Definition: VOP_Operator.h:35
virtual bool wantsParentInputs() const
virtual bool wantsParmOrderEditor() const
GLbitfield flags
Definition: glcorearb.h:1595
#define VOP_API
Definition: VOP_API.h:10
GLuint const GLchar * name
Definition: glcorearb.h:785
OP_Node *(* OP_Constructor)(OP_Network *, const char *, OP_Operator *)
Definition: OP_Operator.h:88
virtual unsigned maxOutputs()
Definition: OP_Operator.h:368
virtual bool wantsInputEditor() const
virtual const OP_SpecificData * getOpSpecificData() const
Definition: VOP_Operator.h:37
virtual bool wantsOutputNameEditor() const