HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_NetworkAnimValue.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_NetworkAnimValue_h__
10 #define __HOM_NetworkAnimValue_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_Defines.h"
14 #include "HOM_Errors.h"
15 #include "HOM_Vector2.h"
16 #include "HOM_Vector3.h"
17 #include "HOM_Vector4.h"
18 #include "HOM_Module.h"
19 #include "HOM_PtrOrNull.h"
20 #include <UT/UT_StringHolder.h>
21 #include <UT/UT_Vector4.h>
22 #include <string>
23 
24 SWIGOUT(%rename(NetworkAnimValue) HOM_NetworkAnimValue;)
25 
27 {
28 public:
30  : myLength(0),
31  myDuration(0.0),
32  myValue1(0.0, 0.0, 0.0, 0.0),
33  myValue2(0.0, 0.0, 0.0, 0.0)
34  { HOM_CONSTRUCT_OBJECT(this) }
36  : myLength(1),
37  myDuration(0.0),
38  myValue1(v, 0.0, 0.0, 0.0),
39  myValue2(v, 0.0, 0.0, 0.0)
40  { HOM_CONSTRUCT_OBJECT(this) }
42  : myLength(2),
43  myDuration(0.0),
44  myValue1(v.x(), v.y(), 0.0, 0.0),
45  myValue2(v.x(), v.y(), 0.0, 0.0)
46  { HOM_CONSTRUCT_OBJECT(this) }
48  : myLength(3),
49  myDuration(0.0),
50  myValue1(v.x(), v.y(), v.z(), 0.0),
51  myValue2(v.x(), v.y(), v.z(), 0.0)
52  { HOM_CONSTRUCT_OBJECT(this) }
54  : myLength(4),
55  myDuration(0.0),
56  myValue1(v.x(), v.y(), v.z(), v.w()),
57  myValue2(v.x(), v.y(), v.z(), v.w())
58  { HOM_CONSTRUCT_OBJECT(this) }
59  HOM_NetworkAnimValue(double duration, double v1, double v2)
60  : myLength(1),
61  myDuration(duration),
62  myValue1(v1, 0.0, 0.0, 0.0),
63  myValue2(v2, 0.0, 0.0, 0.0)
64  { HOM_CONSTRUCT_OBJECT(this) }
66  : myLength(2),
67  myDuration(duration),
68  myValue1(v1.x(), v1.y(), 0.0, 0.0),
69  myValue2(v2.x(), v2.y(), 0.0, 0.0)
70  { HOM_CONSTRUCT_OBJECT(this) }
72  : myLength(3),
73  myDuration(duration),
74  myValue1(v1.x(), v1.y(), v1.z(), 0.0),
75  myValue2(v2.x(), v2.y(), v2.z(), 0.0)
76  { HOM_CONSTRUCT_OBJECT(this) }
78  : myLength(4),
79  myDuration(duration),
80  myValue1(v1.x(), v1.y(), v1.z(), v1.w()),
81  myValue2(v2.x(), v2.y(), v2.z(), v2.w())
82  { HOM_CONSTRUCT_OBJECT(this) }
84  : myLength(v.myLength),
85  myDuration(v.myDuration),
86  myValue1(v.myValue1),
87  myValue2(v.myValue2)
88  { HOM_CONSTRUCT_OBJECT(this) }
90  { HOM_DESTRUCT_OBJECT(this) }
91 
95 
96  SWIGOUT(%ignore myLength;)
97  int myLength;
98  SWIGOUT(%ignore myDuration;)
99  fpreal myDuration;
100  SWIGOUT(%ignore myValue1;)
101  UT_Vector4D myValue1;
102  SWIGOUT(%ignore myValue2;)
103  UT_Vector4D myValue2;
104 };
105 
106 #endif
HOM_NetworkAnimValue(HOM_Vector4 &v)
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1303
HOM_NetworkAnimValue(double duration, HOM_Vector4 &v1, HOM_Vector4 &v2)
const GLdouble * v
Definition: glcorearb.h:837
GLsizei const GLchar *const * string
Definition: glcorearb.h:814
GLdouble GLdouble GLdouble z
Definition: glcorearb.h:848
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
string __repr__(VtArray< T > const &self)
Definition: wrapArray.h:349
GLint y
Definition: glcorearb.h:103
GLfloat GLfloat GLfloat v2
Definition: glcorearb.h:818
HOM_NetworkAnimValue(double duration, HOM_Vector2 &v1, HOM_Vector2 &v2)
HOM_NetworkAnimValue(const HOM_NetworkAnimValue &v)
#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:1302
bool operator!=(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Inequality operator, does exact floating point comparisons.
Definition: Mat3.h:556
GLint GLenum GLint x
Definition: glcorearb.h:409
HOM_NetworkAnimValue(HOM_Vector2 &v)
HOM_NetworkAnimValue(double duration, HOM_Vector3 &v1, HOM_Vector3 &v2)
HOM_NetworkAnimValue(HOM_Vector3 &v)
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
fpreal64 fpreal
Definition: SYS_Types.h:277
GLfloat GLfloat v1
Definition: glcorearb.h:817
GLubyte GLubyte GLubyte GLubyte w
Definition: glcorearb.h:857
HOM_NetworkAnimValue(double duration, double v1, double v2)
bool operator==(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Equality operator, does exact floating point comparisons.
Definition: Mat3.h:542