HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_CompositorViewerEvent.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_CompositorViewerEvent_h
10 #define HOM_CompositorViewerEvent_h
11 
12 #include "HOM_API.h"
13 #include "HOM_ElemPtr.h"
14 #include "HOM_UIEvent.h"
15 #include <UT/UT_Tuple.h>
16 class HOM_Vector2;
17 class HOM_Viewport2D;
18 
19 SWIGOUT(%feature("notabstract") HOM_CompositorViewerEvent;)
20 SWIGOUT(%rename(CompositorViewerEvent) HOM_CompositorViewerEvent;)
21 
23 {
24 public:
25 #ifdef SWIG
26 %extend
27 {
29  {
30  return HOM().newCompositorViewerEvent(viewer, val, val2);
31  }
32 }
33 #else
35  { HOM_CONSTRUCT_OBJECT(this) }
36 #endif
37 
39  { HOM_DESTRUCT_OBJECT(this) }
40 
41  SWIGOUT(virtual std::string __repr__() = 0;)
42 
43  SWIGOUT(%newobject curViewport;)
44  virtual HOM_Viewport2D *curViewport() = 0;
45 
46  SWIGOUT(%kwargs mousePos;)
47  virtual HOM_Vector2* mousePos(bool relative_to_viewport=false) = 0;
48 };
49 
50 #endif // HOM_CompositorViewerEvent_h
51 
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1348
virtual HOM_CompositorViewerEvent * newCompositorViewerEvent(HOM_CompositorViewer &viewer, int64 val, int64 val2)=0
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
string __repr__(VtArray< T > const &self)
Definition: wrapArray.h:312
#define HOM_API
Definition: HOM_API.h:13
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1347
long long int64
Definition: SYS_Types.h:116
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
GLuint GLfloat * val
Definition: glcorearb.h:1608
HOM_API HOM_Module & HOM()