HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_LopSelectionRule.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_LopSelectionRule_h__
10 #define __HOM_LopSelectionRule_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_Defines.h"
14 #include "HOM_Errors.h"
15 #include "HOM_Module.h"
16 #include "HOM_PtrOrNull.h"
17 
18 class HOM_Node;
19 class HOM_LopNode;
20 
21 SWIGOUT(%rename(LopSelectionRule) HOM_LopSelectionRule;)
22 
23 SWIGOUT(%feature("notabstract") HOM_LopSelectionRule;)
25 {
26 public:
27 #ifdef SWIG
28 %extend
29 {
30  HOM_LopSelectionRule(const char *pattern = nullptr)
31  { return HOM().newLopSelectionRule(pattern); }
32 
33  SWIGOUT(%kwargs expandedPaths;)
34  InterpreterObject expandedPaths(HOM_LopNode *lopnode = nullptr,
35  bool return_ancestors = false,
36  bool fallback_to_new_paths = false,
37  InterpreterObject stage = nullptr,
38  bool use_last_cook_context_options = true,
39  int lop_output_index = -1)
40  { return HOMincRef((InterpreterObject)self->
41  opaqueExpandedPaths(lopnode, stage, return_ancestors,
42  fallback_to_new_paths, use_last_cook_context_options,
43  lop_output_index)); }
44  SWIGOUT(%kwargs firstPath;)
45  InterpreterObject firstPath(HOM_LopNode *lopnode = nullptr,
46  bool return_ancestors = false,
47  bool fallback_to_new_paths = false,
48  InterpreterObject stage = nullptr,
49  bool use_last_cook_context_options = true,
50  int lop_output_index = -1)
51  { return HOMincRef((InterpreterObject)self->
52  opaqueFirstPath(lopnode, stage, return_ancestors,
53  fallback_to_new_paths, use_last_cook_context_options,
54  lop_output_index)); }
55  SWIGOUT(%kwargs collectionAwarePaths;)
56  InterpreterObject collectionAwarePaths(HOM_LopNode *lopnode = nullptr,
57  bool fallback_to_new_paths = false,
58  InterpreterObject stage = nullptr,
59  bool use_last_cook_context_options = true,
60  int lop_output_index = -1)
61  { return HOMincRef((InterpreterObject)self->
62  opaqueCollectionAwarePaths(lopnode, stage,
63  fallback_to_new_paths, use_last_cook_context_options,
64  lop_output_index)); }
65  SWIGOUT(%kwargs newPaths;)
66  InterpreterObject newPaths(HOM_LopNode *lopnode = nullptr,
67  InterpreterObject stage = nullptr,
68  bool use_last_cook_context_options = true,
69  int lop_output_index = -1)
70  { return HOMincRef((InterpreterObject)self->
71  opaqueNewPaths(lopnode, stage, use_last_cook_context_options,
72  lop_output_index)); }
73  SWIGOUT(%kwargs pointInstancerIds;)
74  std::map<std::string, std::vector<int64>> pointInstancerIds(
75  HOM_LopNode *lopnode = nullptr,
76  InterpreterObject stage = nullptr,
77  bool use_last_cook_context_options = true,
78  int lop_output_index = -1)
79  { return self->opaquePointInstancerIds(lopnode, stage,
80  use_last_cook_context_options, lop_output_index); }
81 }
82 #else
84  { HOM_CONSTRUCT_OBJECT(this) }
86  { HOM_DESTRUCT_OBJECT(this) }
87 
88  SWIGOUT(%ignore opaqueExpandedPaths;)
89  virtual void *opaqueExpandedPaths(HOM_LopNode *lopnode,
90  void *stage,
91  bool return_ancestors,
92  bool fallback_to_new_paths,
93  bool use_last_cook_context_options,
94  int lop_output_index) = 0;
95  SWIGOUT(%ignore opaqueFirstPath;)
96  virtual void *opaqueFirstPath(HOM_LopNode *lopnode,
97  void *stage,
98  bool return_ancestors,
99  bool fallback_to_new_paths,
100  bool use_last_cook_context_options,
101  int lop_output_index) = 0;
102  SWIGOUT(%ignore opaqueCollectionAwarePaths;)
103  virtual void *opaqueCollectionAwarePaths(HOM_LopNode *lopnode,
104  void *stage,
105  bool fallback_to_new_paths,
106  bool use_last_cook_context_options,
107  int lop_output_index) = 0;
108  SWIGOUT(%ignore opaqueNewPaths;)
109  virtual void *opaqueNewPaths(HOM_LopNode *lopnode,
110  void *stage,
111  bool use_last_cook_context_options,
112  int lop_output_index) = 0;
113  SWIGOUT(%ignore opaquePointInstancerIds;)
114  virtual std::map<std::string, std::vector<int64>> opaquePointInstancerIds(
115  HOM_LopNode *lopnode,
116  void *stage,
117  bool use_last_cook_context_options,
118  int lop_output_index) = 0;
119 #endif
120 
121  virtual bool operator==(HOM_PtrOrNull<HOM_LopSelectionRule> rule) = 0;
122  virtual bool operator!=(HOM_PtrOrNull<HOM_LopSelectionRule> rule) = 0;
123 
124  virtual int __hash__() = 0;
125  virtual std::string __repr__() = 0;
126 
127  virtual std::string lastError() = 0;
128  virtual HOM_EnumValue *lastErrorSeverity() = 0;
129  virtual bool lastMayBeTimeVarying() = 0;
130 
131  virtual std::string pathPattern() = 0;
132  virtual void setPathPattern(const char *pattern) = 0;
133 
134  virtual int traversalDemands() = 0;
135  virtual void setTraversalDemands(int demands) = 0;
136 
137  virtual int findPointInstancerIds() = 0;
138  virtual void setFindPointInstancerIds(bool find_instancer_ids) = 0;
139 
140  virtual std::string icon() = 0;
141  virtual void setIcon(const char *icon) = 0;
142 
143  SWIGOUT(%newobject sourceNode;)
144  virtual HOM_Node *sourceNode() = 0;
145  virtual int sourceNodeInputIndex() = 0;
146 };
147 
148 #endif
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1398
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
string __repr__(VtArray< T > const &self)
Definition: wrapArray.h:312
virtual HOM_LopSelectionRule * newLopSelectionRule(const char *pattern=nullptr)=0
#define HOM_API
Definition: HOM_API.h:13
void ignore(T const &) VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:6508
int __hash__() override=0
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1397
bool operator!=(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Inequality operator, does exact floating point comparisons.
Definition: Mat3.h:556
GLushort pattern
Definition: glad.h:2583
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
HOM_API HOM_Module & HOM()
bool operator==(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Equality operator, does exact floating point comparisons.
Definition: Mat3.h:542