00001 /* 00002 * PROPRIETARY INFORMATION. This software is proprietary to 00003 * Side Effects Software Inc., and is not to be reproduced, 00004 * transmitted, or disclosed in any way without written permission. 00005 * 00006 * Produced by: 00007 * Jeff Lait 00008 * Side Effects Software Inc 00009 * 477 Richmond Street West 00010 * Toronto, Ontario 00011 * Canada M5V 3E7 00012 * 416-504-9876 00013 * 00014 * NAME: OBJ_SopNet.h (Custom Library, C++) 00015 * 00016 * COMMENTS: An object to describe a generic SOP Network. It derives 00017 * from OBJ_Geometry as it contains geometry. 00018 * 00019 */ 00020 00021 #ifndef __OBJ_SopNet__ 00022 #define __OBJ_SopNet__ 00023 00024 #include "OBJ_API.h" 00025 #include "OBJ_Geometry.h" 00026 00027 class OBJ_API OBJ_SopNet : public OBJ_Geometry 00028 { 00029 public: 00030 OBJ_SopNet(OP_Network *net, 00031 const char *name, 00032 OP_Operator *op); 00033 virtual ~OBJ_SopNet(); 00034 00035 static OP_Node *myConstructor(OP_Network *net, 00036 const char *name, 00037 OP_Operator *entry); 00038 00039 virtual OBJ_OBJECT_TYPE getObjectType() const; 00040 00041 virtual unsigned disableParms(); 00042 00043 static PRM_Template *getTemplateList(); 00044 00045 // Used to get pointer to indirection indices for each object type 00046 virtual int *getIndirect() const 00047 { return sopnetIndirect; } 00048 00049 ///Absolute width 00050 virtual fpreal getW() const; 00051 ///Absolute height 00052 virtual fpreal getH() const; 00053 00054 protected: 00055 virtual int isObjectRenderable() const; 00056 00057 private: 00058 static int *sopnetIndirect; 00059 }; 00060 00061 #endif
1.5.9