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 
18 SWIGOUT(%rename(ViewerHandleContext) HOM_ViewerHandleContext;)
19 SWIGOUT(%feature("notabstract") HOM_ViewerHandleContext;)
20 
22 {
23 public:
24 #ifdef SWIG
25 %extend
26 {
28  {
29  return HOM().newViewerHandleContext(val);
30  }
31 }
32 #else
34  {
36  }
37 #endif
38 
40  {
41  HOM_DESTRUCT_OBJECT(this)
42  }
43 
44  virtual std::string __repr__() = 0;
45 
46  virtual bool isParameterEnabled(std::string const & parm_name) const = 0;
47  virtual double scaleFactor(const HOM_Vector3 & ref_pos=HOM_Vector3()) = 0;
48  virtual HOM_Matrix4 objectWorldTransform() const = 0;
49  virtual HOM_Matrix4 objectLocalTransform() const = 0;
50 };
51 
52 #endif
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1210
virtual HOM_ViewerHandleContext * newViewerHandleContext(int64 val)=0
GLuint const GLfloat * val
Definition: glew.h:2794
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:349
#define HOM_API
Definition: HOM_API.h:13
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1209
long long int64
Definition: SYS_Types.h:116
GLsizei const GLchar *const * string
Definition: glew.h:1844
HOM_API HOM_Module & HOM()