21 class COP_ApexNodeDependencies;
24 class COP_GraphProxyDirect;
75 bool setOutputBlock(
const COP_Block* output,
80 bool setOutputBlock(
const COP_Block* output, BeginBindingsMode
mode);
83 bool buildFromBlock(
const COP_Block* output,
89 bool buildFromBlock(
const COP_Block* output, BeginBindingsMode
mode,
94 bool buildFromSingleNode(COP_Node* output,
104 void saveToGeometry(
GU_Detail* gdp)
const;
106 bool loadFromGeometry(
const GU_Detail* gdp);
109 bool saveToFile(
const char*
filename)
const;
111 bool loadFromFile(
const char*
filename);
125 bool as_cable =
false);
156 return myProgramInputs;
163 return myProgramOutputs;
193 myGraphDep.enableCallback(enable);
194 myResultsDep.enableCallback(enable);
204 myGraphDep.setCallback(callback, data);
205 myResultsDep.setCallback(callback, data);
206 myErroredMonitor.setCallback(callback, data);
213 SlapCompBuildStatus rebuildIfNeeded(
const OP_Context& context,
222 return myExpectInputCameras;
226 int getGraphProxyOverrideId()
const;
230 COP_Block *getOutputBlock()
const;
233 int getOutputNodeId()
const;
236 COP_Node *getOutputNode()
const;
238 bool isOutputBlockSlapComp()
const;
255 void setOutputNodeInternal(
const COP_Node* output, BuildTarget
target,
261 myDetailUniqueId = -1;
266 COP_GraphProxyDirect* getGraphProxy();
282 int myOutputNodeId = -1;
293 bool myIsLoaded =
false;
295 bool myForceRebuild =
false;
319 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.
static const int64 INVALID_CACHE_COUNT
UT_UniquePtr< apex::APEX_Graph > myGraph
A global error manager scope.
void invalidateGeoLoadCache()
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