9 #ifndef __HOM_NetworkBox_h__
10 #define __HOM_NetworkBox_h__
44 virtual void setComment(
const char *comment) = 0;
46 virtual bool autoFit() = 0;
47 virtual void setAutoFit(
bool auto_fit) = 0;
50 virtual void setSize(
const std::vector<double> &
size) = 0;
51 virtual void resize(
const std::vector<double> &amount) = 0;
52 virtual void fitAroundContents() = 0;
57 virtual bool isMinimized() = 0;
58 virtual void setMinimized(
bool on) = 0;
60 virtual double alpha() = 0;
61 virtual void setAlpha(
double alpha) = 0;
66 virtual void addNode(
HOM_Node &node) = 0;
67 virtual void removeNode(
HOM_Node &node) = 0;
68 virtual void removeAllNodes() = 0;
70 SWIGOUT(%newobject networkBoxes;)
73 networkBoxes(
bool recurse=
true) = 0;
77 SWIGOUT(%newobject stickyNotes;)
80 stickyNotes(
bool recurse=
true) = 0;
84 SWIGOUT(%newobject subnetIndirectInputs;)
85 SWIGOUT(%kwargs subnetIndirectInputs;)
87 subnetIndirectInputs(
bool recurse=
true) = 0;
94 items(
bool recurse=
true) = 0;
97 virtual void removeAllItems() = 0;
99 virtual void destroy(
bool destroy_contents=
false) = 0;
104 bool save_box_contents=
false,
105 bool save_channels_only=
false,
106 bool save_creation_commands=
true,
107 bool save_keys_in_frames=
false,
108 bool save_parm_values_only=
false,
109 bool save_spare_parms=
false,
110 bool save_netbox_membership=
true,
111 const char *function_name=NULL) = 0;
#define HOM_DESTRUCT_OBJECT(pointer)
GLsizei const GLchar *const * string
string __repr__(VtArray< T > const &self)
~HOM_NetworkBox() override
#define HOM_CONSTRUCT_OBJECT(pointer)
bool operator!=(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Inequality operator, does exact floating point comparisons.
GLfloat GLfloat GLfloat alpha
ImageBuf OIIO_API resize(const ImageBuf &src, string_view filtername="", float filterwidth=0.0f, ROI roi={}, int nthreads=0)
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
HOM_NetworkBox(const HOM_NetworkBox &net_box)
bool operator==(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Equality operator, does exact floating point comparisons.