HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SHOP_VariableInput.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: SHOP_VariableInput.h ( SHOP Library, C++)
7  *
8  * COMMENTS: A node which takes variable numbers of inputs
9  */
10 
11 #ifndef __SHOP_VariableInput__
12 #define __SHOP_VariableInput__
13 
14 #include "SHOP_API.h"
15 #include "SHOP_Node.h"
16 
18 public:
19  SHOP_VariableInput(OP_Network *dad, const char *name,
20  OP_Operator *entry, SHOP_TYPE shader_type=SHOP_SURFACE)
21  : SHOP_Node(dad, name, entry, shader_type)
22  {
23  }
24  virtual ~SHOP_VariableInput();
25 
26  virtual unsigned getNumVisibleInputs() const;
27  virtual void opChanged(OP_EventType reason, void *data=0);
28  virtual void ensureParametersAreValid();
29 
30 protected:
31  virtual void preOpChanged(OP_EventType, void *)
32  { }
33 
37 };
38 
39 #endif
40 
static int theLatestOpChangedId
virtual unsigned getNumVisibleInputs() const
virtual void preOpChanged(OP_EventType, void *)
virtual void opChanged(OP_EventType reason, void *data=0)
#define SHOP_API
Definition: SHOP_API.h:10
SHOP_TYPE
SHOP_VariableInput(OP_Network *dad, const char *name, OP_Operator *entry, SHOP_TYPE shader_type=SHOP_SURFACE)
GLboolean * data
Definition: glcorearb.h:130
GLuint const GLchar * name
Definition: glcorearb.h:785
static SHOP_Node * theOriginalOpChanged
OP_EventType
Definition: OP_Value.h:22