HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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  ~OBJ_SopNet() override;
26 
27  static OP_Node *myConstructor(OP_Network *net,
28  const char *name,
29  OP_Operator *entry);
30 
31  OBJ_OBJECT_TYPE getObjectType() const override;
32 
33  static PRM_Template *getTemplateList();
34 
35  // Used to get pointer to indirection indices for each object type
36  int *getIndirect() const override
37  { return sopnetIndirect; }
38 
39  ///Absolute width
40  fpreal getW() const override;
41  ///Absolute height
42  fpreal getH() const override;
43 
44 protected:
45  int isObjectRenderable(fpreal t) const override;
46 
47 private:
48  static int *sopnetIndirect;
49 };
50 
51 #endif
fpreal getW() const override
OBJ_OBJECT_TYPE getObjectType() const override
fpreal getH() const override
static PRM_Template * getTemplateList(OBJ_ParmsStyle style)
GLuint const GLchar * name
Definition: glcorearb.h:786
static OP_Node * myConstructor(OP_Network *net, const char *name, OP_Operator *entry)
GLdouble t
Definition: glad.h:2397
virtual int isObjectRenderable(fpreal t) const
fpreal64 fpreal
Definition: SYS_Types.h:277
int * getIndirect() const override
Definition: OBJ_SopNet.h:36
#define OBJ_API
Definition: OBJ_API.h:10
OBJ_OBJECT_TYPE
Definition: OBJ_Node.h:73