HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_SceneGraphTree.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_SceneGraphTree_h__
10 #define __HOM_SceneGraphTree_h__
11 
12 #include "HOM_PathBasedPaneTab.h"
13 #include "HOM_EnumModules.h"
14 
15 SWIGOUT(%rename(SceneGraphTree) HOM_SceneGraphTree;)
16 
18 {
19 public:
21  { HOM_CONSTRUCT_OBJECT(this) }
22 
23  // Because the lowermost base classes initialize the virtual bases
24  // before any non-virtual bases, the correct thing to do here is
25  // explicitly call the constructor for HOM_PaneTab.
27  : HOM_PaneTab(pane), HOM_PathBasedPaneTab(pane)
28  { HOM_CONSTRUCT_OBJECT(this) }
29 
31  { HOM_DESTRUCT_OBJECT(this) }
32 
33  // Let swig know we're overriding __repr__ for this class so it doesn't
34  // provide its own __repr__.
35  SWIGOUT(virtual std::string __repr__() = 0;)
36 
37  virtual bool showInactivePrimitives() = 0;
38  virtual void setShowInactivePrimitives(bool show) = 0;
39  virtual bool showInvisiblePrimitives() = 0;
40  virtual void setShowInvisiblePrimitives(bool show) = 0;
41  virtual bool showOverPrimitives() = 0;
42  virtual void setShowOverPrimitives(bool show) = 0;
43  virtual bool showClassPrimitives() = 0;
44  virtual void setShowClassPrimitives(bool show) = 0;
45  virtual bool showPrototypePrimitives() = 0;
46  virtual void setShowPrototypePrimitives(bool show) = 0;
47  virtual bool showLayerInfoPrimitives() = 0;
48  virtual void setShowLayerInfoPrimitives(bool show) = 0;
49  virtual bool showHiddenInUiPrimitives() = 0;
50  virtual void setShowHiddenInUiPrimitives(bool show) = 0;
51 
52  virtual std::vector<std::string> allColumns() = 0;
53  virtual std::vector<std::string> visibleColumns() = 0;
54  virtual void setVisibleColumns(std::vector<std::string> const &columns) = 0;
55 
56  virtual std::string filterPattern() = 0;
57  virtual void setFilterPattern(const char *pattern) = 0;
58  virtual bool filterVisible() = 0;
59  virtual void setFilterVisible(bool visible) = 0;
60 
61  virtual float splitPosition() = 0;
62  virtual void setSplitPosition(float position) = 0;
63 
64  virtual std::string collectionPrimitives() = 0;
65  virtual void setCollectionPrimitives(const char *pattern) = 0;
66 
67  virtual std::string collectionFilterPattern() = 0;
68  virtual void setCollectionFilterPattern(const char *pattern) = 0;
69  virtual bool collectionFilterVisible() = 0;
70  virtual void setCollectionFilterVisible(bool visible) = 0;
71 
72  SWIGOUT(%ignore opaqueCollapsePrimitives;)
73  virtual void opaqueCollapsePrimitives(void *prims) = 0;
74  SWIGOUT(%ignore opaqueExpandPrimitives;)
75  virtual void opaqueExpandPrimitives(void *prims,
76  bool collapse_others,
77  bool expand_leaf_primitives) = 0;
78  SWIGOUT(%ignore opaqueExpandedPrimitives;)
79  virtual void *opaqueExpandedPrimitives(
80  bool include_leaf_primitives) = 0;
81 
82 #ifdef SWIG
83 %extend
84 {
85  SWIGOUT(%kwargs collapsePrimitives;)
86  void collapsePrimitives(InterpreterObject prims)
87  { self->opaqueCollapsePrimitives(prims); }
88  SWIGOUT(%kwargs expandPrimitives;)
89  void expandPrimitives(InterpreterObject prims,
90  bool collapse_others = false,
91  bool expand_leaf_primitives = false)
92  { self->opaqueExpandPrimitives(prims, collapse_others,
93  expand_leaf_primitives); }
94  SWIGOUT(%kwargs expandedPrimitives;)
95  InterpreterObject expandedPrimitives(
96  bool include_leaf_primitives = false)
97  { return HOMincRef((InterpreterObject)self->
98  opaqueExpandedPrimitives(include_leaf_primitives));}
99 }
100 #endif
101 
102 };
103 
104 #endif
#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
#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
GLubyte * pattern
Definition: glew.h:5741
~HOM_SceneGraphTree() override
HOM_SceneGraphTree(const HOM_SceneGraphTree &pane)