20 class COP_ApexNodeDependencies;
23 class COP_GraphProxyDirect;
74 bool setOutputBlock(
const COP_Block* output,
79 bool setOutputBlock(
const COP_Block* output, BeginBindingsMode
mode);
82 bool buildFromBlock(
const COP_Block* output,
88 bool buildFromBlock(
const COP_Block* output, BeginBindingsMode
mode,
93 bool buildFromSingleNode(COP_Node* output,
103 void saveToGeometry(
GU_Detail* gdp)
const;
105 bool loadFromGeometry(
const GU_Detail* gdp);
108 bool saveToFile(
const char*
filename)
const;
110 bool loadFromFile(
const char*
filename);
124 bool as_cable =
false);
155 return myProgramInputs;
162 return myProgramOutputs;
192 myGraphDep.enableCallback(enable);
193 myResultsDep.enableCallback(enable);
203 myGraphDep.setCallback(callback, data);
204 myResultsDep.setCallback(callback, data);
205 myErroredMonitor.setCallback(callback, data);
212 SlapCompBuildStatus rebuildIfNeeded(
const OP_Context& context,
221 return myExpectInputCameras;
225 int getGraphProxyOverrideId()
const;
229 COP_Block *getOutputBlock()
const;
232 int getOutputNodeId()
const;
235 COP_Node *getOutputNode()
const;
237 bool isOutputBlockSlapComp()
const;
254 void setOutputNodeInternal(
const COP_Node* output, BuildTarget
target,
260 COP_GraphProxyDirect* getGraphProxy();
276 int myOutputNodeId = -1;
281 bool myForceRebuild =
false;
305 bool myExpectInputCameras =
true;
const UT_StringMap< std::pair< COP_Type, bool > > & getProgramInputs() const
GT_API const UT_StringHolder filename
UT_UniquePtr< COP_ApexNodeDependencies > myParameterDep
void enableCallback(bool enable)
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
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.
UT_SharedPtr< const IMX_Attribute > IMX_AttributeConstPtr
#define SYS_DECLARE_IS_NOT_TR(T)
Declare that that trivial relocation with type T is not guaranteed to be safe.
UT_SharedPtr< IMX_Attribute > IMX_AttributePtr
COP_MicroNodeWithCallback myGraphDep
GLuint const GLchar * name
COP_MicroNodeWithCallback myResultsDep
COP_Type
Types of basic data that are passed around a COP network.
UT_StringMap< COP_PortData > myPassthroughOutputs
UT_UniquePtr< COP_GraphProxyDirect > myGraphProxy
PcpNodeRef_ChildrenIterator begin(const PcpNodeRef::child_const_range &r)
Support for range-based for loops for PcpNodeRef children ranges.
UT_UniquePtr< apex::APEX_Graph > myGraph
A global error manager scope.
COP_MicroNodeWithCallback & getGraphDep()
Returns the micronode that captures all dependencies for the program.
void setCallback(void(*callback)(void *), void *data)
UT_SharedPtr< IMX_VDB > IMX_VDBPtr
UT_StringMap< std::pair< COP_Type, UT_StringHolder > > myProgramOutputs
COP_MicroNodeWithCallback & getResultsDep()
UT_SharedPtr< IMX_Layer > IMX_LayerPtr