HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_DopObject.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_DopObject_h__
10 #define __HOM_DopObject_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_DopData.h"
14 
15 class HOM_Matrix4;
16 
17 SWIGOUT(%rename(DopObject) HOM_DopObject;)
18 
19 class HOM_API HOM_DopObject : virtual public HOM_DopData
20 {
21 public:
23  { HOM_CONSTRUCT_OBJECT(this) }
24  HOM_DopObject(const HOM_DopObject &dopobject)
25  : HOM_DopData(dopobject)
26  { HOM_CONSTRUCT_OBJECT(this) }
27  ~HOM_DopObject() override
28  { HOM_DESTRUCT_OBJECT(this) }
29 
30  std::string __repr__() override = 0;
31 
32  virtual std::string name() = 0;
33  virtual int objid() = 0;
34 
35  virtual bool matches(const char *pattern) = 0;
36 
37  SWIGOUT(%newobject transform;)
38  SWIGOUT(%kwargs transform;)
39  virtual HOM_Matrix4 *transform(bool include_geometry_transform=true) = 0;
40 };
41 
42 #endif
43 
#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
HOM_DopObject(const HOM_DopObject &dopobject)
Definition: HOM_DopObject.h:24
string __repr__(VtArray< T > const &self)
Definition: wrapArray.h:352
#define HOM_API
Definition: HOM_API.h:13
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1290
~HOM_DopObject() override
Definition: HOM_DopObject.h:27
GLuint const GLchar * name
Definition: glcorearb.h:786
GLushort pattern
Definition: glad.h:2583
GA_API const UT_StringHolder transform
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)