HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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 class HOM_Geometry;
18 
19 SWIGOUT(%rename(DopObject) HOM_DopObject;)
20 
21 class HOM_API HOM_DopObject : virtual public HOM_DopData
22 {
23 public:
25  { HOM_CONSTRUCT_OBJECT(this) }
26  HOM_DopObject(const HOM_DopObject &dopobject)
27  : HOM_DopData(dopobject)
28  { HOM_CONSTRUCT_OBJECT(this) }
29  virtual ~HOM_DopObject()
30  { HOM_DESTRUCT_OBJECT(this) }
31 
32  virtual std::string __repr__() = 0;
33 
34  virtual std::string name() = 0;
35  virtual int objid() = 0;
36 
37  virtual bool matches(const char *pattern) = 0;
38 
39  SWIGOUT(%newobject transform;)
40  SWIGOUT(%kwargs transform;)
41  virtual HOM_Matrix4 *transform(bool include_geometry_transform=true) = 0;
42 
43  SWIGOUT(%newobject geometry;)
44  SWIGOUT(%kwargs geometry;)
45  virtual HOM_Geometry *geometry(const char *data_name=NULL) = 0;
46 
47  SWIGOUT(%newobject editableGeometry;)
48  SWIGOUT(%kwargs editableGeometry;)
49  virtual HOM_EditableDopGeometryGuard *editableGeometry(
50  const char *data_name=NULL) = 0;
51 };
52 
53 #endif
54 
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:973
GLsizei const GLchar *const * string
Definition: glcorearb.h:813
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
HOM_DopObject(const HOM_DopObject &dopobject)
Definition: HOM_DopObject.h:26
#define HOM_API
Definition: HOM_API.h:13
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:972
GLuint const GLchar * name
Definition: glcorearb.h:785
GA_API const UT_StringHolder transform
virtual ~HOM_DopObject()
Definition: HOM_DopObject.h:29
virtual std::string __repr__()=0