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:1291
GLsizei const GLchar *const * string
Definition: glcorearb.h:814
virtual ~HOM_GeometryDelta()
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
GLuint GLsizei GLsizei * length
Definition: glcorearb.h:795
string __repr__(VtArray< T > const &self)
Definition: wrapArray.h:352
GLuint buffer
Definition: glcorearb.h:660
HOM_GeometryDelta(const HOM_GeometryDelta &)
Definition: core.h:760
#define HOM_API
Definition: HOM_API.h:13
void ignore(T const &) VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:6508
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1290
long long int64
Definition: SYS_Types.h:116
GLenum GLsizei GLsizei GLint * values
Definition: glcorearb.h:1602
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)