HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_PackedGeometry.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_PackedGeometry_h__
10 #define __HOM_PackedGeometry_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_PackedPrim.h"
14 #include "HOM_Geometry.h"
15 
16 SWIGOUT(%rename(PackedGeometry) HOM_PackedGeometry;)
17 
19 {
20 public:
22  { HOM_CONSTRUCT_OBJECT(this) }
23 
25  : HOM_Prim(prim), HOM_PackedPrim(prim)
26  { HOM_CONSTRUCT_OBJECT(this) }
27 
29  { HOM_DESTRUCT_OBJECT(this) }
30 
31  // Let swig know we're overriding __repr__ for this class so it doesn't
32  // provide its own __repr__.
33  SWIGOUT(virtual std::string __repr__() = 0;)
34 
35  SWIGOUT(%newobject getEmbeddedGeometry;)
36  virtual HOM_Geometry * getEmbeddedGeometry() = 0;
37 
38  virtual void setEmbeddedGeometry(HOM_Geometry &geometry) = 0;
39 };
40 
41 #endif
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1303
GLsizei const GLchar *const * string
Definition: glcorearb.h:814
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
string __repr__(VtArray< T > const &self)
Definition: wrapArray.h:349
~HOM_PackedGeometry() override
#define HOM_API
Definition: HOM_API.h:13
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1302
HOM_PackedGeometry(const HOM_PackedGeometry &prim)
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)