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 std::string label() const = 0;
31  virtual void show(bool value) = 0;
32  virtual bool visible() const = 0;
33  virtual HOM_Matrix4 transform() const = 0;
34  virtual void setTransform(HOM_Matrix4 const & xform) = 0;
35  virtual void setLabel(std::string const& label) = 0;
36 
37 };
38 
39 #endif // HOM_Drawable_H
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1303
GLuint GLsizei const GLchar * label
Definition: glcorearb.h:2545
GLsizei const GLchar *const * string
Definition: glcorearb.h:814
#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:1302
GA_API const UT_StringHolder transform
virtual ~HOM_Drawable()
Definition: HOM_Drawable.h:26
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
Definition: core.h:1131