HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_AgentShape.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_AgentShape_h__
10 #define __HOM_AgentShape_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_Module.h"
14 #include "HOM_PtrOrNull.h"
15 
16 SWIGOUT(%rename(AgentShape) HOM_AgentShape;)
17 
19 {
20 public:
22  { HOM_CONSTRUCT_OBJECT(this) }
23 
24  virtual ~HOM_AgentShape()
25  { HOM_DESTRUCT_OBJECT(this) }
26 
27  virtual bool operator==(HOM_PtrOrNull<HOM_AgentShape> lib) const = 0;
29  { return !operator==(lib); }
30 
31  virtual int __hash__() const = 0;
32  virtual std::string __repr__() const = 0;
33 
34  virtual std::string name() const = 0;
35  virtual int uniqueId() const = 0;
36 
37  SWIGOUT(%newobject geometry;)
38  virtual HOM_Geometry *geometry() const = 0;
39 
40  SWIGOUT(%newobject freeze;)
41  virtual HOM_AgentShape *freeze() const = 0;
42 
43  virtual void setGeometry(HOM_Geometry &geometry) = 0;
44 };
45 
46 #endif
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1291
virtual ~HOM_AgentShape()
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
virtual int __hash__() const =0
virtual HOM_AgentShapeLibrary * freeze(bool keep_external_ref=false) const =0
#define HOM_API
Definition: HOM_API.h:13
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1290
bool operator!=(HOM_PtrOrNull< HOM_AgentShape > lib) const
GLuint const GLchar * name
Definition: glcorearb.h:786
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
bool operator==(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Equality operator, does exact floating point comparisons.
Definition: Mat3.h:542