HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_GeometryDelta.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  * Geometry delta interface.
8  */
9 
10 #ifndef __HOM_GeometryDelta_h__
11 #define __HOM_GeometryDelta_h__
12 
13 #include "HOM_API.h"
14 #include "HOM_Module.h"
15 #include "HOM_Defines.h"
16 #include "HOM_Errors.h"
17 #include <string>
18 class HOM_SopNode;
19 
20 SWIGOUT(%rename(GeometryDelta) HOM_GeometryDelta;)
21 
23 {
24 public:
26  { HOM_CONSTRUCT_OBJECT(this) }
28  { HOM_CONSTRUCT_OBJECT(this) }
30  { HOM_DESTRUCT_OBJECT(this) }
31 
32  virtual std::string __repr__() = 0;
33 
34  SWIGOUT(%ignore opaqueSetPointPositionsFromString);
35  virtual void opaqueSetPointPositionsFromString(
36  const char *values, int64 length, HOM_EnumValue &float_type) = 0;
37 
38 #ifdef SWIG
39 %extend
40 {
41  %kwargs setPointFloatAttribValuesFromString;
42  void setPointPositionsFromString(
43  InterpreterObject values,
44  HOM_EnumValue &float_type = HOM_numericData::Float32)
45  {
46  HOM_PyBuffer buffer(values);
47  self->opaqueSetPointPositionsFromString(
48  (const char *)buffer.myData, buffer.myLength, float_type);
49  }
50 }
51 #endif
52 
53 };
54 
55 #endif
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1130
OIIO_API bool rename(string_view from, string_view to, std::string &err)
virtual ~HOM_GeometryDelta()
GLint GLsizei const GLuint64 * values
Definition: glew.h:3612
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
string __repr__(VtArray< T > const &self)
Definition: wrapArray.h:349
long long int64
Definition: SYS_Types.h:111
HOM_GeometryDelta(const HOM_GeometryDelta &)
#define HOM_API
Definition: HOM_API.h:13
GLuint buffer
Definition: glew.h:1680
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1129
GLuint GLsizei GLsizei * length
Definition: glew.h:1825
GLsizei const GLchar *const * string
Definition: glew.h:1844