HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_ChannelEditorPane.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_ChannelEditorPane_h__
10 #define __HOM_ChannelEditorPane_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_BaseKeyframe.h"
14 #include "HOM_ChannelList.h"
15 #include "HOM_ElemPtr.h"
16 #include "HOM_PaneTab.h"
17 
18 #include <vector>
19 
20 
21 class HOM_ChannelGraph;
22 class HOM_AnimBar;
23 
24 
25 SWIGOUT(%rename(ChannelEditorPane) HOM_ChannelEditorPane;)
26 
28 {
29 public:
31  { HOM_CONSTRUCT_OBJECT(this) }
32  // Because the lowermost base classes initialize the virtual bases
33  // before any non-virtual bases, the correct thing to do here is
34  // explicitly call the constructor for HOM_PaneTab.
36  : HOM_PaneTab(pane)
37  { HOM_CONSTRUCT_OBJECT(this) }
38 
40  { HOM_DESTRUCT_OBJECT(this) }
41 
42  // Let swig know we're overriding __repr__ for this class so it doesn't
43  // provide its own __repr__.
44  SWIGOUT(virtual std::string __repr__() = 0;)
45 
46  SWIGOUT(%newobject graph;)
47  virtual HOM_ChannelGraph *graph() = 0;
48 
49  virtual double channelListSplitFraction() = 0;
50  virtual void setChannelListSplitFraction(double split_fraction) = 0;
51 
52  virtual std::string displayFilter() = 0;
53  virtual void setDisplayFilter(const std::string &filter) = 0;
54 
55  virtual HOM_EnumValue &editorMode() = 0;
56  virtual void setEditorMode(HOM_EnumValue &mode) = 0;
57 
58  virtual std::string templateFilter() = 0;
59  virtual void setTemplateFilter(const std::string &filter) = 0;
60 
61  virtual std::string colorsCallback() = 0;
62  virtual bool setColorsCallback(const std::string &cb) = 0;
63 
64  SWIGOUT(%ignore registerColorsOpaqueCallback;)
65  virtual bool registerColorsOpaqueCallback(const std::string &cb_class, void* ptr ) = 0;
66  virtual bool unregisterColorsCallback(const std::string &cb_class ) = 0;
67  virtual std::vector< std::string > colorsCallbacks() = 0;
68 
69 #ifdef SWIG
70 %extend
71 {
72  virtual bool registerColorsCallback(const std::string &cb_class, InterpreterObject callback)
73  { return self->registerColorsOpaqueCallback(cb_class, callback); }
74 }
75 #endif
76 
77  virtual HOM_ChannelList *channelList() = 0;
78  virtual void setChannelList( HOM_ChannelList *l ) = 0;
79 
80  virtual bool channelListPinned() = 0;
81  virtual void setChannelListPinned(bool pinned) = 0;
82 
83  virtual bool isAnimBarShown() = 0;
84  virtual void showAnimBar(bool show) = 0;
85  virtual HOM_AnimBar *animBar() = 0;
86 };
87 
88 #endif // __HOM_ChannelEditorPane_h__
#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
#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
GLenum mode
Definition: glcorearb.h:99
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
HOM_ChannelEditorPane(const HOM_ChannelEditorPane &pane)
auto ptr(T p) -> const void *
Definition: format.h:2448
GLint GLint GLint GLint GLint GLint GLint GLbitfield GLenum filter
Definition: glcorearb.h:1297