HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_PackedFragment.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_PackedFragment_h__
10 #define __HOM_PackedFragment_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_PackedPrim.h"
14 #include "HOM_Geometry.h"
15 
16 SWIGOUT(%rename(PackedFragment) HOM_PackedFragment;)
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  virtual void setEmbeddedGeometry(HOM_Geometry &geometry,
36  const char *attrib, const char *name) = 0;
37 };
38 
39 #endif
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1291
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:352
#define HOM_API
Definition: HOM_API.h:13
HOM_PackedFragment(const HOM_PackedFragment &prim)
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1290
GLuint const GLchar * name
Definition: glcorearb.h:786
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
~HOM_PackedFragment() override