HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_AgentShapeDeformer.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_AgentShapeDeformer_h__
10 #define __HOM_AgentShapeDeformer_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_ElemPtr.h"
14 #include "HOM_PtrOrNull.h"
15 #include "HOM_Module.h"
16 
17 class HOM_AgentRig;
20 
21 SWIGOUT(%rename(AgentShapeDeformer) HOM_AgentShapeDeformer;)
22 // Force SWIG to output an __init__ method even though it determines this
23 // class is abstract.
24 SWIGOUT(%feature("notabstract") HOM_AgentShapeDeformer;)
25 
27 {
28 public:
29 #ifdef SWIG
30 %extend
31 {
32  HOM_AgentShapeDeformer(const char *name)
33  {
34  return HOM().newAgentShapeDeformer(name);
35  }
36 
37  HOM_AgentShapeDeformer(const HOM_EnumValue &deformer_type)
38  {
39  return HOM().newAgentShapeDeformer(deformer_type);
40  }
41 }
42 #else
44  { HOM_CONSTRUCT_OBJECT(this) }
45 #endif
46 
48  { HOM_DESTRUCT_OBJECT(this) }
49 
50  virtual bool operator==(HOM_PtrOrNull<HOM_AgentShapeDeformer> deformer) const = 0;
52  { return !operator==(deformer); }
53 
54  virtual int __hash__() const = 0;
55  virtual std::string __repr__() const = 0;
56 
57  virtual std::string name() const = 0;
58 };
59 
60 #endif
61 
#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
virtual int __hash__() const =0
#define HOM_API
Definition: HOM_API.h:13
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1302
GLuint const GLchar * name
Definition: glcorearb.h:786
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
bool operator!=(HOM_PtrOrNull< HOM_AgentShapeDeformer > deformer) const
virtual HOM_AgentShapeDeformer * newAgentShapeDeformer(const char *name)=0
HOM_API HOM_Module & HOM()
bool operator==(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Equality operator, does exact floating point comparisons.
Definition: Mat3.h:542