HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_PaneTab.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_PaneTab_h__
10 #define __HOM_PaneTab_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_Defines.h"
14 #include "HOM_EnumValue.h"
15 #include "HOM_Errors.h"
16 #include "HOM_Tool.h"
17 #include "HOM_Module.h"
18 #include "HOM_PtrOrNull.h"
19 
20 #include <string>
21 #include <vector>
22 
23 class HOM_FloatingPanel;
24 class HOM_Pane;
25 class HOM_RadialItem;
26 
27 
28 SWIGOUT(%rename(PaneTab) HOM_PaneTab;)
29 
31 {
32 public:
34  { HOM_CONSTRUCT_OBJECT(this) }
36  { HOM_CONSTRUCT_OBJECT(this) }
37  virtual ~HOM_PaneTab()
38  { HOM_DESTRUCT_OBJECT(this) }
39 
40  virtual bool operator==(HOM_PtrOrNull<HOM_PaneTab> pane_tab) = 0;
41  virtual bool operator!=(HOM_PtrOrNull<HOM_PaneTab> pane_tab) = 0;
42 
43  virtual int __hash__() = 0;
44  virtual std::string __repr__() = 0;
45 
46  SWIGOUT(%newobject pane;)
47  virtual HOM_Pane *pane() = 0;
48 
49  SWIGOUT(%newobject floatingPanel;)
50  virtual HOM_FloatingPanel *floatingPanel() = 0;
51 
52  virtual std::string name() = 0;
53  virtual void setName(const char *name) = 0;
54 
55  virtual bool isCurrentTab() = 0;
56  virtual void setIsCurrentTab() = 0;
57 
58  virtual bool isFloating() = 0;
59 
60  SWIGOUT(%newobject clone;)
61  virtual HOM_PaneTab *clone() = 0;
62 
63  virtual void close() = 0;
64 
65  SWIGOUT(%warnfilter(321) type;)
66  virtual HOM_EnumValue &type() = 0;
67  SWIGOUT(%newobject setType;)
68  virtual HOM_PaneTab *setType(HOM_EnumValue &type) = 0;
69 
70  virtual HOM_EnumValue &linkGroup() = 0;
71  virtual void setLinkGroup(HOM_EnumValue &group) = 0;
72  virtual bool isPin() = 0;
73  virtual void setPin(bool pin) = 0;
74 
75  virtual std::vector<HOM_ElemPtr<HOM_Tool>> tools() = 0;
76 
77  virtual std::vector<std::string> _getValueNames() = 0;
78  virtual std::string _getValue(const char *name) = 0;
79  virtual bool _setValue(const char *name, const char* value) = 0;
80  virtual bool _pressButton(const char *name) = 0;
81 
82  virtual std::vector<int> size() = 0;
83  virtual std::vector<int> contentSize() = 0;
84 
85  virtual bool hasNetworkControls() = 0;
86  virtual bool isShowingNetworkControls() = 0;
87  virtual void setShowNetworkControls(bool value) = 0;
88  virtual void showNetworkControls(bool value) = 0;
89 
90  SWIGOUT(%ignore _displayRadialMenuOpaque;)
91  virtual void _displayRadialMenuOpaque(const char *name,
92  void *open_callback,
93  void *close_callback) = 0;
94 
95  virtual void displayRadialMenu(const std::string &name) = 0;
96  virtual void displayRadialMenu(HOM_RadialItem *item) = 0;
97 
98  virtual void *_qtParentWindow() = 0;
99  virtual std::vector<int> _qtScreenGeometry() = 0;
100 
101 #ifdef SWIG
102 %extend
103 {
104  void _displayRadialMenu(const char *name,
105  InterpreterObject open_callback,
106  InterpreterObject close_callback)
107  {
108  self->_displayRadialMenuOpaque(name, open_callback, close_callback);
109  }
110 }
111 #endif
112 
113 };
114 
115 #endif
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1303
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:349
void close() override
HOM_PaneTab(const HOM_PaneTab &)
Definition: HOM_PaneTab.h:35
#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
GLuint const GLchar * name
Definition: glcorearb.h:786
GLsizeiptr size
Definition: glcorearb.h:664
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
Definition: core.h:1131
virtual ~HOM_PaneTab()
Definition: HOM_PaneTab.h:37
type
Definition: core.h:1059
bool operator==(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Equality operator, does exact floating point comparisons.
Definition: Mat3.h:542