9 #ifndef __HOM_LopNode_h__
10 #define __HOM_LopNode_h__
39 virtual bool isBypassed() = 0;
40 virtual void bypass(
bool on) = 0;
41 virtual bool isDisplayFlagSet() = 0;
42 virtual void setDisplayFlag(
bool on) = 0;
43 virtual bool isDebugFlagSet() = 0;
44 virtual void setDebugFlag(
bool on) = 0;
46 SWIGOUT(%newobject displayNode;)
54 InterpreterObject editableLayer()
55 {
return HOMincRef((InterpreterObject)self->opaqueEditableLayer()); }
57 InterpreterObject activeLayer(
int output_index = 0,
58 bool ignore_errors =
false,
59 bool use_last_cook_context_options =
true,
61 const std::map<std::string, hboost::any> &context_options =
62 std::map<std::string, hboost::any>())
63 {
return HOMincRef((InterpreterObject)self->
64 opaqueActiveLayer(output_index, ignore_errors,
65 use_last_cook_context_options, frame, context_options)); }
66 InterpreterObject editableStage()
67 {
return HOMincRef((InterpreterObject)self->
68 opaqueEditableStage()); }
69 InterpreterObject uneditableStage()
70 {
return HOMincRef((InterpreterObject)self->
71 opaqueUneditableStage()); }
73 InterpreterObject stage(
int output_index = 0,
74 bool apply_viewport_overrides =
false,
75 bool ignore_errors =
false,
76 bool use_last_cook_context_options =
true,
77 bool apply_post_layers =
true,
79 const std::map<std::string, hboost::any> &context_options =
80 std::map<std::string, hboost::any>())
81 {
return HOMincRef((InterpreterObject)self->
82 opaqueStage(output_index,
83 apply_viewport_overrides,
85 use_last_cook_context_options,
90 InterpreterObject sourceLayer(
int layer_index = 0,
92 bool use_last_cook_context_options =
true,
94 const std::map<std::string, hboost::any> &context_options =
95 std::map<std::string, hboost::any>())
96 {
return HOMincRef((InterpreterObject)self->
97 opaqueSourceLayer(layer_index, output_index,
98 use_last_cook_context_options, frame, context_options));}
99 SWIGOUT(%kwargs stagePrimStats;)
100 InterpreterObject stagePrimStats(
const char *primpath =
nullptr,
101 int output_index = 0,
102 bool apply_viewport_overrides =
false,
103 bool ignore_errors =
false,
104 bool do_geometry_counts =
false,
105 bool do_separate_purposes =
false,
106 bool use_last_cook_context_options =
true,
107 bool apply_post_layers =
true,
109 const std::map<std::string, hboost::any> &context_options =
110 std::map<std::string, hboost::any>())
113 self->opaqueStagePrimStats(primpath, output_index,
114 apply_viewport_overrides, ignore_errors,
115 do_geometry_counts, do_separate_purposes,
116 use_last_cook_context_options,
117 apply_post_layers, frame, context_options,
119 return HOMoptionsToInterpreterObject(stats);
121 InterpreterObject lastModifiedPrims()
122 {
return HOMincRef((InterpreterObject)self->opaqueLastModifiedPrims()); }
123 InterpreterObject inputPrims(
int inputidx)
124 {
return HOMincRef((InterpreterObject)self->opaqueInputPrims(inputidx)); }
125 void setLastModifiedPrims(InterpreterObject primpaths)
126 {
self->opaqueSetLastModifiedPrims(primpaths); }
131 virtual void *opaqueEditableLayer() = 0;
133 virtual void *opaqueActiveLayer(
int output_index,
135 bool use_last_cook_context_options,
137 const std::map<std::string, hboost::any> &context_options) = 0;
139 virtual void *opaqueEditableStage() = 0;
141 virtual void *opaqueUneditableStage() = 0;
143 virtual void *opaqueStage(
int output_index,
144 bool apply_viewport_overrides,
146 bool use_last_cook_context_options,
147 bool apply_post_layers,
149 const std::map<std::string, hboost::any> &context_options) = 0;
151 virtual void *opaqueSourceLayer(
int layer_index,
153 bool use_last_cook_context_options,
155 const std::map<std::string, hboost::any> &context_options) = 0;
157 virtual void opaqueStagePrimStats(
const UT_StringRef &primpath,
159 bool apply_viewport_overrides,
161 bool do_geometry_counts,
162 bool do_separate_purposes,
163 bool use_last_cook_context_options,
164 bool apply_post_layers,
166 const std::map<std::string, hboost::any> &context_options,
169 virtual void *opaqueLastModifiedPrims() = 0;
171 virtual void *opaqueInputPrims(
int inputidx) = 0;
173 virtual void opaqueSetLastModifiedPrims(
void *primpaths) = 0;
178 bool force_cook =
false,
179 bool use_last_cook_context_options =
true,
181 const std::map<std::string, hboost::any> &context_options =
182 std::map<std::string, hboost::any>()) = 0;
183 SWIGOUT(%kwargs sourceLayerCount;)
184 virtual int sourceLayerCount(
int output_index = 0,
185 bool use_last_cook_context_options =
true,
187 const std::map<std::string, hboost::any> &context_options =
188 std::map<std::string, hboost::any>()) = 0;
189 SWIGOUT(%kwargs layersAboveLayerBreak;)
190 virtual std::vector<std::string> layersAboveLayerBreak(
191 int output_index = 0,
192 bool use_last_cook_context_options =
true,
194 const std::map<std::string, hboost::any> &context_options =
195 std::map<std::string, hboost::any>()) = 0;
196 virtual bool isMostRecentStageLock() = 0;
198 SWIGOUT(%newobject selectionRule;)
199 SWIGOUT(%kwargs selectionRule;)
201 const char *
pattern =
nullptr) = 0;
207 const char *identifier,
209 const std::map<std::string, std::string> &
args = {}) = 0;
210 virtual void addHeldLayer(
const char *identifier) = 0;
211 virtual void addSubLayer(
const char *identifier) = 0;
#define HOM_DESTRUCT_OBJECT(pointer)
GLsizei const GLchar *const * string
string __repr__(VtArray< T > const &self)
void ignore(T const &) VULKAN_HPP_NOEXCEPT
#define HOM_CONSTRUCT_OBJECT(pointer)
A map of string to various well defined value types.
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
**If you just want to fire and args
UT_Optional< double > HOM_OptionalDouble
HOM_LopNode(const HOM_LopNode &pop_node)