HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_ViewerHandleContext.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_ViewerHandleContext_h
10 #define HOM_ViewerHandleContext_h
11 
12 #include "HOM_API.h"
13 #include "HOM_Module.h"
14 #include "HOM_ElemPtr.h"
15 #include "HOM_Vector3.h"
16 #include "HOM_GadgetContext.h"
17 #include <UT/UT_NonCopyable.h>
18 
19 SWIGOUT(%rename(ViewerHandleContext) HOM_ViewerHandleContext;)
20 SWIGOUT(%feature("notabstract") HOM_ViewerHandleContext;)
21 
23 {
24 public:
25 #ifdef SWIG
26 %extend
27 {
29  {
30  return HOM().newViewerHandleContext(val);
31  }
32 }
33 #else
35  {
37  }
38 #endif
39 
41  {
42  HOM_DESTRUCT_OBJECT(this)
43  }
44 
45  // SWIG has problems with parsing deleted operator=()
46 #ifndef SWIG
48 #endif
49 
50  virtual std::string __repr__() = 0;
51 
52  virtual bool isParameterEnabled(std::string const & parm_name) const = 0;
53  virtual double scaleFactor(const HOM_Vector3 & ref_pos=HOM_Vector3()) = 0;
54  virtual double scaleValue() const = 0;
55 
56  virtual HOM_Matrix4 objectWorldTransform() const = 0;
57  virtual HOM_Matrix4 objectLocalTransform() const = 0;
58 };
59 
60 #endif
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1291
virtual HOM_ViewerHandleContext * newViewerHandleContext(int64 val)=0
GLsizei const GLchar *const * string
Definition: glcorearb.h:814
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
string __repr__(VtArray< T > const &self)
Definition: wrapArray.h:352
#define HOM_API
Definition: HOM_API.h:13
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1290
#define UT_NON_COPYABLE(CLASS)
Define deleted copy constructor and assignment operator inside a class.
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()