9 #ifndef __HOM_TopNode_h__
10 #define __HOM_TopNode_h__
41 virtual bool isBypassed() = 0;
42 virtual void bypass(
bool on) = 0;
43 virtual bool isDisplayFlagSet() = 0;
44 virtual void setDisplayFlag(
bool on) = 0;
45 virtual bool isRenderFlagSet() = 0;
46 virtual void setRenderFlag(
bool on) = 0;
48 SWIGOUT(%newobject displayNode;)
59 virtual void cookWorkItems(
61 bool generate_only=
false,
63 bool save_prompt=
false,
64 const std::vector<HOM_Node *>& nodes
65 = std::vector<HOM_Node*>()) = 0;
66 SWIGOUT(%kwargs cookOutputWorkItems;)
67 virtual void cookOutputWorkItems(
69 bool generate_only=
false,
71 bool save_prompt=
false) = 0;
72 SWIGOUT(%kwargs cookAllOutputWorkItems;)
73 virtual void cookAllOutputWorkItems(
74 bool include_display_node,
76 bool generate_only=
false,
78 bool save_prompt=
false) = 0;
80 SWIGOUT(%kwargs generateStaticWorkItems;)
81 virtual void generateStaticWorkItems(
83 const std::vector<HOM_Node *>& nodes
84 = std::vector<HOM_Node*>()) = 0;
86 virtual void dirtyAllWorkItems(
bool remove_outputs) = 0;
87 virtual void dirtyWorkItems(
bool remove_outputs) = 0;
90 virtual void generateStaticItems(
bool block=
false) = 0;
93 virtual void dirtyAllTasks(
bool remove_outputs) = 0;
96 virtual void dirtyTasks(
bool remove_outputs) = 0;
100 virtual void executeGraph(
bool filter_static=
false,
102 bool generate_only=
false,
103 bool tops_only=
false) = 0;
108 virtual bool setSelectedWorkItem(
int idx) = 0;
109 virtual int getSelectedWorkItem() = 0;
113 virtual int getPDGNodeId() = 0;
114 virtual void cancelCook() = 0;
115 virtual void pauseCook() = 0;
117 virtual void addPDGFilter(
int idx) = 0;
118 virtual void removePDGFilter(
int idx) = 0;
119 virtual bool isPDGFilter(
int idx) = 0;
120 virtual void enablePDGFilter(
bool filter_on) = 0;
122 virtual std::vector<int> workItemStates() = 0;
124 virtual std::vector<int> collapsedItems() = 0;
125 virtual int collapsedItem(
int idx) = 0;
126 virtual std::vector<int> workItemsInCollapsedItemIds(
int id) = 0;
128 virtual bool isProcessor() = 0;
129 virtual bool isPartitioner() = 0;
130 virtual bool isMapper() = 0;
131 virtual bool isScheduler() = 0;
132 virtual bool isServiceCompatible(
const char* service_name) = 0;
133 virtual bool isFilterOn() = 0;
134 virtual std::vector<HOM_ElemPtr<HOM_Node> > getFilterNodes() = 0;
136 virtual std::vector<std::string> outputDataTypes() = 0;
137 virtual std::vector<std::string> inputDataTypes() = 0;
141 virtual int getDataLayerInterfaceId() = 0;
#define HOM_DESTRUCT_OBJECT(pointer)
GLsizei const GLchar *const * string
string __repr__(VtArray< T > const &self)
#define HOM_CONSTRUCT_OBJECT(pointer)
HOM_TopNode(const HOM_TopNode &pop_node)
SIM_API const UT_StringHolder force
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)