HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_AdvancedDrawable.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_AdvancedDrawable_H
10 #define HOM_AdvancedDrawable_H
11 
12 #include "HOM_API.h"
13 #include "HOM_Drawable.h"
14 
15 SWIGOUT(%rename(AdvancedDrawable) HOM_AdvancedDrawable;)
16 
18 {
19 public:
20  typedef int64 DrawH;
21  typedef std::map<std::string, hboost::any> Params;
22 
24  { HOM_CONSTRUCT_OBJECT(this) }
26  { HOM_DESTRUCT_OBJECT(this) }
27 
28  virtual void setParams(Params const & params) = 0;
29 
30  SWIGOUT(%kwargs draw;)
31  virtual void draw( DrawH handle, Params const & params = Params()) = 0;
32 };
33 
34 #endif // HOM_AdvancedDrawable_H
35 
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1303
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
GLenum const GLfloat * params
Definition: glcorearb.h:105
#define HOM_API
Definition: HOM_API.h:13
std::map< std::string, hboost::any > Params
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1302
long long int64
Definition: SYS_Types.h:116
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)