HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
OBJ_SopNet.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: OBJ_SopNet.h (Custom Library, C++)
7  *
8  * COMMENTS: An object to describe a generic SOP Network. It derives
9  * from OBJ_Geometry as it contains geometry.
10  *
11  */
12 
13 #ifndef __OBJ_SopNet__
14 #define __OBJ_SopNet__
15 
16 #include "OBJ_API.h"
17 #include "OBJ_Geometry.h"
18 
20 {
21 public:
23  const char *name,
24  OP_Operator *op);
25  virtual ~OBJ_SopNet();
26 
27  static OP_Node *myConstructor(OP_Network *net,
28  const char *name,
29  OP_Operator *entry);
30 
31  virtual OBJ_OBJECT_TYPE getObjectType() const;
32 
33  static PRM_Template *getTemplateList();
34 
35  // Used to get pointer to indirection indices for each object type
36  virtual int *getIndirect() const
37  { return sopnetIndirect; }
38 
39  ///Absolute width
40  virtual fpreal getW() const;
41  ///Absolute height
42  virtual fpreal getH() const;
43 
44 protected:
45  virtual int isObjectRenderable(fpreal t) const;
46 
47 private:
48  static int *sopnetIndirect;
49 };
50 
51 #endif
static PRM_Template * getTemplateList(OBJ_ParmsStyle style)
virtual fpreal getH() const override
Node position/scale is used by the UI.
GLuint const GLchar * name
Definition: glcorearb.h:785
static OP_Node * myConstructor(OP_Network *net, const char *name, OP_Operator *entry)
double fpreal
Definition: SYS_Types.h:263
virtual int isObjectRenderable(fpreal t) const
virtual fpreal getW() const override
Node position/scale is used by the UI.
virtual int * getIndirect() const
Definition: OBJ_SopNet.h:36
virtual OBJ_OBJECT_TYPE getObjectType() const
#define OBJ_API
Definition: OBJ_API.h:10
OBJ_OBJECT_TYPE
Definition: OBJ_Node.h:70