HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_ViewerHandleDragger.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_ViewerHandleDragger_h
10 #define HOM_ViewerHandleDragger_h
11 
12 #include "HOM_API.h"
13 #include "HOM_Module.h"
14 #include "HOM_ElemPtr.h"
15 #include "HOM_ViewerDragger.h"
16 #include <UT/UT_Tuple.h>
17 
18 class HOM_Matrix4;
19 
20 SWIGOUT(%feature("notabstract") HOM_ViewerHandleDragger;)
21 SWIGOUT(%rename(ViewerHandleDragger) HOM_ViewerHandleDragger;)
22 
24 {
25 public:
26 
27 #ifdef SWIG
28 %extend
29 {
31  HOM_ViewerHandleDragger(std::string const & name)
32  {
33  return HOM().newViewerHandleDragger(name);
34  }
35 }
36 #else
38  { HOM_CONSTRUCT_OBJECT(this) }
39 #endif
40 
42  { HOM_DESTRUCT_OBJECT(this) }
43 
44  virtual std::string __repr__() = 0;
45 };
46 
47 #endif // HOM_ViewerHandleDragger_h
48 
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1238
OIIO_API bool rename(string_view from, string_view to, std::string &err)
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
string __repr__(VtArray< T > const &self)
Definition: wrapArray.h:353
GLuint const GLchar * name
Definition: glcorearb.h:785
#define HOM_API
Definition: HOM_API.h:13
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1237
GLsizei const GLchar *const * string
Definition: glcorearb.h:813
HOM_API HOM_Module & HOM()
virtual HOM_ViewerHandleDragger * newViewerHandleDragger(std::string const &name)=0