HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_Drawable.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_Drawable_H
10 #define HOM_Drawable_H
11 
12 #include "HOM_API.h"
13 #include "HOM_Module.h"
14 #include "HOM_EnumValue.h"
15 #include "HOM_Defines.h"
16 
17 SWIGOUT(%rename(Drawable) HOM_Drawable;)
18 
19 class HOM_Matrix4;
20 
22 {
23 public:
25  { HOM_CONSTRUCT_OBJECT(this) }
26  virtual ~HOM_Drawable()
27  { HOM_DESTRUCT_OBJECT(this) }
28 
29  virtual std::string name() const = 0;
30  virtual void show(bool value) = 0;
31  virtual bool visible() const = 0;
32  virtual HOM_Matrix4 transform() const = 0;
33  virtual void setTransform(HOM_Matrix4 const & xform) = 0;
34 };
35 
36 #endif // HOM_Drawable_H
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1133
GLuint const GLchar * name
Definition: glew.h:1814
GLuint GLenum GLenum transform
Definition: glew.h:14742
OIIO_API bool rename(string_view from, string_view to, std::string &err)
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
#define HOM_API
Definition: HOM_API.h:13
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1132
GLsizei const GLchar *const * string
Definition: glew.h:1844
virtual ~HOM_Drawable()
Definition: HOM_Drawable.h:26
GLsizei const GLfloat * value
Definition: glew.h:1849