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 
59  virtual float splitPosition() = 0;
60  virtual void setSplitPosition(float position) = 0;
61 
62  virtual std::string collectionPrimitives() = 0;
63  virtual void setCollectionPrimitives(const char *pattern) = 0;
64 
65  virtual std::string collectionFilterPattern() = 0;
66  virtual void setCollectionFilterPattern(const char *pattern) = 0;
67 
68  SWIGOUT(%ignore opaqueCollapsePrimitives;)
69  virtual void opaqueCollapsePrimitives(void *prims) = 0;
70  SWIGOUT(%ignore opaqueExpandPrimitives;)
71  virtual void opaqueExpandPrimitives(void *prims,
72  bool collapse_others,
73  bool expand_leaf_primitives) = 0;
74  SWIGOUT(%ignore opaqueExpandedPrimitives;)
75  virtual void *opaqueExpandedPrimitives(
76  bool include_leaf_primitives) = 0;
77 
78 #ifdef SWIG
79 %extend
80 {
81  SWIGOUT(%kwargs collapsePrimitives;)
82  void collapsePrimitives(InterpreterObject prims)
83  { self->opaqueCollapsePrimitives(prims); }
84  SWIGOUT(%kwargs expandPrimitives;)
85  void expandPrimitives(InterpreterObject prims,
86  bool collapse_others = false,
87  bool expand_leaf_primitives = false)
88  { self->opaqueExpandPrimitives(prims, collapse_others,
89  expand_leaf_primitives); }
90  SWIGOUT(%kwargs expandedPrimitives;)
91  InterpreterObject expandedPrimitives(
92  bool include_leaf_primitives = false)
93  { return HOMincRef((InterpreterObject)self->
94  opaqueExpandedPrimitives(include_leaf_primitives));}
95 }
96 #endif
97 
98 };
99 
100 #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
#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
GLushort pattern
Definition: glad.h:2583
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
SIM_API const UT_StringHolder position
~HOM_SceneGraphTree() override
HOM_SceneGraphTree(const HOM_SceneGraphTree &pane)