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()); }
68 InterpreterObject stage(
int output_index = 0,
69 bool apply_viewport_overrides =
false,
70 bool ignore_errors =
false,
71 bool use_last_cook_context_options =
true,
72 bool apply_post_layers =
true,
74 {
return HOMincRef((InterpreterObject)self->
75 opaqueStage(output_index,
76 apply_viewport_overrides,
78 use_last_cook_context_options,
82 InterpreterObject sourceLayer(
int layer_index = 0,
84 bool use_last_cook_context_options =
true,
86 {
return HOMincRef((InterpreterObject)self->
87 opaqueSourceLayer(layer_index, output_index,
88 use_last_cook_context_options, frame));}
89 SWIGOUT(%kwargs stagePrimStats;)
90 InterpreterObject stagePrimStats(
const char *primpath =
nullptr,
92 bool apply_viewport_overrides =
false,
93 bool ignore_errors =
false,
94 bool do_geometry_counts =
false,
95 bool do_separate_purposes =
false,
96 bool use_last_cook_context_options =
true,
97 bool apply_post_layers =
true,
101 self->opaqueStagePrimStats(primpath, output_index,
102 apply_viewport_overrides, ignore_errors,
103 do_geometry_counts, do_separate_purposes,
104 use_last_cook_context_options,
105 apply_post_layers, frame,
107 return HOMoptionsToInterpreterObject(stats);
109 InterpreterObject lastModifiedPrims()
110 {
return HOMincRef((InterpreterObject)self->opaqueLastModifiedPrims()); }
111 InterpreterObject inputPrims(
int inputidx)
112 {
return HOMincRef((InterpreterObject)self->opaqueInputPrims(inputidx)); }
113 void setLastModifiedPrims(InterpreterObject primpaths)
114 {
self->opaqueSetLastModifiedPrims(primpaths); }
119 virtual void *opaqueEditableLayer() = 0;
121 virtual void *opaqueActiveLayer(
int output_index,
123 bool use_last_cook_context_options,
126 virtual void *opaqueEditableStage() = 0;
128 virtual void *opaqueStage(
int output_index,
129 bool apply_viewport_overrides,
131 bool use_last_cook_context_options,
132 bool apply_post_layers,
135 virtual void *opaqueSourceLayer(
int layer_index,
137 bool use_last_cook_context_options,
140 virtual void opaqueStagePrimStats(
const UT_StringRef &primpath,
142 bool apply_viewport_overrides,
144 bool do_geometry_counts,
145 bool do_separate_purposes,
146 bool use_last_cook_context_options,
147 bool apply_post_layers,
151 virtual void *opaqueLastModifiedPrims() = 0;
153 virtual void *opaqueInputPrims(
int inputidx) = 0;
155 virtual void opaqueSetLastModifiedPrims(
void *primpaths) = 0;
160 bool force_cook =
false,
161 bool use_last_cook_context_options =
true,
163 SWIGOUT(%kwargs sourceLayerCount;)
164 virtual int sourceLayerCount(
int output_index = 0,
165 bool use_last_cook_context_options =
true,
167 SWIGOUT(%kwargs layersAboveLayerBreak;)
168 virtual std::vector<std::string> layersAboveLayerBreak(
169 int output_index = 0,
170 bool use_last_cook_context_options =
true,
172 virtual bool isMostRecentStageLock() = 0;
174 SWIGOUT(%newobject selectionRule;)
175 SWIGOUT(%kwargs selectionRule;)
177 const char *
pattern =
nullptr) = 0;
183 const char *identifier,
185 const std::map<std::string, std::string> &
args = {}) = 0;
186 virtual void addHeldLayer(
const char *identifier) = 0;
187 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)