19 class COP_ApexNodeDependencies;
22 class COP_GraphProxyDirect;
65 myCallback = callback;
73 void (*myCallback)(
void*);
114 bool setOutputBlock(COP_Block* output,
119 bool setOutputBlock(COP_Block* output, BeginBindingsMode
mode);
127 bool buildFromBlock(COP_Block* output, BeginBindingsMode
mode,
132 bool buildFromSingleNode(COP_Node* output,
142 void saveToGeometry(
GU_Detail* gdp)
const;
144 bool loadFromGeometry(
const GU_Detail* gdp);
147 bool saveToFile(
const char*
filename)
const;
149 bool loadFromFile(
const char*
filename);
161 bool as_cable =
false);
188 return myProgramInputs;
195 return myProgramOutputs;
225 myGraphDep.enableCallback(enable);
226 myResultsDep.enableCallback(enable);
236 myGraphDep.setCallback(callback, data);
237 myResultsDep.setCallback(callback, data);
238 myErroredMonitor.setCallback(callback, data);
243 SlapcompBuildStatus rebuildIfNeeded(
const OP_Context& context,
251 return myExpectInputCameras;
255 int getGraphProxyOverrideId()
const;
259 COP_Block *getOutputBlock()
const;
262 int getOutputNodeId()
const;
265 COP_Node *getOutputNode()
const;
267 bool isOutputBlockSlapComp()
const;
284 void setOutputNodeInternal(COP_Node* output, BuildTarget
target,
290 COP_GraphProxyDirect* getGraphProxy();
306 int myOutputNodeId = -1;
332 bool myExpectInputCameras =
true;
const UT_StringMap< std::pair< COP_Type, bool > > & getProgramInputs() const
GT_API const UT_StringHolder filename
UT_UniquePtr< COP_ApexNodeDependencies > myParameterDep
virtual void becameDirty(DEP_MicroNode &src, const DEP_PropagateData &propdata)
void enableCallback(bool enable)
void setCallback(void(*callback)(void *), void *data)
UT_StringMap< std::pair< COP_Type, bool > > myUnusedInputs
UT_Array< COP_Request > myOutputRequests
BuildTarget
What the program is built for.
const UT_StringMap< std::pair< COP_Type, UT_StringHolder > > & getProgramOutputs() const
bool expectsLayerCameras() const
COP_MicroNodeWithCallback myErroredMonitor
COP_MicroNodeWithCallback()
GLenum GLuint GLint GLint layer
std::unique_ptr< T, Deleter > UT_UniquePtr
A smart pointer for unique ownership of dynamically allocated objects.
UT_SharedPtr< const IMX_Layer > IMX_LayerConstPtr
UT_SharedPtr< const IMX_VDB > IMX_VDBConstPtr
UT_StringMap< std::pair< COP_Type, bool > > myProgramInputs
Map of all inputs used by the program.
bool callbackEnabled() const
Returns true if the callback is enabled (even if not set).
#define SYS_DECLARE_IS_NOT_TR(T)
Declare that that trivial relocation with type T is not guaranteed to be safe.
COP_MicroNodeWithCallback myGraphDep
GLuint const GLchar * name
COP_MicroNodeWithCallback myResultsDep
DEP_TimedMicroNode & getGraphDep()
Returns the micronode that captures all dependencies for the program.
COP_Type
Types of basic data that are passed around a COP network.
UT_StringMap< COP_PortData > myPassthroughOutputs
UT_UniquePtr< COP_GraphProxyDirect > myGraphProxy
UT_UniquePtr< apex::APEX_Graph > myGraph
void enableCallback(bool enable)
Controls whether or not the callback runs when the micronode is dirtied.
A global error manager scope.
Propagation info for a dep micro node.
void setCallback(void(*callback)(void *), void *data)
UT_SharedPtr< IMX_VDB > IMX_VDBPtr
UT_StringMap< std::pair< COP_Type, UT_StringHolder > > myProgramOutputs
DEP_TimedMicroNode & getResultsDep()
UT_SharedPtr< IMX_Layer > IMX_LayerPtr
PcpNodeRef_ChildrenIterator begin(const PcpNodeRef::child_const_range &r)
Support for range-based for loops for PcpNodeRef children ranges.