HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_SopVerb.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  * COMMENTS:
7  */
8 
9 #ifndef __HOM_SopVerb_h__
10 #define __HOM_SopVerb_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_Defines.h"
14 #include "HOM_Errors.h"
15 class HOM_Geometry;
16 class HOM_SopNode;
17 
18 SWIGOUT(%rename(SopVerb) HOM_SopVerb;)
19 
21 {
22 public:
24  { HOM_CONSTRUCT_OBJECT(this) }
25  HOM_SopVerb(const HOM_SopVerb &sop_verb)
26  { HOM_CONSTRUCT_OBJECT(this) }
27  virtual ~HOM_SopVerb()
28  { HOM_DESTRUCT_OBJECT(this) }
29 
30  virtual std::string __repr__() = 0;
31 
32  virtual void execute(HOM_Geometry &dest, const std::vector<HOM_Geometry *> &inputs) = 0;
33  virtual void executeAtTime(HOM_Geometry &dest, const std::vector<HOM_Geometry *> &inputs, double time, bool add_time_dep) = 0;
34 
35  virtual void loadParmsFromNode(HOM_SopNode &sopnode) = 0;
36  virtual void loadParmsFromNodeAtTime(HOM_SopNode &sopnode,double time) = 0;
37 
38  virtual std::map<std::string, hboost::any> parms() = 0;
39  virtual void setParms(const std::map<std::string, hboost::any> &p) = 0;
40 
41  virtual int minNumInputs() = 0;
42 };
43 
44 #endif
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1130
GT_API const UT_StringHolder time
OIIO_API bool rename(string_view from, string_view to, std::string &err)
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
string __repr__(VtArray< T > const &self)
Definition: wrapArray.h:349
#define HOM_API
Definition: HOM_API.h:13
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1129
HOM_SopVerb(const HOM_SopVerb &sop_verb)
Definition: HOM_SopVerb.h:25
GLfloat GLfloat p
Definition: glew.h:16321
GLsizei const GLchar *const * string
Definition: glew.h:1844
virtual std::vector< HOM_ElemPtr< HOM_Parm > > parms()=0
virtual ~HOM_SopVerb()
Definition: HOM_SopVerb.h:27
virtual std::vector< HOM_ElemPtr< HOM_Node > > inputs()=0