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)
60 {
return HOMincRef((InterpreterObject)self->
61 opaqueActiveLayer(output_index, ignore_errors,
62 use_last_cook_context_options)); }
63 InterpreterObject editableStage()
64 {
return HOMincRef((InterpreterObject)self->
65 opaqueEditableStage()); }
67 InterpreterObject stage(
int output_index = 0,
68 bool apply_viewport_overrides =
false,
69 bool ignore_errors =
false,
70 bool use_last_cook_context_options =
true,
71 bool apply_post_layers =
true)
72 {
return HOMincRef((InterpreterObject)self->
73 opaqueStage(output_index,
74 apply_viewport_overrides,
76 use_last_cook_context_options,
77 apply_post_layers)); }
79 InterpreterObject sourceLayer(
int layer_index = 0,
81 bool use_last_cook_context_options =
true)
82 {
return HOMincRef((InterpreterObject)self->
83 opaqueSourceLayer(layer_index, output_index,
84 use_last_cook_context_options));}
85 SWIGOUT(%kwargs stagePrimStats;)
86 InterpreterObject stagePrimStats(
const char *primpath =
nullptr,
88 bool apply_viewport_overrides =
false,
89 bool ignore_errors =
false,
90 bool do_geometry_counts =
false,
91 bool do_separate_purposes =
false,
92 bool use_last_cook_context_options =
true,
93 bool apply_post_layers =
true)
96 self->opaqueStagePrimStats(primpath, output_index,
97 apply_viewport_overrides, ignore_errors,
98 do_geometry_counts, do_separate_purposes,
99 use_last_cook_context_options,
102 return HOMoptionsToInterpreterObject(stats);
104 InterpreterObject lastModifiedPrims()
105 {
return HOMincRef((InterpreterObject)self->opaqueLastModifiedPrims()); }
106 InterpreterObject inputPrims(
int inputidx)
107 {
return HOMincRef((InterpreterObject)self->opaqueInputPrims(inputidx)); }
108 void setLastModifiedPrims(InterpreterObject primpaths)
109 {
self->opaqueSetLastModifiedPrims(primpaths); }
114 virtual void *opaqueEditableLayer() = 0;
116 virtual void *opaqueActiveLayer(
int output_index,
118 bool use_last_cook_context_options) = 0;
120 virtual void *opaqueEditableStage() = 0;
122 virtual void *opaqueStage(
int output_index,
123 bool apply_viewport_overrides,
125 bool use_last_cook_context_options,
126 bool apply_post_layers) = 0;
128 virtual void *opaqueSourceLayer(
int layer_index,
130 bool use_last_cook_context_options) = 0;
132 virtual void opaqueStagePrimStats(
const UT_StringRef &primpath,
134 bool apply_viewport_overrides,
136 bool do_geometry_counts,
137 bool do_separate_purposes,
138 bool use_last_cook_context_options,
139 bool apply_post_layers,
142 virtual void *opaqueLastModifiedPrims() = 0;
144 virtual void *opaqueInputPrims(
int inputidx) = 0;
146 virtual void opaqueSetLastModifiedPrims(
void *primpaths) = 0;
150 bool force_cook =
false,
151 bool use_last_cook_context_options =
true) = 0;
152 SWIGOUT(%kwargs sourceLayerCount;)
153 virtual int sourceLayerCount(
int output_index = 0,
154 bool use_last_cook_context_options =
true) = 0;
155 SWIGOUT(%kwargs layersAboveLayerBreak;)
156 virtual std::vector<std::string> layersAboveLayerBreak(
157 int output_index = 0,
158 bool use_last_cook_context_options =
true) = 0;
160 SWIGOUT(%newobject selectionRule;)
161 SWIGOUT(%kwargs selectionRule;)
163 const char *
pattern =
nullptr) = 0;
169 const char *identifier,
171 const std::map<std::string, std::string> &
args = {}) = 0;
172 virtual void addHeldLayer(
const char *identifier) = 0;
173 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
HOM_LopNode(const HOM_LopNode &pop_node)