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 {
return HOMincRef((InterpreterObject)self->
62 opaqueActiveLayer(output_index, ignore_errors,
63 use_last_cook_context_options, frame)); }
64 InterpreterObject editableStage()
65 {
return HOMincRef((InterpreterObject)self->
66 opaqueEditableStage()); }
67 InterpreterObject uneditableStage()
68 {
return HOMincRef((InterpreterObject)self->
69 opaqueUneditableStage()); }
71 InterpreterObject stage(
int output_index = 0,
72 bool apply_viewport_overrides =
false,
73 bool ignore_errors =
false,
74 bool use_last_cook_context_options =
true,
75 bool apply_post_layers =
true,
77 {
return HOMincRef((InterpreterObject)self->
78 opaqueStage(output_index,
79 apply_viewport_overrides,
81 use_last_cook_context_options,
85 InterpreterObject sourceLayer(
int layer_index = 0,
87 bool use_last_cook_context_options =
true,
89 {
return HOMincRef((InterpreterObject)self->
90 opaqueSourceLayer(layer_index, output_index,
91 use_last_cook_context_options, frame));}
92 SWIGOUT(%kwargs stagePrimStats;)
93 InterpreterObject stagePrimStats(
const char *primpath =
nullptr,
95 bool apply_viewport_overrides =
false,
96 bool ignore_errors =
false,
97 bool do_geometry_counts =
false,
98 bool do_separate_purposes =
false,
99 bool use_last_cook_context_options =
true,
100 bool apply_post_layers =
true,
104 self->opaqueStagePrimStats(primpath, output_index,
105 apply_viewport_overrides, ignore_errors,
106 do_geometry_counts, do_separate_purposes,
107 use_last_cook_context_options,
108 apply_post_layers, frame,
110 return HOMoptionsToInterpreterObject(stats);
112 InterpreterObject lastModifiedPrims()
113 {
return HOMincRef((InterpreterObject)self->opaqueLastModifiedPrims()); }
114 InterpreterObject inputPrims(
int inputidx)
115 {
return HOMincRef((InterpreterObject)self->opaqueInputPrims(inputidx)); }
116 void setLastModifiedPrims(InterpreterObject primpaths)
117 {
self->opaqueSetLastModifiedPrims(primpaths); }
122 virtual void *opaqueEditableLayer() = 0;
124 virtual void *opaqueActiveLayer(
int output_index,
126 bool use_last_cook_context_options,
129 virtual void *opaqueEditableStage() = 0;
131 virtual void *opaqueUneditableStage() = 0;
133 virtual void *opaqueStage(
int output_index,
134 bool apply_viewport_overrides,
136 bool use_last_cook_context_options,
137 bool apply_post_layers,
140 virtual void *opaqueSourceLayer(
int layer_index,
142 bool use_last_cook_context_options,
145 virtual void opaqueStagePrimStats(
const UT_StringRef &primpath,
147 bool apply_viewport_overrides,
149 bool do_geometry_counts,
150 bool do_separate_purposes,
151 bool use_last_cook_context_options,
152 bool apply_post_layers,
156 virtual void *opaqueLastModifiedPrims() = 0;
158 virtual void *opaqueInputPrims(
int inputidx) = 0;
160 virtual void opaqueSetLastModifiedPrims(
void *primpaths) = 0;
165 bool force_cook =
false,
166 bool use_last_cook_context_options =
true,
168 SWIGOUT(%kwargs sourceLayerCount;)
169 virtual int sourceLayerCount(
int output_index = 0,
170 bool use_last_cook_context_options =
true,
172 SWIGOUT(%kwargs layersAboveLayerBreak;)
173 virtual std::vector<std::string> layersAboveLayerBreak(
174 int output_index = 0,
175 bool use_last_cook_context_options =
true,
177 virtual bool isMostRecentStageLock() = 0;
179 SWIGOUT(%newobject selectionRule;)
180 SWIGOUT(%kwargs selectionRule;)
182 const char *
pattern =
nullptr) = 0;
188 const char *identifier,
190 const std::map<std::string, std::string> &
args = {}) = 0;
191 virtual void addHeldLayer(
const char *identifier) = 0;
192 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)