HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
COP2_ChromaKey Class Reference

#include <COP2_ChromaKey.h>

+ Inheritance diagram for COP2_ChromaKey:

Static Public Member Functions

static OP_NodemyConstructor (OP_Network *, const char *, OP_Operator *)
 
- Static Public Member Functions inherited from COP2_KeyBase
static float hueInterp (float v1, float v2, float w)
 
static float linear (float v1, float v2, float w)
 
static float hueComp (float h, float hue1, float hue2, float spill=0.0f, float(*ifunc)(float)=0)
 
static float linearComp (float v, float v1, float v2, float spill=0.0f, float(*ifunc)(float)=0)
 
static void expandRegion (float h, float s, float l, float &hmin, float &hmax, float &smin, float &smax, float &lmin, float &lmax)
 
static cop2_InterpFunc getInterpolation (cop2_InterpType type)
 
- Static Public Member Functions inherited from COP2_PixelBase
static int scopeChanged (void *data, int idx, float t, const PRM_Template *)
 
static int toggleScope (void *data, int idx, float t, const PRM_Template *)
 
static int frameChanged (void *data, int idx, float t, const PRM_Template *)
 
- Static Public Member Functions inherited from COP2_Node
static void setNodeTimingTable (COP2_DebugTimingTable *table)
 
static void tileRemovalCallback (void *parent, TIL_Tile *removed)
 
static void setUpdateCallback (void(*callback)(float, bool, bool))
 
static void setViewerCallback (void(*viewer)(COP2_Node *, void *, TIL_ViewerType), void *data)
 
static void setCookPosition (float u, float v)
 
static void abortCook ()
 
static bool isCookAborted ()
 
static void resetAbortFlag ()
 
static bool isCooking ()
 
static TIL_TileCachegetCache ()
 
static TIL_ProxyManagergetProxyManager ()
 
static TIL_TileManagergetTileManager ()
 
static bool isInitialized ()
 
static void setWorkingThreadId (int thread_index)
 
static void clearWorkingThreadId (int thread_index)
 
static void buildPlanePreviewMenu (void *, PRM_Name *, int, const PRM_SpareData *, const PRM_Parm *)
 
static void buildScopeMenu (void *, PRM_Name *, int, const PRM_SpareData *, const PRM_Parm *)
 
static void buildPlaneScopeMenu (void *, PRM_Name *, int, const PRM_SpareData *, const PRM_Parm *)
 
static void buildScopeMenuNoColAlpha (void *, PRM_Name *, int, const PRM_SpareData *, const PRM_Parm *)
 
static void buildPlaneMenu (void *, PRM_Name *, int, const PRM_SpareData *, const PRM_Parm *)
 
static void buildCompMenu (void *, PRM_Name *, int, const PRM_SpareData *, const PRM_Parm *)
 
static void buildInputScopeMenu (void *, PRM_Name *, int, const PRM_SpareData *, const PRM_Parm *)
 
static void buildInputPlaneMenu (void *, PRM_Name *, int, const PRM_SpareData *, const PRM_Parm *)
 
static void buildInputCompMenu (void *, PRM_Name *, int, const PRM_SpareData *, const PRM_Parm *)
 
static const char * getColorPlaneName ()
 
static const char * getAlphaPlaneName ()
 
static const char * getMaskPlaneName ()
 
static const char * getDepthPlaneName ()
 
static const char * getLumPlaneName ()
 
static const char * getBumpPlaneName ()
 
static const char * getPointPlaneName ()
 
static const char * getNormalPlaneName ()
 
static const char * getVelocityPlaneName ()
 
static const char * getThumbnailPlaneKey ()
 
static int dumpCache (void *me, int i, float t, const PRM_Template *)
 
static void printMe (void *me, std::ostream &os)
 
static void addToFileLoadTime (float t)
 
static void initializeExpressions ()
 
static void initializeCache ()
 
static void buildOperatorTable (OP_OperatorTable &table)
 
static void installCommands ()
 
static void resetBadMissingFrames ()
 
static bool getShowPreviewPref ()
 
static void setShowPreviewPref (bool show)
 
- Static Public Member Functions inherited from OP_Network
static const char * getScriptFromTable (const char *table)
 
static const char * getOpTypeFromTable (const char *table)
 
static bool canDestroyNode (OP_Node *node)
 Returns true if it is safe at this time to destroy this node. More...
 
static void fixName (const char *name, const OP_FixNameParms &fix_name_parms, UT_String &fixed_name)
 
static bool isOpWritten (UT_IStream &is)
 
static OP_OperatorTablegetOperatorTable (const char *op_type, const char *script_path=0)
 
static void saveOTLBackupInformation (std::ostream &os, const OP_OperatorList &fallbackops, const OP_OperatorList &dummyops)
 
static bool warnDeprecatedOpsOnLoad ()
 
static void setWarnDeprecatedOpsOnLoad (bool enable)
 
- Static Public Member Functions inherited from OP_Node
static const OP_TypeInfogetOpInfoFromOpTypeID (OP_OpTypeId opid)
 
static const OP_TypeInfogetOpInfoFromOpTypeName (const char *name)
 
static const OP_TypeInfogetOpInfoFromTableName (const char *name)
 
static const OP_TypeInfogetOpInfoFromScriptDir (const char *dir)
 
static const char * getOpTableNameFromManagerTypeName (const char *name)
 
static int isValidOpName (const char *s, bool allow_rel_paths=false, bool ignore_node_names_env_var=false)
 Set allow_rel_paths to true to accept "." or ".." as valid paths. More...
 
static int isValidOpPath (const char *s)
 
static bool forceValidOpName (UT_String &name)
 
static OP_NodelookupNode (int unique_id, bool include_proxy=false)
 
static int getNumUniqueIds ()
 
static void getAllNodes (OP_NodeList &nodes)
 
static void getValueAsBundlePaths (fpreal t, UT_WorkBuffer &resultbuf, PRM_Parm *parm, int index, OP_Node *srcnode)
 
static void getValueAsBundlePaths (fpreal t, OP_NodeList &resultnodes, PRM_Parm *parm, int index, OP_Node *srcnode)
 
static bool parallelCook (OP_Context &context, const OP_NodeList &nodes)
 Cook the given node list in parallel. More...
 
static void repositionOpsMaxY (OP_NetworkBoxItemList &items, fpreal x, fpreal y)
 
static DEP_MicroNodegetEvalChannelMicroNode (int thread)
 
static void addMultiparmInterests (const OP_InterestRef &target_ref, OP_Node *srcnode, PRM_Parm &parm)
 
static void addMultiparmInterests (DEP_MicroNode &target, OP_Node *srcnode, PRM_Parm &parm)
 
static void addExprOpDependency (const char *arg_str, const PRM_RefId &ref_id, OP_InterestType interest_type)
 
static void addExprOpDependency1From2 (const char *arg_str1, const char *arg_str2, const PRM_RefId &ref_id, OP_InterestType interest_type)
 
static void addExprOpParmDependency (const char *arg_str, const PRM_RefId &ref_id, OP_InterestType interest_type)
 
static void changeExprOpRef (const char *arg_str, char *&new_arg, const char *new_fullpath, const char *old_fullpath, const char *old_cwd)
 
static void changeExprOpRef1From2 (const char *arg_str1, const char *arg_str2, char *&new_arg1, char *&new_arg2, const char *new_fullpath, const char *old_fullpath, const char *old_cwd)
 
static void changeExprOpParmRef (const char *arg_str, char *&new_arg, const char *new_fullpath, const char *old_fullpath, const char *old_cwd, const char *chan_name, const char *old_chan_name)
 
static void moveAndUpdateDependencies (const OP_NodeList &src_nodes, const OP_NodeList &dest_nodes)
 
static void updateChannelPtrs (CH_CollectionList &parents)
 
static int getGlobbedNodes (OP_Node *cwd, UT_String &holder, const char *pattern, UT_WorkArgs &argv, OP_GlobContext *context)
 
static int getGlobbedNetworkBoxes (OP_Node *cwd, UT_String &holder, const char *pattern, UT_WorkArgs &argv, OP_GlobContext *context)
 
static int getGlobbedPostIts (OP_Node *cwd, UT_String &holder, const char *pattern, UT_WorkArgs &argv, OP_GlobContext *context)
 
static void propagateMatchOTLDefinitionToAncestors (OP_Node *node, bool sync_flag)
 Utility function for syncing/unsyncing all uncestor nodes. More...
 
static const char * internalUserDataPrefix ()
 Prefix to use for internally used user data. More...
 
static int findOpFramePair (const char *path, int &op_id, fpreal &frame)
 
static void buildXformOrder (int trs, int xyz, UT_XformOrder &order)
 Build a UT_XformOrder out of TRS and XYZ parameter values. More...
 
static UT_XformOrder::rstOrder getMainOrder (int trs)
 Translate a TRS parameter menu index into the UT_XformOrder type. More...
 
static int getMainOrderMenuIndex (UT_XformOrder::rstOrder order)
 
static UT_XformOrder::xyzOrder getRotOrder (int xyz)
 Translate a XYZ parameter menu index into the UT_XformOrder type. More...
 
static int getRotOrderMenuIndex (UT_XformOrder::xyzOrder order)
 
static UT_Vector3R getXformPivot (int trs, fpreal tx, fpreal ty, fpreal tz, fpreal px, fpreal py, fpreal pz)
 
static UT_Vector3R getXformPivot (int trs, fpreal tx, fpreal ty, fpreal tz, fpreal px, fpreal py, fpreal pz, fpreal pivot_rx, fpreal pivot_ry, fpreal pivot_rz, bool inverse=false)
 
static UT_Vector3R getPivotParmValue (int trs, fpreal tx, fpreal ty, fpreal tz, fpreal px, fpreal py, fpreal pz)
 
static UT_Vector3R getPivotParmValue (int trs, fpreal tx, fpreal ty, fpreal tz, fpreal px, fpreal py, fpreal pz, fpreal pivot_rx, fpreal pivot_ry, fpreal pivot_rz, bool inverse=false)
 
static void buildXform (int trs, int xyz, float tx, float ty, float tz, float rx, float ry, float rz, float sx, float sy, float sz, float px, float py, float pz, UT_Matrix4 &mat)
 
static void buildXform (int trs, int xyz, double tx, double ty, double tz, double rx, double ry, double rz, double sx, double sy, double sz, double px, double py, double pz, UT_DMatrix4 &mat)
 
static void buildXform (int trs, int xyz, float tx, float ty, float tz, float rx, float ry, float rz, float sx, float sy, float sz, const UT_Matrix4F::PivotSpace &pivot, UT_Matrix4 &mat)
 
static void buildXform (int trs, int xyz, double tx, double ty, double tz, double rx, double ry, double rz, double sx, double sy, double sz, const UT_DMatrix4::PivotSpace &pivot, UT_DMatrix4 &mat)
 
static void buildXform (int trs, int xyz, float tx, float ty, float tz, float rx, float ry, float rz, float sx, float sy, float sz, float s_xy, float s_xz, float s_yz, float px, float py, float pz, UT_Matrix4 &mat)
 
static void buildXform (int trs, int xyz, double tx, double ty, double tz, double rx, double ry, double rz, double sx, double sy, double sz, double s_xy, double s_xz, double s_yz, double px, double py, double pz, UT_DMatrix4 &mat)
 
static void buildXform (int trs, int xyz, float tx, float ty, float tz, float rx, float ry, float rz, float sx, float sy, float sz, float s_xy, float s_xz, float s_yz, const UT_Matrix4F::PivotSpace &pivot, UT_Matrix4 &mat)
 
static void buildXform (int trs, int xyz, double tx, double ty, double tz, double rx, double ry, double rz, double sx, double sy, double sz, double s_xy, double s_xz, double s_yz, const UT_DMatrix4::PivotSpace &pivot, UT_DMatrix4 &mat)
 
static void buildXform (const UT_Matrix4F::FullTransformModel &parms, UT_Matrix4F &mat)
 
static void buildXform (const UT_Matrix4D::FullTransformModel &parms, UT_Matrix4D &mat)
 
static void buildXform (int trs, float tx, float ty, float rz, float sx, float sy, float px, float py, UT_Matrix3 &mat)
 
static void buildXform (int trs, double tx, double ty, double rz, double sx, double sy, double px, double py, UT_DMatrix3 &mat)
 
static void buildXform (int trs, float tx, float ty, float rz, float sx, float sy, float s_xy, float px, float py, UT_Matrix3 &mat)
 
static void buildXform (int trs, double tx, double ty, double rz, double sx, double sy, double s_xy, double px, double py, UT_DMatrix3 &mat)
 
static void clearAllPendingUndoFlags ()
 
static OP_EditCallback getEditCallback (void *&data)
 
static void buildQuadricXform (UT_Matrix4 &mat, float tx, float ty, float tz, float sx, float sy, float sz, char axis= 'y')
 
static void buildQuadricXform (UT_DMatrix4 &mat, double tx, double ty, double tz, double sx, double sy, double sz, char axis= 'y')
 
static int buildOpMenu (OP_Network *net, PRM_Name *theMenu, int theMenuSize, int(*doAdd)(OP_Node *)=0, int startItem=0, const PRM_Parm *parm=0, int showSubnets=1, int expandSubnets=1, bool recurse=false)
 
static void buildPreDefRulesMenu (PRM_Name *menu, OP_PreDefRules &pdr)
 
static int getNameSerialIndex ()
 
static void printOpMemoryUsageStats (std::ostream &os)
 
static bool getDoingBulkNotification ()
 
static bool isDirectorDoingBulkNotification ()
 
static bool createNewOpType (OP_Node *node, UT_String &errors, const char *typeName=nullptr, const char *typeLabel=nullptr, const char *otlFile=nullptr, const char *metaSource=nullptr, const char *comment=nullptr, const char *version=nullptr, const char *newName=nullptr, int minimumInputs=-1, int maximumInputs=-1, bool ignore_external_references=false, bool compress_contents=false, bool force=false, int *newNodeId=nullptr, bool compile_contents=false, bool change_node_type=true, bool create_backup=true)
 
static void startBulkNotifications (const OP_NodeList &changed, OP_Node *caller=nullptr)
 
static void endBulkNotifications (const OP_NodeList &changed)
 
static const UT_ColorgetGlobalDefaultColor ()
 
static fpreal getFlagWidth ()
 Get the width of flags. More...
 
static fpreal getNodeHeight ()
 Get the default node height. More...
 
static fpreal getNodeButtonWidth ()
 
static fpreal getConnectorHeight ()
 Get the default connector height. More...
 
static bool canDestroyNodes (OP_Network *src_net, const OP_NodeList *nodes)
 
static void addInputNodeErrorToManager (UT_ErrorManager *error, OP_Node *src)
 
static void addExtraInputToEvalChannel (int thread, OP_Node &op, OP_InterestType type)
 
static void addExtraInputToEvalChannel (int thread, OP_Node &op, int parm_i, int vec_i)
 
static void addExtraInputToEvalChannel (int thread, const OP_InterestRef &source_ref)
 
static void addExtraInputToEvalChannel (int thread, DEP_MicroNode &src_micronode)
 
static void addExtraInput (const OP_InterestRef &target_ref, const OP_InterestRef &source_ref)
 
static void addExtraInput (const OP_InterestRef &target_ref, DEP_MicroNode &source_micronode)
 
static void addExtraInput (DEP_MicroNode &target_micronode, const OP_InterestRef &source_ref)
 
- Static Public Member Functions inherited from OP_Parameters
static bool followChannelReferencesOneStep (const OP_FollowChanRefsOptions &opt, OP_Node *&newop, PRM_Parm *&newparm, int &newvecidx)
 
static bool followChannelReferencesOneStepT (const OP_FollowChanRefsOptions &opt, OP_Node *&newop, PRM_Parm *&newparm, int &newvecidx, int thread)
 
static void followChannelReferences (const OP_FollowChanRefsOptions &opt, OP_Node *&newop, PRM_Parm *&newparm, int &newvecidx)
 
static void followChannelReferencesT (const OP_FollowChanRefsOptions &opt, OP_Node *&newop, PRM_Parm *&newparm, int &newvecidx, int thread)
 
static void followChannelReferences (const OP_FollowChanRefsOptions &opt, CH_ChannelRef &ref)
 
static void followChannelReferencesT (const OP_FollowChanRefsOptions &opt, CH_ChannelRef &ref, int thread)
 
static void getValueAsProcessedNodePaths (fpreal t, UT_WorkBuffer &resultbuf, PRM_Parm *parm, int index, OP_Node *srcnode)
 
static void setBatchParms (PRM_BatchList &list, fpreal now, bool set_key=false, bool create_channels=false)
 
static bool canSetBatchParms (PRM_BatchList &list, fpreal now)
 
static void buildMParmInst (const PRM_Template *templates, UT_StringArray &mparm_inst, UT_IntArray &mparm_lvl, int level)
 
static bool isMParmInstance (const char *chname, const UT_StringArray &mparm_inst, const UT_IntArray &mparm_lvl)
 
static void getLayersFromScopedChannels (const CH_ChannelRefList &ori_refs, CH_ChannelRefList &layer_refs)
 
- Static Public Member Functions inherited from OP_NetworkBoxItem
static fpreal getMaxSafeX ()
 The following methods return the safe extents of the position of items. More...
 
static fpreal getMinSafeX ()
 
static fpreal getMaxSafeY ()
 
static fpreal getMinSafeY ()
 
static OP_NetworkBoxItemlookupItem (const OP_ItemType &type, int64 id)
 
static OP_NetworkBoxItemlookupItem (const OP_ItemId &id)
 

Static Public Attributes

static OP_TemplatePair myTemplatePair
 
static OP_VariablePair myVariablePair
 
static PRM_Template myTemplateList []
 
static CH_LocalVariable myVariableList []
 
static const char * myInputLabels []
 
- Static Public Attributes inherited from COP2_MaskOp
static OP_TemplatePair myTemplatePair
 
static PRM_Template myTemplateList []
 
- Static Public Attributes inherited from COP2_PixelBase
static OP_TemplatePair myTemplatePair
 
static PRM_Template myTemplateList []
 
- Static Public Attributes inherited from COP2_Node
static const char * theChildTableName
 
static OP_TemplatePair myTemplatePair
 
static OP_VariablePair myVariablePair
 
static PRM_Template myTemplateList []
 
static CH_LocalVariable myVariableList []
 
- Static Public Attributes inherited from OP_Network
static const char * theChildTableName
 

Protected Member Functions

virtual COP2_ContextDatanewContextData (const TIL_Plane *, int, float t, int xres, int yres, int thread, int max_threads)
 
virtual bool isFrameEffectHandled ()
 
virtual void setColorParms (float hmin, float hmax, float smin, float smax, float lmin, float lmax, bool add, float t)
 
virtual void setSpillParms (float hmin, float hmax, float smin, float smax, float lmin, float lmax, bool add, float t)
 
- Protected Member Functions inherited from COP2_KeyBase
 COP2_KeyBase (OP_Network *parent, const char *name, OP_Operator *entry)
 
virtual ~COP2_KeyBase ()
 
virtual TIL_SequencecookSequenceInfo (OP_ERROR &error)
 
virtual OP_ERROR doCookMyTile (COP2_Context &context, TIL_TileList *tilelist)
 
OP_ERROR doGPUCook (COP2_Context &context, TIL_TileList *tilelist, const TIL_Plane *keyplane, int supersample)
 
void doKeyOperation (TIL_TileList *tiles, int supersample, COP2_Context &context, const float *c1, const float *c2, const float *c3, const float *c4)
 
virtual void getInputDependenciesForOutputArea (COP2_CookAreaInfo &output_area, const COP2_CookAreaList &input_areas, COP2_CookAreaList &needed_areas)
 
- Protected Member Functions inherited from COP2_MaskOp
 COP2_MaskOp (OP_Network *parent, const char *name, OP_Operator *entry)
 
virtual ~COP2_MaskOp ()
 
virtual bool updateParmsFlags ()
 
void setupMaskParms ()
 
virtual float getFrameScopeEffect (int image_index)
 
virtual OP_ERROR cookMyTile (COP2_Context &context, TIL_TileList *tiles)
 
void getMaskDependency (COP2_CookAreaInfo &output_area, const COP2_CookAreaList &input_areas, COP2_CookAreaList &needed_areas)
 
TIL_RegiongetMaskRegion (COP2_Context &context, const TIL_Plane *plane, float t, int x1, int y1, int x2, int y2)
 
float * getMaskData (COP2_Context &context, int x1, int y1, int x2, int y2, int component=0)
 
virtual float AMOUNT (float t)
 
virtual int MASK_INPUT ()
 
virtual void MASK_PLANE (UT_String &s)
 
virtual int MASK_INVERT ()
 
virtual int MASK_RESIZE ()
 
bool getMask (int &pindex, int &cindex)
 
float getAmount (int image_index)
 
- Protected Member Functions inherited from COP2_PixelBase
 COP2_PixelBase (OP_Network *parent, const char *name, OP_Operator *entry)
 
virtual ~COP2_PixelBase ()
 
virtual int scope (UT_String &scope)
 
virtual int frameScope (UT_String &scope)
 
virtual bool usesPartialFrameScope ()
 
virtual COP2_ThreadPref getThreadPreference () const
 
virtual bool isFrameScoped (int image_index)
 
virtual void setDefaultScope (bool color, bool alpha, const char *others)
 
int RGBA ()
 
int FSCOPE_METHOD ()
 
void FRANGE (float &start, float &end)
 
void FDROP (float &start, float &end)
 
int FSCOPE_FUNCTION ()
 
float FSCOPE_EFFECT ()
 
void FRAME_SPECIFIC (UT_String &st)
 
int FAUTO ()
 
int CURRENT_LENGTH ()
 
void SCOPE (UT_String &st)
 
void SET_SCOPE (const UT_String &st)
 
void SET_FRANGE (float start, float end)
 
void SET_FDROP (float start, float end)
 
void SET_CURRENT_LENGTH (int length)
 
- Protected Member Functions inherited from COP2_Node
 COP2_Node (OP_Network *net, const char *name, OP_Operator *entry)
 
virtual ~COP2_Node ()
 
virtual OP_ERROR cookMe (OP_Context &)
 
virtual bool cook (OP_Context &)
 
virtual OP_ERROR bypassMe (OP_Context &, int &)
 
void setVariableUseFullRes (bool onoff)
 
virtual bool evalVariableValue (fpreal &val, int index, int thread)
 
virtual bool evalVariableValue (UT_String &v, int i, int thr)
 
virtual void getMyExternalReferences (UT_StringArray &reflist, UT_StringArray *nodelist=0, bool collapse=false, bool check_missing=false, bool show_missing_only=false)
 
void launchViewer (TIL_ViewerType view)
 
void addError (int code, const char *msg=0)
 
void addSystemError (const char *msg=0)
 
void addWarning (int code, const char *msg=0)
 
void addSystemWarning (const char *msg=0)
 
void addMessage (int code, const char *msg=0)
 
void addCookError (int code, const char *msg=0)
 
void addCookSystemError (const char *msg=0)
 
void addCookWarning (int code, const char *msg=0)
 
void addCookSystemWarning (int code, const char *msg=0)
 
void addCookMessage (int code, const char *msg=0)
 
virtual int isScaledImageDifferent () const
 
virtual void inputOpenFailed (int)
 
virtual const char * getOperationInfo ()
 
bool isInputBlocked (int thread)
 
TIL_TileListinputTile (int input_index, COP2_Context &context, const TIL_Plane *plane, int array_index, float t, int xstart, int ystart, OP_ERROR *err=0, int block=1, bool *mask=0, COP2_Node *fromtile=0, bool correctorig=true, bool *blocked=0, bool *was_corrected=0)
 
TIL_TileListinputTile (int input_index, COP2_Context &context, int xstart, int ystart, OP_ERROR *err=0, int block=1, bool *mask=0, bool *blocked=0, bool *was_corrected=0)
 
TIL_TileListinputTile (int input, COP2_Context &context, TIL_TileList *mytile, float t, OP_ERROR *err=0, int block=1, bool *mask=0, bool *blocked=0, bool *was_corrected=0)
 
TIL_TileListinputTile (int input, COP2_Context &context, TIL_TileList *mytile, OP_ERROR *err=0, int block=1, bool *mask=0, bool *blocked=0, bool *was_corrected=0)
 
bool copyInput (int input, COP2_Context &context, TIL_TileList *tilelist, float t, OP_ERROR *err=0, int block=1, bool *mask=0)
 
bool copyInput (int input, COP2_Context &context, TIL_TileList *mytile, OP_ERROR *err=0, int block=1, bool *mask=0)
 
TIL_TileListpassInputTile (int input_index, COP2_Context &context, const TIL_Plane *plane, int array_index, float t, int xstart, int ystart, int block, bool *blocked, bool *mask, COP2_Node *fromTile=0)
 
void releaseTile (TIL_TileList *&, bool reset=false)
 
TIL_RegioninputRegion (int input_index, COP2_Context &context, const TIL_Plane *plane, int array_index, float t, int xstart, int ystart, int xend, int yend, TIL_RegionExtend hold=TIL_BLACK, int share=1, void *regionmem[PLANE_MAX_VECTOR_SIZE]=0, bool correct_aspect=true, bool correct_bounds=true, int scan_alignment=0)
 
TIL_RegioninputRegion (int input_index, COP2_Context &context, int xstart, int ystart, int xend, int yend, TIL_RegionExtend hold=TIL_BLACK, int share=1, void *regionmem[PLANE_MAX_VECTOR_SIZE]=0, bool correct_aspect=true, bool correct_bounds=true, int scan_alignment=0)
 
TIL_RegioninputRegion (int input_index, COP2_Context &context, const TIL_Plane *plane, int array_index, float t, TIL_TileList *tilelist, int xshift=0, int yshift=0, int copy=0, TIL_RegionExtend hold=TIL_BLACK)
 
TIL_RegioninputRegion (int input_index, COP2_Context &context, TIL_TileList *tilelist, int xshift=0, int yshift=0, int copy=0, TIL_RegionExtend hold=TIL_BLACK)
 
TIL_RegionoutputRegion (const TIL_Plane *plane, int array_index, float t, int xres, int yres, int thread, int xstart, int ystart, int xend, int yend, int share=1, int rindex=0, int alignment=0)
 
TIL_RegionoutputRegion (COP2_Context &context, int xstart, int ystart, int xend, int yend, int share=1, int rindex=0, int alignment=0)
 
TIL_RegionoutputRegion (const TIL_Plane *plane, const TIL_Plane *ref_plane, int array_index, float t, int xres, int yres, int thread, int xstart, int ystart, int xend, int yend, int share=1, int rindex=0, int alignment=0)
 
void scaleInput (int input, COP2_Context &context, const TIL_Plane *plane, int array_index, float t, UT_FilterType xfilter, UT_FilterType yfilter, TIL_TileList *tilelist)
 
TIL_RegiontransformRegion (int input, COP2_Context &context, const TIL_Plane *plane, int aindex, float t, int xres, int yres, int xstart, int ystart, int xend, int yend, const COP2_TransformParms &parms, bool input_aspect_adjust=true, bool streak_off_frame=false)
 
bool transformRegion (int input, COP2_Context &context, TIL_Region *region, const COP2_TransformParms &parms, bool input_aspect_adjust=true, bool bounds_in_canvas_space=true, bool streak_off_frame=false)
 
bool isFullTransform (int input, COP2_Context &context, const COP2_TransformParms &cparms, bool input_aspect_adjust=true, COP2_Node **source_node=0, int *source_index=0, float *aspectx1=0, float *aspectx2=0, float *aspecty1=0, float *aspecty2=0, COP2_TransformParms *prepped_parms=0)
 
TIL_RegiontransformBlurRegion (int input, COP2_Context &context, const TIL_Plane *plane, int aindex, float t, int xres, int yres, int xstart, int ystart, int xend, int yend, float amount, float bias, UT_ValArray< const COP2_TransformParms * > &parms, bool deformation=false)
 
bool transformBlurRegion (int input, COP2_Context &context, TIL_Region *region, float amount, float bias, UT_ValArray< const COP2_TransformParms * > &parms, bool deformation=false, bool bounds_in_canvas_space=true)
 
bool translateRegion (COP2_Context &context, COP2_Node &source_node, int source_input, TIL_Region *region, float tx, float ty, TIL_RegionExtend hold, bool bounds_in_canvas_space, bool streak_off_frame)
 
bool fullTransformRegion (COP2_Context &context, COP2_Node &source_node, int source_input, TIL_Region *region, COP2_TransformParms &parms, float haspect, float input_haspect, float vaspect, float input_vaspect, bool bounds_in_canvas_space)
 
UT_Matrix4 getShiftedInverseTransformMatrix (COP2_Context &context, COP2_Node &source_node, int source_input, const TIL_Plane *iplane, int array_index, const COP2_TransformParms &parms, int &dx, int &dy)
 
void prepareTransformParms (COP2_Context &context, COP2_TransformParms &parms, COP2_Node *&source_node, int &source_index, bool input_aspect_adjust)
 
void adjustPivotParms (int input_index, COP2_TransformParms &parms, bool input_aspect_adjust)
 
void copyAndPrepareTransformParms (const UT_ValArray< const COP2_TransformParms * > &source_parms, UT_ValArray< COP2_TransformParms * > &dest_parms)
 
void extractFromOutputRegion (TIL_TileList *tiles, TIL_Region *output)
 
void releaseRegion (TIL_Region *, int output=0)
 
TIL_TileListrequestWorkingTiles (COP2_Context &context, const TIL_Plane *plane, int array_index, float t, int xstart, int ystart, int *cache_flag=0, int ignore_bypass=0, int block=0)
 
void releaseWorkingTiles (TIL_TileList *list)
 
virtual void passThroughTiles (COP2_Context &context, const TIL_Plane *plane, int array_index, float t, int xstart, int ystart, TIL_TileList *&tile, int block=1, bool *mask=0, bool *blocked=0)
 
virtual int passThrough (COP2_Context &context, const TIL_Plane *plane, int comp_index, int array_index, float t, int xstart, int ystart)
 
TIL_TileListgetBlackTile (const TIL_Plane *plane, int aindex, float t, int xres, int yres, int thread, int xstart, int ystart, bool *mask=0)
 
OP_ERROR cookFullImage (COP2_Context &context, TIL_TileList *tiles, COP2_FullImageCB callback, UT_Lock &fullimagelock, bool use_float)
 
void lockParms (bool lock)
 
COP2_ContextgetContext (const TIL_Plane *plane, int array_index, float t, int xres, int yres, int thread)
 
bool copyInputBounds (int input, COP2_Context &context, int *x1=0, int *y1=0, int *x2=0, int *y2=0)
 
virtual OP_ERROR save (std::ostream &os, const OP_SaveFlags &flags, const char *pathPrefix, const UT_String &name_override=UT_String())
 
virtual OP_ERROR saveIntrinsic (std::ostream &os, const OP_SaveFlags &flags)
 
virtual bool load (UT_IStream &is, const char *extension, const char *path=0)
 
bool getTileInFP (TIL_TileList *tilelist, float *&dest, int index, void *dtile=0)
 
void writeFPtoTile (TIL_TileList *tilelist, float *&src, int index)
 
UT_InterruptgetInterrupt ()
 
void setCOPColoring (COP2_OpColorType type, bool enable)
 
void getOvercookStats (int &redone, int &total)
 
void clearOvercookStats ()
 
void ensureSequenceContainsColorAndAlpha ()
 
virtual void cleanUpInputsRecursively ()
 
const COP2_CookAreaInfogetAreaInfo (COP2_Context &context) const
 
void makeOutputAreaDependOnAllInputAreas (COP2_CookAreaInfo &output_area, const COP2_CookAreaList &input_areas, COP2_CookAreaList &needed_areas)
 
void makeOutputAreaDependOnInputAreas (int input, COP2_CookAreaInfo &output_area, const COP2_CookAreaList &input_areas, COP2_CookAreaList &needed_areas)
 
COP2_CookAreaInfomakeOutputAreaDependOnInputPlane (int input, const char *planename, int array_index, float t, const COP2_CookAreaList &input_areas, COP2_CookAreaList &needed_areas)
 
COP2_CookAreaInfomakeOutputAreaDependOnMyPlane (int input, COP2_CookAreaInfo &output_area, const COP2_CookAreaList &input_areas, COP2_CookAreaList &needed_areas)
 
void getInputAreasForCollapsedTransformInputs (COP2_Context &context, const COP2_TransformParms &transform_parms, COP2_CookAreaInfo &output_area, COP2_CookAreaList &uncollapsed_input_areas, COP2_CookAreaList &needed_areas, bool input_aspect_adjust, bool clear_uncollapse_list)
 
virtual bool allowPartiallyScopedPlanes () const
 
void registerVolatileParm (const char *name, PRM_Callback c, bool ignore_missing=false)
 
void deAnimateFollowChanRef (const char *parmname, int vecidx)
 
void getDependencyInfo (fpreal t, UT_WorkBuffer &text)
 
void getDependencyInfoTree (fpreal t, UT_InfoTree &tree)
 
void swapParm (const char *name1, const char *name2, int vsize)
 
void swapStringParm (const char *name1, const char *name2, int vsize)
 
- Protected Member Functions inherited from OP_Network
 OP_Network (OP_Network *parent, const char *name, OP_Operator *op)
 
virtual ~OP_Network ()
 
virtual void clearAndDestroy (void)
 
void clearAndDestroyNodes (void)
 
virtual int propagateModification (OP_Node *by_whom, OP_EventType reason, int parm_index, OP_PropagateData &prop_data)
 
virtual void buildOpDependencies ()
 
virtual void notifyRenameDependents (const UT_String &full_from, OP_NodeList &cook_nodes)
 
virtual void notifyRenameReferences (const UT_String &full_from, OP_NodeList &cook_nodes)
 
virtual void rebuildOpDependents (bool proxy_only)
 
virtual void cloneFromProxyRefNode (OP_Network *proxy)
 
virtual OP_NetworkcloneToProxyRefNode ()
 
virtual int hasProxyRefNodes () const
 
void removeProxyRefNode (OP_Network *proxy)
 
virtual void moveProxyRefNodes (OP_Network *dest)
 
virtual void moveDependencies (OP_Node *from_node)
 
virtual void beginLoadingInNetwork ()
 Called upon entering and exiting loadNetwork() method. More...
 
virtual void endLoadingInNetwork ()
 
virtual void finishedLoadingChildOrder ()
 
virtual void finishedLoadingNetwork (bool is_child_call=false)
 
virtual bool syncContents (UT_IStream &is)
 
virtual void addNode (OP_Node *node, int notify=1, int explicitly=1)
 
OP_NodefindConnectedNode (OP_Node *op) const
 
OP_NodegetPreferredDisplayNodePtr (OP_Node *skipthisnode) const
 
void resetDisplayNodePtr (OP_Node *skipthisnode=0)
 
OP_NodegetPreferredRenderNodePtr (OP_Node *skipthisnode) const
 
void resetRenderNodePtr (OP_Node *skipthisnode=0)
 
OP_NodegetPreferredAudioNodePtr (OP_Node *skipthisnode) const
 
void resetAudioNodePtr (OP_Node *skipthisnode=0)
 
virtual CHOP_Node ** getAudioNodeRef ()
 
void validateStatusNodePtrs (const OP_NodeList &skipnodes)
 
virtual void updateExtraFlagPtrs ()
 
virtual void nodeUnlocked ()
 
virtual bool canDestroyNode ()
 Return true if it is safe at this time to destroy this node. More...
 
virtual void destroySingleNode (OP_Node *node)
 
void modifyAllChildNodeNames (bool renamepickableobjects, const char *prefix, int &id, std::set< int > *renaming_exclude_ids=NULL)
 
virtual void traverseScope (const char *pattern, OP_ScopeOp scope_op, const OP_ScopeOptions &scope_opts)
 
virtual void getAdditionalUndoNodes (const OP_NodeList &orig_list, OP_NodeList &nodes_for_input_undo)
 
virtual bool getAllowSavingChild (OP_Node *node, const OP_SaveFlags &flags)
 Returns true if the child at node can should be saved, false otherwise. More...
 
- Protected Member Functions inherited from OP_Node
 OP_Node (OP_Network *parent, const char *name, OP_Operator *entry)
 
virtual ~OP_Node ()
 
virtual void doGetFullPath (UT_WorkBuffer &str) const
 Implement the method from PRM_ParmOwner. More...
 
virtual void buildLocalVarNames (UT_StringArray &out_vars)
 
virtual UT_StringHolder evaluateDisableExpression (const PRM_Parm &prm, const UT_StringRef &function) const
 
void finishedLoadingParentNetwork (void)
 
void setNewParent (OP_Network *new_parent)
 
void setLegacyConnectingInputIndex (int index)
 
virtual void clearCache ()
 
void clearInterruptedImpl (bool allow_recook)
 
virtual void doOverridePreCook ()
 
virtual void doOverridePostCook ()
 
int getSourceCount (void) const
 
virtual int bumpSourceCount (int d)
 
virtual OP_ERROR cookInputGroups (OP_Context &context, int alone=0)
 
OP_ERROR saveUserDataPacket (std::ostream &os, const char *path_prefix, const UT_String &node_name)
 
bool loadIntrinsic (UT_IStream &is, const char *path=0)
 
virtual void loadStart ()
 
virtual void loadFinished ()
 
void loadContentsSection ()
 
void setMatchesOTLDefinition (int matches)
 Sets the flag idicating if the node is synced (matched) to the HDA. More...
 
virtual const char * getDataFileExtension (int binary) const
 
virtual void checkTimeDependencies (int do_parms=1, int do_inputs=1, int do_extras=1)
 
unsigned isInput (unsigned idx)
 
void sendEvent (OP_EventType type, void *data=0)
 
int haveSeenDataModification (exint modification_id)
 
OP_CachegetCookCache ()
 
virtual void saveFlagsForUndo ()
 
void saveForUndoLayout ()
 
void clearDependency ()
 Clears all cook dependencies (i.e., items that may cause it to cook) More...
 
bool dirtyForTimeChange (fpreal t)
 
void stealDependents (OP_Node *other)
 
bool hasOpDependents ()
 
void clearOpReferences ()
 
virtual int removeOpDependent (int op_id, const PRM_RefId &ref_id, OP_InterestType mask=OP_INTEREST_ALL)
 removeOpDependent() returns the number of dependents removed More...
 
virtual int removeOpDependent (int op_id, OP_InterestType mask=OP_INTEREST_ALL)
 
virtual void checkChannelDependencies (CH_Channel *ch, CH_CHANGE_TYPE reason)
 
void notifyOpDependents (OP_InterestType interest, bool recurse)
 
void notifyRenameDependents (const UT_String &full_from)
 
void notifyRenameReferences (const UT_String &full_from)
 
virtual void handleOpDependency (int referenced_op_id, const OP_Dependency &op_dep, OP_InterestType interest_type, bool &need_cook, const char *old_fullpath, const char *old_cwd, const char *old_chan_name)
 
virtual void buildParmDependency (int parm_index)
 
void addOpNameReference (const PRM_RefId &ref_id, const UT_String &op_path, OP_InterestType type)
 
void addChannelNameReference (const PRM_RefId &ref_id, const UT_String &op_path, const UT_String &chan_name, OP_InterestType type)
 
OP_NodegetNodeOrCreateProxy (const UT_String &op_path)
 
void addOpReference (const PRM_RefId &ref_id, OP_Node *node, const PRM_RefId &source_ref_id, OP_InterestType type)
 
bool changeOpPathRef (UT_String &value_str, const char *new_fullpath, const char *old_fullpath, const char *old_cwd, const char *new_cwd)
 
void handleStringParmOpPathDependency (int parm_index, int vi, const char *new_fullpath, const char *old_fullpath, const char *old_cwd)
 
void notifyNodeDeletion ()
 
virtual void nodeDeleted (OP_Node *op, int propagate=1)
 
void startCookTimer (const OP_Context &context)
 
void stopCookTimer (const OP_Context &context)
 
virtual const char * getCookTimerLabel (const OP_Context &context) const
 
virtual void permissionError (const char *chname=0)
 
void addInputError (unsigned input_idx)
 
void addInputNodeError (OP_Node *src)
 
virtual bool isInputConnectedInsideSubnet (int input_idx) const
 
virtual bool isNamedInputConnectedInsideSubnet (const OP_ConnectorId &input_name) const
 
virtual void setUniqueId (int id)
 
void changeOpDependentUniqueId (int old_id, int new_id)
 
void changeOpReferenceUniqueId (int old_id, int new_id)
 
virtual void clearUniqueId ()
 
void setAllowBuildDependencies (int yesno)
 
int allowBuildDependencies () const
 
void evaluateAllParms (fpreal t)
 
void getExternalFiles (UT_StringArray &files, const char *stringparm, int framestart, int frameend, bool collapse, bool check_missing, bool show_only_missing, UT_KnownPath path)
 
virtual void getDescriptiveParmName (UT_String &str) const
 
virtual void getDescriptiveName (UT_String &str) const
 
void dirtyDescriptiveNameCache ()
 Marks our cached descriptive name as dirty. More...
 
virtual bool cookedDataUsesAllParameters () const
 
virtual bool cookedDataNeedsErrors () const
 
virtual bool cookDataForAnyOutput () const
 
bool getIsRunningInCreateScript () const
 
virtual void refreshRepresentativeNode (OP_Node &changed_child)
 
virtual void setupConnectorsAfterLoad ()
 
void convertOpdefToAbsolutePath (UT_String &str) const
 
bool isCookedTime (fpreal t) const
 
virtual void dumpMicroNodes (std::ostream &os, bool as_DOT, int indent_level) const
 
void deleteInput (int idx)
 
void deleteInput (const OP_ConnectorId &input_name)
 
virtual void doDeleteInput (int idx)
 Performs actual removal from the member input array. More...
 
void updateErrorSeverity ()
 Update the error severity of this node. More...
 
virtual void onInputAllocated (OP_Input *new_input, int index)
 Overriden in VOPs. More...
 
void checkConnectorsConsistency (void)
 Debug method for checking connector consistency. More...
 
void gatherInputs (UT_Array< OP_InputPair > &input_pairs)
 
void gatherOutputs (UT_Array< OP_OutputPair > &output_pairs)
 
void renameInput (OP_Input *input, int new_id)
 
void renameOutput (OP_Output *output, int new_id)
 
- Protected Member Functions inherited from OP_Parameters
bool updateParmDisableConditional (PRM_Parm &parm, bool force, const UT_StringArray *skip=0)
 
bool updateParmHideConditional (PRM_Parm &parm, const UT_StringArray *skip=0)
 
virtual unsigned disableParms ()
 
void saveMultiParmForUndo (int index)
 
void stealGlobalErrors ()
 
void stealErrors (OP_Parameters &src)
 
UT_LockedRawPtr
< UT_ErrorManager, OP_Lock
getLockedErrorManager ()
 
SYS_FORCE_INLINE bool checkExpressionError (const PRM_Parm *parm, int thread) const
 
void resetParmEventHandler ()
 
intallocIndirect (int size=64)
 
 OP_Parameters (const char *name, OP_Operator *entry)
 
 OP_Parameters (const OP_Parameters &source, const char *name)
 
virtual ~OP_Parameters ()
 
void initializeParms (OP_Channels *channels)
 
int rename (const char *newname)
 
virtual bool createSpareParameterFromChannel (const char *chname)
 
virtual bool createSpareParametersFromChannels (UT_BitArray &selection, const CH_ChannelList &channels)
 
CH_LocalVariablegetVariable (int i) const
 
CH_LocalVariablegetVariable (const char *name) const
 
OP_ERROR saveChannels (std::ostream &os, int binary, bool compiled, int selected)
 
OP_ERROR saveParmChannels (int parm_index, std::ostream &os, int binary, bool compiled)
 
OP_ERROR saveParameters (std::ostream &os, int binary, bool compiled)
 
OP_ERROR saveChannelAliases (std::ostream &os, int binary)
 
bool loadChannels (UT_IStream &is, const char *path, CH_Collection *obsolete_channels)
 
bool loadParameters (UT_IStream &is, const char *path, PRM_ParmList *obsolete_parms)
 
bool loadChannelAliases (UT_IStream &is, const char *path=0)
 
bool loadOldSpareParms (UT_IStream &is)
 
virtual void ensureErrorsAreUpdatedSubclass ()
 
virtual void ensureSpareParmsAreUpdatedSubclass ()
 
- Protected Member Functions inherited from PRM_ParmOwner
 PRM_ParmOwner ()
 
virtual ~PRM_ParmOwner ()
 
- Protected Member Functions inherited from UT_NonCopyableNS::UT_NonCopyable
 UT_NonCopyable ()=default
 
 ~UT_NonCopyable ()=default
 
 UT_NonCopyable (const UT_NonCopyable &)=delete
 
UT_NonCopyableoperator= (const UT_NonCopyable &)=delete
 

Additional Inherited Members

- Public Types inherited from OP_Node
enum  TransformMode {
  TRANSFORM_WORLD, TRANSFORM_IWORLD, TRANSFORM_PRE, TRANSFORM_PARENT,
  TRANSFORM_PARM, TRANSFORM_PRECONSTRAINT, TRANSFORM_PARENTBONE
}
 
enum  RampError { RAMP_ERR_SUCCESS, RAMP_ERR_NOT_FOUND, RAMP_ERR_ONLY_KEY }
 
- Public Member Functions inherited from COP2_KeyBase
virtual bool hasSpillParms () const
 
virtual void setStateControl (int state)
 
- Public Member Functions inherited from COP2_MaskOp
virtual int getOpInput () const
 
virtual int getMaskInput () const
 
virtual const char * inputConnectorLabel (unsigned idx)
 
virtual int getAuxInput () const
 
virtual void getAuxInputName (OP_ConnectorId &name_out)
 
virtual COP2_NodegetPassThroughInput (COP2_Context &)
 
virtual bool doNormalMask (COP2_Context &)
 
int getMaskFromInput ()
 
virtual void computeImageBounds (COP2_Context &context)
 
bool getMaskBounds (float t, int xres, int yres, int thread, int &x1, int &y1, int &x2, int &y2)
 
bool getMaskBounds (COP2_Context &context, int &x1, int &y1, int &x2, int &y2)
 
virtual void modifyViewMatrix (int input, COP2_Context &context, UT_Matrix4 &matrix, float zoom)
 
- Public Member Functions inherited from COP2_PixelBase
virtual bool isPixelBased () const
 
void setScope (const UT_String &st)
 
virtual bool isTimeDepOperation ()
 
- Public Member Functions inherited from COP2_Node
virtual OP_ERROR open (short &key, int clear_errors=0)
 
bool isOpen () const
 
virtual void close (short key)
 
TIL_SequencegetSequenceInfo (OP_ERROR *error=0)
 
const TIL_SequenceinputInfo (int input)
 
float getSequenceTime () const
 
COP2_ImageSourcegetImageSource ()
 
virtual void forceRecook (bool evensmartcache=false)
 
int cookToRaster (TIL_Raster *raster, OP_Context &, const TIL_Plane *plane, int array_index=0, int subregion=1, int clear=1, float black=0.0F, float white=1.0F, int compindex=-1, int ignore_bwpoints=0, const int *comp_map=0, float gamma=1.0F, bool interactive=false)
 
int cookToRaster (TIL_Raster *raster, OP_Context &, const TIL_Plane *plane, int array_index, int xstart, int ystart, int xend, int yend, int subregion=1, int clear=1, float black=0.0F, float white=1.0F, int compindex=-1, int ignore_bwpoints=0, const int *comp_map=0, float gamma=1.0F, bool interactive=false, UT_ValArray< TIL_Raster * > *tiles=0, int tile_index=0, TIL_TileMPlay *=0, bool cleanup_after=true)
 
int cookToRaster (UT_ValArray< TIL_Raster * > &rasters, UT_ValArray< OP_Context * > &contexts, UT_ValArray< const TIL_Plane * > &planes, UT_IntArray &array_index, UT_ValArray< const int * > &comp_map, UT_Array< UT_InclusiveRect > &bounds, int subregion=1, int clear=1, float black=0.0F, float white=1.0F, int compindex=-1, int ignore_bwpoints=0, float gamma=1.0F, bool interactive=false, UT_ValArray< TIL_Raster * > *tiles=0, int tile_index=0, TIL_TileMPlay *=0, bool cleanup_after=true)
 
void computePlaneCookParms (COP2_PlaneCookParms &plane_parms, OP_Context &context, const TIL_Plane *rplane, int array_index, TIL_Raster *raster, int thread_index, const int *compmap, int xstart, int ystart, int xend, int yend, bool flipbook, UT_ValArray< TIL_Tile * > *tile_list)
 
bool isPlaneCached (const TIL_Plane &refplane, int array_index, float time, int xres, int yres, int xstart, int ystart, int xend, int yend, bool flipbook)
 
bool isPlaneCached (COP2_Context &context, const TIL_Plane &refplane, int xstart, int ystart, int xend, int yend, bool flipbook)
 
void checkpointCachedTilesForPlane (const TIL_Plane &refplane, int array_index, float time, int xres, int yres, int xstart, int ystart, int xend, int yend, bool flipbook, UT_ValArray< TIL_Tile * > &tile_list)
 
void checkpointCachedTilesForPlane (COP2_Context &context, const TIL_Plane &refplane, int xstart, int ystart, int xend, int yend, bool flipbook, UT_ValArray< TIL_Tile * > &tile_list)
 
double mapTimeIntoSequence (double time)
 
int cookToFile (const UT_StringArray &filenames, const IMG_TileOptions *, const TIL_Sequence *scope, const UT_IntArray &image_index, const char *uselut=0, float gamma=1.0F, UT_InclusiveRect *bounds=0, bool single_frame=false, bool thread_io=false, bool env_map=false, bool use_progress_dialog=true)
 
int cookToFile (const UT_StringArray &filenames, const IMG_TileOptions *, OP_Context &context, const UT_IntArray &image_index, const char *cplane, const char *aplane=0, const char *uselut=0, float gamma=1.0F, UT_InclusiveRect *bounds=0, bool single_frame=false, bool thread_io=false, bool env_map=false, bool use_progress_dialog=true)
 
void waitForLastFile ()
 
int cookFlipbook (const TIL_Sequence &info, int step=1, float gamma=1.0f, const char *lut=0, bool startnew=true, bool(*updateCallback)(void *)=0, void *updateEntity=0, bool write_houdini_frame=true, const char *session_label=NULL)
 
virtual UT_TokenStringgetImageIdentifier (const TIL_Plane *plane, int array_index, float t, int xres, int yres, int thread)
 
COP2_ContextgetContextData (const TIL_Plane *plane, int array_index, float t, int xres, int yres, int thread, bool force_bounds=true)
 
void getImageBounds (const TIL_Plane *plane, int array, float t, int xres, int yres, int thread, int &x1, int &y1, int &x2, int &y2)
 
void getImageBounds (COP2_Context &context, int &x1, int &y1, int &x2, int &y2)
 
bool getInputBounds (int input, COP2_Context &context, int &x1, int &y1, int &x2, int &y2)
 
bool getInputBounds (int input, const TIL_Plane *plane, int array, float t, int xres, int yres, int thread, int &x1, int &y1, int &x2, int &y2)
 
bool isTileAlignedWithInput (int input, COP2_Context &context, int tilex, int tiley, COP2_Node *with_node=0)
 
bool isTileAlignedWithInput (int input, const TIL_Plane *plane, int array_index, float t, int xres, int yres, int thread, int tilex, int tiley, COP2_Node *with_node=0)
 
bool isTileAlignedWithInputAtTime (int input, COP2_Context &context, int tilex, int tiley, float input_time, COP2_Node *with_node=0)
 
bool isInputTileAlignedWithContext (int input, const TIL_Plane *plane, int tilex, int tiley, COP2_Context &context, COP2_Node *with_node=0)
 
bool arePlanesAligned (COP2_Context &context, const TIL_Plane *plane1, int aindex1, const TIL_Plane *plane2, int aindex2, int tilex, int tiley)
 
bool isInputPlaneCompatible (COP2_Context &context, int input_num)
 
bool getInputBoundsDiff (int input, COP2_Context &context, int &dx, int &dy)
 
virtual fpreal getTimeTransform (int input, fpreal t)
 
virtual void getInputRes (int input, fpreal t, const OP_Context &context, OP_Context &icontext)
 
virtual double remapTime (double t)
 
virtual bool isTimeModifier () const
 
virtual bool isSlowOperation () const
 
virtual bool isGPUAssisted (const TIL_Plane &, int, float, int, int, int)
 
virtual bool isGenerator () const
 
void getScaleFactors (int xres, int yres, float &sx, float &sy) const
 
float getXScaleFactor (int xres) const
 
float getYScaleFactor (int yres) const
 
TIL_PlanegetPreviewPlane (int &index)
 
int getPreviewPlane (int &pindex, int &aindex)
 
int isFollowingParent (const COP2_Node *parent)
 
void setPreviewPlane (int pindex, int aindex=0)
 
void parentPreviewChanged ()
 
virtual int isSingleThreadedCop () const
 
void clearTilesInCache ()
 
virtual bool doesFrameExist (int, bool=true)
 
int isAnythingLocked () const
 
int isPlaneLocked (const TIL_Plane *p) const
 
int isSequenceLocked (float t)
 
int isPlaneLocked (const TIL_Plane *p, float t)
 
int lockPlane (const TIL_Plane *p, float t)
 
int lockPlanes (float t)
 
int unlockPlane (const TIL_Plane *p, float t)
 
int unlockPlanes (float t)
 
int unlockAll ()
 
void enableDiskCache (bool enable)
 
bool isDiskCacheEnabled () const
 
virtual void setColorSelection (float *col, int size, bool accum)
 
void tileRemoved (TIL_Tile *removed)
 
bool isCookAborted (int thread_index)
 
bool isInterrupted (int threadidx)
 
void setInterrupted (int threadidx)
 
virtual OP_ERROR getErrorSeverity ()
 
virtual OP_ERROR error ()
 
virtual OP_ERROR error (OP_Context &context)
 
virtual UT_TokenStringgetParmHashCode (OP_Context &context, int group_mask=1)
 
virtual void getPixelFunction (const TIL_Plane *plane, int array_index, float t, int xres, int yres, int thread, COP2_PixelFunction *&function, bool concatenate, bool dependent_too)
 
virtual void getImageTransform (COP2_Context &context, COP2_TransformParms &parms, COP2_Node *&source, int &input_index)
 
bool getPixelValue (const TIL_Plane *plane, int array_index, float t, int xres, int yres, int x, int y, float *color)
 
bool getPixelValueByUV (const char *plane_name, double u, double v, bool interpolate, UT_FloatArray &vals)
 
bool getPixelColorValueByUV (COP2_ColorComponent comp, double u, double v, bool interpolate, float &val)
 
COP2_ThreadPref getThreadPref () const
 
virtual void getMaxNumThreadsInCook (COP2_Context &, int &plane, int &node, int &op) const
 
virtual bool onlyCookInMainThread () const
 
int getThreadIndex ()
 
void buildPlaneMenu (PRM_Name *items, int maxsize, bool useinput=false, bool planes_only=false, bool comps_only=false, bool wild=true, int input=0, bool nocoloralpha=false)
 
virtual bool preferredViewPlane (UT_WorkBuffer &)
 
virtual const char * getChildType () const
 
virtual const char * getOpType () const
 
virtual OP_OpTypeId getChildTypeID () const
 
virtual OP_OpTypeId getOpTypeID () const
 
virtual int64 getMemoryUsage (bool inclusive) const
 
virtual OP_DataType getCookedDataType () const
 
virtual voidgetCookedData (OP_Context &)
 
virtual int getNetOverviewColor (UT_Color &color)
 
virtual void opChanged (OP_EventType type, void *data)
 
virtual void userDataChanged (const UT_StringHolder &key)
 
virtual void getNodeSpecificInfoText (OP_Context &context, OP_NodeInfoParms &iparms)
 
virtual void fillInfoTreeNodeSpecific (UT_InfoTree &tree, const OP_NodeInfoTreeParms &parms)
 
void inputRes (int input, float t, int xres, int yres, int &i_xres, int &i_yres)
 
void processTile (COP2_ThreadCookParms *p)
 
void setInputBlocked (bool blocked, int thread)
 
void removeRegions ()
 
virtual int getNumInputsToOpen () const
 
virtual COP2_NodegetInputToOpen (int i)
 
COP2_CheckpointWrapper * getCheckpointWrapper (int array_index)
 
void setCheckpointWrapper (int array_index, COP2_CheckpointWrapper *wrap)
 
int getNumCheckpointWrappers () const
 
COP2_CheckpointWrapper * getWrapper (int i) const
 
void resetCheckpointWrappers ()
 
virtual COP2_NodeselectInput (int px, int py, const char *plane_name, int array_index)
 
virtual unsigned referenceAllParameters (OP_Parameters *from, bool relative_references=true)
 
virtual OP_ERROR setup (float t, int xres, int yres, int max_threads, bool doinput=true)
 
OP_ERROR cookTile (TIL_TileList *&, float t, int xres, int yres, int thread_index, int max_threads)
 
void recursivelyCleanUp ()
 
void cleanUpCookContexts ()
 
void cleanUpAllRegions ()
 
void bumpCookSerial ()
 
int getCookSerial ()
 
virtual fpreal getW () const
 
virtual fpreal getH () const
 
- Public Member Functions inherited from OP_Network
virtual int getNchildren () const
 
virtual OP_NodegetChild (const char *name=0, int *hint=0) const
 
virtual OP_NodegetChild (int index) const
 
virtual int getChildIndex (const OP_Node *) const
 
virtual int isNetwork () const
 
virtual int getDandROpsEqual ()
 
virtual int updateDandROpsEqual (int check_inputs=1)
 
virtual void moveChildIndex (int srcindex, int dstindex)
 
int getTemplateOps (UT_ValArray< OP_Node * > &list)
 
int getOpsByName (const char *op_name, UT_ValArray< OP_Node * > &list)
 
OP_NodepeekCurrentNodePtr ()
 
OP_NodegetCurrentNodePtr ()
 
void stashCurrentNodePtr (const OP_Node *child)
 
OP_NodegetStashedCurrentNodePtr () const
 
virtual OP_NodegetDisplayNodePtr ()
 
virtual OP_NodegetRenderNodePtr ()
 
virtual CHOP_NodegetAudioNodePtr ()
 
virtual const UT_ValArray
< OP_Node * > & 
getOutputNodePtrs () const
 
virtual void childDeleted (OP_Node *)
 
virtual void childFlagChange (OP_Node *)
 
fpreal getChildrenScale () const
 
void setChildrenScale (fpreal scale)
 
virtual OP_OperatorFiltergetOperatorFilter ()
 
void getNetworkScopeStack (UT_StringArray &scope_stack)
 
bool isOperatorAllowedAsChild (OP_Operator *op)
 Returns true if the given op can be created as a child of this network. More...
 
bool isToolAllowed (const char *tool_name)
 Returns true if the given tool can appear in the Tab menu for this net. More...
 
OP_NodecreateNode (const char *type, const char *name=0, int notify=1, int explicitly=1, int loadcontents=1, int *aliasedScriptedOp=0, char *matIconFilename=0, bool exact_type=false)
 
OP_NodecreateNodeOfExactType (const char *type, const char *name=0)
 Convenience method for requesting en exact type. More...
 
virtual OP_NetworkcreateProxyRefNode (const char *path)
 
OP_NodecopyNode (const OP_Node *srcnode, const char *toname=NULL, bool reference_parameters=false)
 
bool copyItems (const OP_NetworkBoxItemList &srcitems, OP_NetworkBoxItemList &destitems, bool reference_parameters, bool relative_references)
 
void copyPickedItems (const OP_Network *srcnet, OP_ItemTypeMask item_type_mask, OP_Group *newnodes=nullptr, const OP_FixNameParms *fix_name_parms=nullptr)
 
OP_NetworkBoxcopyNetworkBox (OP_NetworkBox *srcnetbox, OP_NetworkBoxSaveType save_type, OP_NodeList *nodes=NULL, const char *toname=NULL, bool reference_parameters=false)
 
OP_PostItcopyPostItNote (OP_PostIt *src_note, const char *toname=0)
 
void copyPickedNodes (const OP_Network *srcnet, OP_Group *newnodes=0, const OP_FixNameParms *fix_name_parms=0)
 
virtual bool movePickedNodes (OP_Network *src_net, OP_NodeList *src_nodes_ptr=NULL, OP_NodeList *dest_nodes_ptr=NULL)
 
int destroyNode (OP_Node *node)
 
int destroyNodes (const OP_NodeList &nodes)
 
virtual int renameNode (OP_Node *node, const char *name, OP_RenameAction action=OP_RENAME_NORMAL)
 
OP_NetworkfindOrCreateMotionEffectsNetwork (bool create=true)
 
OP_NodedeleteImplicitAncestors (OP_Node &node, const char *state=0, OP_Node *keep_node=0, bool included=true)
 
OP_NodegetImplicitAncestors (OP_NodeList &implicit_nodes, OP_NodeList &border_nodes, OP_Node &node, const char *state=0, OP_Node *keep_node=0, bool included=true)
 
int getAllCollections (UT_ValArray< CH_Collection * > &list, int hide=0)
 
void uniqueNodeName (UT_String &name, UT_StringSet *fakeChildren=0)
 
virtual int isInvalidName (const char *name)
 
OP_ERROR savePickedItems (std::ostream &os, const OP_SaveFlags &flags, OP_ItemTypeMask item_type, OP_NetworkBoxSaveType save_type=OP_NETWORKBOX_SAVE_ALL_CONTENTS)
 
OP_ERROR saveAllItems (std::ostream &os, const OP_SaveFlags &flags, OP_ItemTypeMask item_type)
 
OP_ERROR saveSingle (std::ostream &os, OP_Node *op, const OP_SaveFlags &flags, const UT_String &name_override=UT_String())
 
OP_ERROR saveSingle (std::ostream &os, OP_Node *op, const OP_SaveFlags &flags, const OP_SaveFlags &childflags, std::set< int > *renaming_exclude_ids=NULL, const UT_String &name_override=UT_String())
 
OP_ERROR saveSingleNetworkBox (std::ostream &os, OP_NetworkBox &netbox, const OP_SaveFlags &flags, OP_NetworkBoxSaveType save_type, OP_NodeList *nodes=NULL)
 
OP_ERROR saveSinglePostIt (std::ostream &os, OP_PostIt &pnote, const OP_SaveFlags &flags)
 Save a single post it note. More...
 
OP_ERROR saveSingleDot (std::ostream &os, OP_Dot &dot, const OP_SaveFlags &flags)
 Save a single dot. More...
 
OP_ERROR saveOpList (std::ostream &os, const UT_ValArray< OP_Node * > &op_list, const OP_SaveFlags &save_flags, int *nsaved=NULL)
 
OP_ERROR saveItemList (std::ostream &os, const OP_NetworkBoxItemList &items, const OP_SaveFlags &save_flags)
 
const char * getClipboardFile (const char *file_prefix=0)
 
int saveToClipboard (int all, OP_TileType type=OP_TILE_NODE, int grouplist=0, OP_ItemTypeMask item_type=OP_ITEMTYPE_NODE, const char *file_prefix=0)
 
int loadFromClipboard (fpreal x=0, fpreal y=0, bool turn_off_display=false, const char *file_prefix=0)
 
bool loadNetwork (UT_IStream &is, int merge=0, const char *pattern=NULL, int overwrite=0, const OP_FixNameParms *fix_name_parms=NULL, UT_StringArray *src_names=NULL, UT_StringArray *dest_names=NULL)
 
bool pasteNetworkForMove (UT_IStream &is, UT_StringArray &src_names, UT_StringArray &dest_names)
 
virtual bool opShouldHandleChange (OP_EventType reason)
 
virtual void clearUnreferencedInputs ()
 
int getLoadCollisions (UT_IStream &is, OP_NodeList &node_list, UT_ValArray< OP_NetworkBox * > &netbox_list, UT_ValArray< OP_PostIt * > &pnote_list, const char *pattern="*")
 
void simulateNameCollisions (UT_StringArray &names)
 
const UT_ValArray< OP_Node * > * getSortedList ()
 
OP_NodegetAnyOutputOf (OP_Node *op) const
 
OP_NodegetAnyOP () const
 
char * findUniqueGroupName (const char *basename=0)
 
OP_GroupfindGroup (const char *name) const
 
OP_GroupcreateGroup (const char *name=0)
 
int destroyGroup (const char *name)
 
int destroyGroup (OP_Group *group)
 
int getNgroups () const
 
OP_GroupgetGroup (int index) const
 
int getGroups (UT_ValArray< OP_Group * > &list, int internal=0)
 
int getMemberships (const OP_Node *node, UT_ValArray< OP_Group * > &list, int internal=0)
 
char * findUniqueNetworkBoxName (const char *base=NULL)
 
char * findUniquePostItNoteName (const char *base=NULL)
 
char * findUniqueDotName (const char *base=NULL)
 
OP_NetworkBoxcreateNetworkBox (const char *name, OP_NetworkBoxItemList *items=NULL)
 
int getNnetworkBoxes () const
 
virtual OP_NetworkBoxfindNetworkBox (const char *const_path)
 
OP_NetworkBoxgetNetworkBox (int index) const
 
OP_NetworkBoxgetNetworkBox (const char *name) const
 
OP_PostItcreatePostItNote (const char *name)
 Pass in NULL as the name if you'd like a default name. More...
 
int getNpostItNotes () const
 
virtual OP_PostItfindPostItNote (const char *const_path)
 
OP_PostItgetPostItNote (int index) const
 
OP_PostItgetPostItNote (const char *name) const
 
OP_DotListgetDotList ()
 
int getNdots () const
 
virtual OP_DotfindDot (const char *const_path)
 
OP_DotgetDot (int index) const
 
OP_DotgetDot (const char *name) const
 
unsigned int nPicked (OP_ItemTypeMask item_type_mask, bool include_hidden_nodes) const
 
void getPickedItems (OP_ItemTypeMask item_type_mask, OP_NetworkBoxItemList &picked, bool include_hidden=false, bool recurse_picked_netboxes=false) const
 
void getAllItems (OP_ItemTypeMask item_type_mask, OP_NetworkBoxItemList &items) const
 Return all items that match the type mask. More...
 
bool destroyItem (OP_NetworkBoxItem *item)
 Returns true if the item was successfully deleted. More...
 
int destroyItems (const OP_NetworkBoxItemList &items)
 Returns the number of successfully deleted items. More...
 
virtual OP_NetworkBoxItemfindItem (const char *const_path, OP_ItemTypeMask item_type=OP_ITEMTYPE_ALL)
 
OP_NetworkBoxItemgetItem (const char *name, OP_ItemTypeMask item_type=OP_ITEMTYPE_ALL)
 
bool isSubNode (const OP_Node *node) const
 
void clearSelection (OP_TileType t, int grouplist)
 
void setAllPickFlags (OP_ItemTypeMask item_type, int value)
 
void pickRequest (OP_NetworkBoxItem *item, int shift)
 
void pickRequest (int shift)
 
void addPicked (const OP_Group *group)
 
void subPicked (const OP_Group *group)
 
OP_OperatorTablegetOperatorTable () const
 
virtual const char * getScriptDirectory ()
 
virtual void clearUndoFlags ()
 
bool wantsParentInputs () const
 
int getNparentInputs () const
 
virtual OP_SubnetIndirectInputfindParentInput (const char *const_path)
 
OP_SubnetIndirectInputgetParentInput (int index) const
 
OP_SubnetIndirectInputgetParentInput (const char *name) const
 
int getIndirectString (OP_IndirectInput *, UT_String &)
 
OP_IndirectInputresolveIndirectString (const char *)
 
virtual void inputConnectChanged (int which)
 
void getAllConnectedChildren (int input_index, OP_NodeList &nodes, bool expandSubnets=true) const
 
void getAllConnectedChildrenNamed (const OP_ConnectorId &input_name, OP_NodeList &nodes, bool expandSubnets=true) const
 
virtual void setViewSetting (const char *)
 
virtual const char * getViewSetting () const
 
virtual void dumpDependencies (std::ostream &os)
 
virtual void changeParmTemplate (PRM_Template *new_template)
 
int getNumChildManagers (OP_OpTypeId type) const
 
void addChildManager (OP_OpTypeId type)
 
void removeChildManager (OP_OpTypeId type)
 
virtual bool getSaveWithVopnets ()
 
virtual void runDelScript ()
 
void clearDelScripts (int pickedOnly)
 
virtual void unscopeChannels (bool recurse)
 
virtual void globNetworkBoxes (const char *pat, UT_String *expand, UT_ValArray< OP_NetworkBox * > *list=0, OP_GlobContext *context=0, const char *prefix=" ")
 
virtual void globPostIts (const char *pat, UT_String *expand, UT_ValArray< OP_PostIt * > *list=0, OP_GlobContext *context=0, const char *prefix=" ")
 
OP_ERROR saveNetworkBoxes (std::ostream &os, const OP_SaveFlags &flags, const char *path_prefix)
 Save out all the netboxes in this network to 'os' in separate packets. More...
 
OP_ERROR savePostIts (std::ostream &os, const OP_SaveFlags &flags, const char *path_prefix)
 
OP_ERROR saveDots (std::ostream &os, const OP_SaveFlags &flags, const char *path_prefix)
 
bool loadNetworkBox (UT_IStream &is, const char *path="", bool path_contains_network=true, bool path_contains_packet_ext=true, int overwrite=0, OP_NetworkBox **created=NULL)
 
bool loadPostIt (UT_IStream &is, const char *path="", bool path_contains_network=true, bool path_contains_packet_ext=true, int overwrite=0, OP_PostIt **created=NULL)
 
bool loadDot (UT_IStream &is, const char *path="", bool path_contains_network=true, bool path_contains_packet_ext=true, int overwrite=0, OP_Dot **created=NULL)
 
int getRepresentativeNodeId (OP_Node *changed_child, int current_rep_id)
 
bool changeChildNodeType (OP_Node *child, const char *newtype, bool keepname, bool keepparms, bool keepcontents, bool quiet, int *newChildId=NULL)
 
bool getIsSubNodeEditable (const OP_Node *subnode) const
 
bool hasAnyEditableSubNodes () const
 
bool getMessageSubNodes (OP_NodeList &list) const
 
virtual void getActiveOperatorsDefinedByOTL (UT_Set< OP_Operator * > &active_operators) const
 
OP_SubnetIndirectInputgetNamedParentInput (const OP_ConnectorId &name) const
 
bool getIsClearingContentsOfEditableSubnodes ()
 
void setCachedMimeFile (const char *filename)
 
const char * getCachedMimeFile () const
 
void clearCachedMimeFile ()
 
bool hasCachedMimeFile () const
 
- Public Member Functions inherited from OP_Node
OP_NetworkgetParent () const
 
OP_NetworkgetRootCompiledParent () const
 
virtual OP_NetworkgetParentNetwork () const
 Returns the network that is our parent. More...
 
bool getIsContainedBy (const OP_Node *testparent) const
 
const UT_StringgetNetName () const
 Return the name of this node's parent. More...
 
virtual OP_ItemType getItemType () const
 Our children should implement this and return what type of item they are. More...
 
const UT_StringgetDelScript (void) const
 Obtain the node's script which is called when it is being deleted. More...
 
bool setDelScript (const char *str)
 
void pickRequest (int shift)
 
bool notifyVarChange (const char *varname, OP_NodeList *changed_nodes=nullptr)
 
void getPickedChildren (OP_NodeList &picked, bool include_hidden=false) const
 
void getAllChildren (OP_NodeList &children) const
 
virtual OP_NodematchChild (const char *pattern, OP_Node *prevmatch=0, const char *optype=0, int casesensitive=0) const
 
virtual OP_NodematchChildBackwards (const char *pattern, OP_Node *prevmatch=0, const char *optype=0, int casesensitive=0) const
 
int getUniqueId () const
 
virtual int64 getItemUniqueId () const
 Functions to get hip-file-unique ids for any item type. More...
 
bool expandGroupPattern (const char *pattern, UT_String &result, bool expandToFullPaths=false)
 
bool patternContainsBundle (const char *pattern, const OP_Bundle *bundle) const
 
bool patternContainsGroup (const char *pattern, const OP_Group *group) const
 
virtual int isManager () const
 
virtual int isManagementNode () const
 
bool isEffectivelyAManagementNode () const
 
virtual int isSubNetwork (bool includemanagementops) const
 
virtual int isInSubNetwork () const
 
bool isProxyRefNode () const
 
void setProxyRefNode (bool f)
 
virtual bool isOutputNode () const
 
virtual int whichOutputNode () const
 
int isNetworkWithKids () const
 
virtual int isVex () const
 
OP_BundlegetParmBundle (const char *parm_name, int vector_index, UT_String &pattern, OP_Network *creator, const char *filter)
 
void markBundleRefsAsUnused ()
 
void cleanUnusedBundleRefs ()
 
void cleanAllBundleRefs ()
 
virtual bool bundleChanged (const OP_Bundle *bundle)
 
void touchBundleParm (const char *name)
 
void touchBundleParm (int parm_index)
 
int isAncestor (const OP_Node *node, int checkextra=1) const
 Deprecated in favour of isInputAncestor() More...
 
bool isInputAncestor (const OP_Node *parent, bool check_extra=true) const
 
bool isParentAncestor (const OP_Node *parent) const
 
const char * getInfoText (OP_Context &context, OP_NodeInfoParms &parms)
 
OP_NodefindNode (const char *path) const
 Uses the path (eg. "/obj/geo1") to find a node in our heirarchy. More...
 
OP_NodefindSubNode (const char *path) const
 
SOP_NodegetSOPNode (const char *path, int addextra=0) const
 
COP2_NodegetCOP2Node (const char *path, int addextra=0) const
 
POP_NodegetPOPNode (const char *path, int addextra=0) const
 
DOP_NodegetDOPNode (const char *path, int addextra=0) const
 
ROP_NodegetROPNode (const char *path, int addextra=0) const
 
CHOP_NodegetCHOPNode (const char *path, int addextra=0, bool *got_by_flag=0) const
 
virtual OP_NodecastToOPNode ()
 
virtual const OP_NodecastToOPNode () const
 
virtual void getPathWithSubnet (UT_String &str) const
 Returns the path of this node relative to its getCreator() More...
 
void getPathWithSubnet (UT_StringHolder &str) const
 
void completePath (const char *prefixpath, UT_String &completepath) const
 
virtual CH_ChannelgetTrackChannel (const char *name)
 
virtual bool findParmFromTrack (const OP_FollowChanRefsOptions &opt, const char *trackname, OP_NodeParmRefCycle &cycle, OP_Node *&node, PRM_Parm *&parm, int &vecidx)
 
virtual void evaluateBatchParms (PRM_BatchList &list, fpreal now)
 
void globNodes (const char *pat, UT_String *expand, UT_ValArray< OP_Node * > *list=0, OP_GlobContext *context=0, const char *prefix=" ")
 
CH_ChannelfindChannel (const char *path)
 
void globChannels (const char *, UT_String &expand, OP_GlobContext *context=0, const char *prefix=" ") const
 
void globChannels (const char *pattern, CH_ChannelList &clist, OP_GlobContext *context=0, OP_Node *dependent=0)
 
void globChanRefs (const char *pattern, CH_ChannelRefList &list, OP_GlobContext *context=0, OP_Node *dependent=0)
 
int globParms (const char *pattern, fpreal t, UT_Array< opParmData > &list, OP_GlobContext *context=0, OP_Node *dependent=0, int calc_value=1)
 
void globNodeParms (const char *pattern, fpreal t, UT_Array< opParmData > &list, OP_GlobContext *context, OP_Node *dependent, int calc_value, bool animated_only)
 
void globNodeChannels (const char *pattern, CH_ChannelList &list, OP_GlobContext *context, int *parm_start=nullptr, UT_IntArray *parm_indices=nullptr, UT_IntArray *parm_sub_indices=nullptr) const
 
void globNodeChanRefs (const char *pattern, CH_ChannelRefList &list, OP_GlobContext *context, int *parm_start=nullptr, UT_IntArray *parm_indices=nullptr, UT_IntArray *parm_sub_indices=nullptr) const
 
int getAllChannels (CH_ChannelList &list, int scoped=0)
 
virtual void referencedParmChanged (int pi)
 
virtual void reloadExternalFiles ()
 
virtual unsigned needToCook (OP_Context &context, bool queryonly=false)
 
bool parallelCook (OP_Context &context)
 
template<typename F >
void cookLockedExecute (const F &functor)
 
OP_CookLockgetCookLock ()
 
UT_TaskStatetaskState ()
 
const UT_TaskStatetaskState () const
 
virtual OP_ERROR pubCookInputGroups (OP_Context &context, int alone=0)
 
void bumpVersionParm ()
 
int cookParmsModified () const
 
virtual int getDataClass () const
 
virtual void getXformOrder (UT_XformOrder &xord, const CH_Channel *chp) const
 
virtual bool loadCookedData (UT_IStream &is, const char *path=0)
 
virtual int getRelativeTransform (OP_Node &to, UT_Matrix4 &xform, OP_Context &context)
 
virtual int getRelativeTransform (OP_Node &to, UT_DMatrix4 &xform, OP_Context &context)
 
virtual int getRelativeCaptureTransform (OP_Node &to, UT_Matrix4 &xform, OP_Context &context)
 
virtual int getRelativeCaptureTransform (OP_Node &to, UT_DMatrix4 &xform, OP_Context &context)
 
virtual bool getWorldTransform (UT_Matrix4D &xform, OP_Context &)
 
virtual bool getIWorldTransform (UT_Matrix4D &xform, OP_Context &)
 
virtual bool getTransform (TransformMode mode, UT_Matrix4D &xform, OP_Context &)
 
bool getWorldTransform (UT_Matrix4F &xform, OP_Context &ctx)
 
bool getIWorldTransform (UT_Matrix4F &xform, OP_Context &ctx)
 
bool getTransform (TransformMode mode, UT_Matrix4F &xform, OP_Context &ctx)
 
void addTransformError (const OP_Node &node, const char *label=0) const
 
virtual bool getBoundingBox (UT_BoundingBox &box, OP_Context &)
 
virtual const char * getInternalOpTable () const
 
virtual OP_OperatorgetInternalOperator () const
 
virtual const char * inputLabel (unsigned idx) const
 
virtual const char * outputLabel (unsigned idx) const
 
const char * inputLabelNum (unsigned idx) const
 
const char * outputLabelNum (unsigned idx) const
 
virtual int isRefInput (unsigned idx) const
 
int setLock (int state, int saveundo=1)
 
int getSoftLock () const
 
int getHardLock () const
 
int getLock () const
 
int getNetworkLock (bool relaxedlockcheck=false, const OP_Node *inputNode=nullptr) const
 
virtual int setModelLock (int on_off, void *modeler=0, int allow_softlock_promotion=0, UT_Undo *undo=0)
 
int getModelLock () const
 
int setUnload (int on_off)
 
int getUnload () const
 
virtual bool isLoaded () const
 
virtual bool unloadData ()
 
void takeActivateFlag (uchar flag, bool enable=true, bool send_flag_event=true)
 
void takeDeactivateFlag (uchar flag)
 
bool takeIsActiveFlag (uchar flag) const
 
void setHasTakeData (int onoff)
 
bool canAccessFlag (unsigned mask, uchar flag) const
 
virtual int setPicked (int on_off, bool propagate_parent_event=true)
 
int setEditPicked (int on_off, bool propagate_parent_event=true)
 
void setAutoscope (bool on_off)
 
bool isAutoscope ()
 
int setCurrent (int on_off)
 
int setExpose (int on_off)
 
int setBypass (int on_off)
 
int setTemplate (int on_off)
 
int setFootprint (int on_off)
 
int setXray (int on_off)
 
int setDisplay (int on_off)
 
int setRender (int on_off)
 
int setHighlight (int on_off)
 
int setModified (int on_off)
 
int setSaveBypass (int on_off)
 
int setSaveData (int on_off)
 
virtual int setPickable (int on_off)
 
virtual int setAudio (int on_off)
 
virtual int setExport (int on_off)
 
virtual int setDebug (int on_off)
 
virtual int setDisplayOrigin (int on_off_unchanged)
 
void userSetTemplate (bool onoff)
 
void userSetSelectableTemplate (bool onoff)
 
virtual int setFlag (char tag, int on_off)
 
virtual int getFlag (char tag) const
 
virtual int getPicked () const
 
virtual int getEditPicked () const
 
int getCurrent () const
 
int getDisplay () const
 
int getRender () const
 
int getHighlight () const
 
int getBypass () const
 
int getTemplate () const
 
int getFootprint () const
 
int getXray () const
 
int getExpose () const
 
int getModified () const
 
int getSaveBypass () const
 
int getSaveData () const
 
virtual int getHasTakeData () const
 
virtual int getPickable ()
 
virtual int getAudio () const
 
virtual int getExport () const
 
virtual int getDebug () const
 
virtual int getDisplayOrigin () const
 
virtual bool getItemExpose () const
 
virtual void setItemExpose (bool expose)
 
int getDisplayDescriptiveName () const
 
int setDisplayDescriptiveName (int state)
 
int getDisplayComment () const
 
int setDisplayComment (int state)
 
OP_NodegetPickableSelfOrParent ()
 
int setCompress (int on_off)
 
int getCompress () const
 
void setCurrentAndPicked ()
 
virtual bool setVisible (int onoff)
 
virtual bool getVisible () const
 
const OP_NodeFlagsflags () const
 
OP_NodeFlagsflags ()
 
virtual void getSaveFlagsString (UT_String &cmd, const char *flags, bool save_to_hip) const
 
virtual void getPreParmSaveFlagsString (UT_String &cmd) const
 
virtual void getPostParmSaveFlagsString (UT_String &cmd) const
 
int hasOpInterest (void *data, OP_EventMethod m) const
 
void addOpInterest (void *data, OP_EventMethod m)
 
void removeOpInterest (void *data, OP_EventMethod m)
 
int isBeingDeleted () const
 
void setNodeBeingDeleted (int beingdeleted)
 
bool setInhibitInputConsolidation (bool value)
 
virtual unsigned minInputs () const
 Minimum inputs that must be connected to a node for it to cook. More...
 
virtual unsigned maxInputs () const
 Maximum inputs that can be connected to a node. More...
 
virtual unsigned getNumVisibleInputs () const
 
virtual unsigned orderedInputs () const
 
virtual unsigned maxOutputs () const
 
virtual unsigned getNumVisibleOutputs () const
 
bool hasUnorderedInputs () const
 Returns true if the operator type says we have unordered inputs. More...
 
virtual unsigned nInputs () const
 
unsigned nConnectedInputs (bool check_subnet_inside=true) const
 
unsigned getActiveInputIndex () const
 
void setActiveInputIndex (unsigned idx)
 
OP_NodegetInput (unsigned idx, bool mark_used=false) const
 Returns the node connected to a particular input (may be null). More...
 
virtual OP_NodegetInputFollowingOutputs (int input) const
 
int getConnectedInputIndex (int startAt=-1) const
 
int getNthConnectedInput (int n) const
 Gets the index of the Nth non-null connection to this node. More...
 
virtual void getParallelInputs (OP_Context &context, OP_NodeList &nodes) const
 
void forceClearInput (int idx)
 Forcibly clear an input. Used when deleting the input. More...
 
virtual OP_ERROR setInput (unsigned idx, OP_Node *op, unsigned outputIdx=0)
 Sets a given input to connect to an output of a particular node. More...
 
virtual OP_ERROR setIndirectInput (unsigned idx, OP_IndirectInput *input)
 Connects an input to an indirect input of our parent subnet. More...
 
virtual OP_ERROR setInputReference (unsigned idx, const char *label, int keeppos, unsigned outputIdx=0)
 Connects an input to particular node by name in the network. More...
 
int whichInputIs (const OP_Node *who) const
 
int whichInputIs (const OP_IndirectInput *who) const
 Returns the index of the first connection of an indirect input. More...
 
int whichInputIs (const OP_IndirectInput *whoi, int cnt) const
 
int whichOutputIs (const OP_Node *target_node, int input_on_target_node) const
 
int whichOutputIsFollowingIndirect (const OP_Node *target_node, int input_on_target_node) const
 
int whichInputIs (OP_Node *source_node, int counter)
 
void consolidateInputs ()
 
virtual bool allowConsolidatingInput (int idx)
 
virtual OP_InputgetInputReference (unsigned idx, bool grow)
 
virtual OP_InputgetInputReferenceConst (unsigned idx) const
 
virtual int doDeleteRewire () const
 
virtual void moveInput (int srcidx, int dstidx, bool forcesubnet=false)
 
OP_ERROR insertInput (unsigned idx, OP_Node *op, unsigned outputIdx)
 
OP_ERROR insertIndirectInput (unsigned idx, OP_IndirectInput *input)
 
virtual int getInputEditorInputs ()
 
virtual bool allowInputEditorInputParm ()
 Returns true if editor should display parameter option menu button. More...
 
virtual bool allowInputEditorInputDelete ()
 Returns true if editor should display delete input button. More...
 
virtual bool getInputEditorInputLabel (UT_String &label, int idx)
 
virtual const OP_DataMicroNodedataMicroNodeConst () const
 
OP_DataMicroNodedataMicroNode ()
 
virtual const OP_DataMicroNodeparmListMicroNodeConst () const
 
OP_DataMicroNodeparmListMicroNode ()
 
bool hasIndepParmListMicroNode () const
 
DEP_MicroNodeflagMicroNode ()
 
DEP_MicroNodeparmMicroNode (int parm_idx, int vi)
 
const DEP_MicroNodeeventMicroNodeConst (OP_EventType e) const
 Accessors to event micro nodes. More...
 
DEP_MicroNodeeventMicroNode (OP_EventType e)
 
virtual void getOwnedMicroNodes (DEP_MicroNodeList &micronodes)
 
void propagateDirtyMicroNode (DEP_MicroNode &micronode, OP_EventType reason, void *data, bool send_root_event)
 
virtual void addExtraInput (OP_Node *op, OP_InterestType type)
 
void addExtraInput (OP_Node &op, int parm_i, int vec_i)
 
void addExtraInput (const OP_InterestRef &source_ref)
 
void addExtraInput (DEP_MicroNode &source_micronode)
 
void addMultiparmInterests (OP_Node *srcnode, PRM_Parm &parm)
 
void getExtraInputNodes (OP_NodeList &extras, bool remove_duplicates=true, bool data_interest=true, bool parm_interest=true, bool flag_interest=true, bool include_parmlist=true) const
 
void getExtraOutputNodes (OP_NodeList &extras, bool remove_duplicates=true, bool data_interest=true, bool parm_interest=true, bool flag_interest=true) const
 
int getNumExtraInputs () const
 
void dumpExtraInputs (std::ostream &os, bool as_DOT, int indent_level=0) const
 
void addGenericOpNameReference (const UT_String &oppath)
 
void addGenericOpNameReference (const PRM_RefId &ref_id, OP_Node *node)
 
void addGenericOpInputReference (const PRM_RefId &ref_id, OP_Node *node)
 
bool getParmBaseNodePath (UT_String &path, int parm_index, int thread) const
 
virtual void rebuildParmDependency (int parm_index)
 
virtual void clearParmDependency (int parm_index)
 
void decrementOpReference (int node_id)
 
void dumpOpDependents (OP_Node *ref, int brief, std::ostream &os)
 
const OP_DependencyListgetOpDependents () const
 
int countReferences (int op_id)
 
void getExistingOpReferences (OP_NodeList &refs, bool recurse)
 
void getFullOpReferences (OP_NodeList &refs, bool include_descendants) const
 
void getExistingOpDependents (OP_NodeList &deps, bool include_descendants)
 
void getFullOpDependents (OP_NodeList &deps, bool include_descendants) const
 
void getParmsThatReference (const char *channame, UT_ValArray< PRM_Parm * > &parms, UT_IntArray &parmsubidxs)
 
unsigned nOutputEntries () const
 
int nOutputItems (int output_idx=-1) const
 
OP_NetworkBoxItemgetOutputItem (int idx, int output_idx=-1) const
 
bool hasAnyOutputNodes (bool through_dots=true, int output_idx=-1) const
 
void getOutputNodes (OP_NodeList &outputs, bool into_subnets=false, bool through_dots=true, int output_idx=-1) const
 
OP_NodegetFirstOutputNode (bool through_dots=true, int output_idx=-1) const
 
OP_NodegetOutputTowardsNode (const OP_Node *target)
 
void fillInfoTree (UT_InfoTree &tree, const OP_NodeInfoTreeParms &parms)
 
virtual bool fillInfoTreeChildSpecific (UT_InfoTree &tree, const OP_NodeInfoTreeParms &parms, OP_Node *child)
 
virtual const char * getDefaultSelectedInfoTreeBranchName () const
 
virtual OP_ERROR lockInput (unsigned idx, OP_Context &context)
 
virtual void unlockInput (unsigned idx)
 
virtual OP_ERROR lockInputs (OP_Context &context)
 
virtual void unlockInputs (void)
 
int getCookCount (void) const
 
void triggerOutputChanged ()
 
void triggerUIChanged (OP_UIChangeType type=OP_UICHANGE_ANY)
 
virtual int cookedInputIndex () const
 
virtual OP_NodegetPassThroughNode (fpreal t, bool mark_used=false)
 
bool setMinimumCacheSize (int min_size)
 
OP_VERSION getVersionParms () const
 
virtual bool handleTimeChange (fpreal)
 
bool isTimeDependent (OP_Context &context)
 
virtual void getExtraNodesForCopyOrDelete (OP_NodeList &extras) const
 
virtual bool runCreateScript ()
 
void updateParmsToMatchCurrentUnits ()
 
virtual void matchOTLDefinition ()
 
virtual void unmatchOTLDefinition ()
 Unmatches (unlocks) the node from the current HDA definition. More...
 
virtual void handleOTLIndexFileCleared ()
 
const UT_StringgetSyncErrors () const
 
OP_ERROR getSyncErrorLevel () const
 Returns the error level generated in our last synchronization attempt. More...
 
int getMatchesOTLDefinition () const
 Interface to flag that specifies whether or not we match our definition. More...
 
int getCanDeviateFromOTLDefinition () const
 
void setAllChildAssetPermissions (int permission)
 
bool getIsEditableAssetSubNode () const
 
void turnOffAllChildExports (void)
 
bool haveLicenseToAccessContents (OP_Node *opt_specific_child=nullptr) const
 
bool haveLicenseToAccessParentContents () const
 
bool haveAncestorWithoutFullLicense (bool ignore_self) const
 
OP_OTLLicenseType getLicense () const
 
OP_NodegetFirstExecLicenseOnlyAncestor (bool ignore_self=true) const
 
OP_NodegetLastExecLicenseOnlyAncestor (bool ignore_self=true) const
 
bool isCompiled () const
 
void saveWires (std::ostream &os, const char *name, int dogeneral=0)
 
void saveOutputWires (std::ostream &os, const char *name, int dogeneral=0)
 
virtual void saveIntrinsicCommand (std::ostream &os, const char *name)
 
virtual OP_ERROR saveCommand (std::ostream &os, const char *name, fpreal x, fpreal y, const char *netboxname, const OP_SaveCommandOptions &options)
 Writes to 'os' a string of hscript commands to recreate this node. More...
 
void saveParameterFlags (std::ostream &os, const char *name, const char *command, bool(PRM_Parm::*flag_method)(int) const, bool defaultstoo, bool reverse, UT_Array< opParmData > *parm_array)
 
void saveUserDataCommand (std::ostream &os, const char *node_name, bool omit_version=false)
 
virtual RampError rampCommand (bool remove, fpreal pos, float rgba[4])
 
RampError rampCommand (bool remove, fpreal pos, float rgba[4], UT_Ramp &ramp)
 
virtual bool loadRamp (UT_IStream &is, const char *path=0)
 
bool loadRamp (UT_IStream &is, UT_Ramp &ramp, const char *path=0)
 
OP_ERROR saveRamp (std::ostream &os, UT_Ramp &ramp, const char *name=0, int command=0)
 
bool getUserData (const UT_StringRef &key, UT_StringHolder &result) const
 
void setUserData (const UT_StringRef &key, const UT_StringHolder &data, bool save_undo)
 
bool hasUserData (const UT_StringRef &key) const
 
bool deleteUserData (const UT_StringRef &key, bool save_undo)
 
const UT_OptionsuserData () const
 
bool loadUserData (UT_IStream &is, const char *path=nullptr)
 
OP_ERROR saveUserData (std::ostream &os, const char *path)
 
void clearUserData (bool save_undo)
 
UT_SharedPtr< voidgetBlindData (const char *key) const
 
template<typename T >
UT_SharedPtr< TgetBlindData (const char *key) const
 
void setBlindData (const char *key, UT_SharedPtr< void > ptr)
 
bool hasBlindData (const char *key) const
 Returns true if this object stores a blind data with the given key. More...
 
bool deleteBlindData (const char *key)
 
void getDataBlockKeys (UT_StringArray &keys, const UT_StringHolder &type=UT_StringHolder()) const
 
OP_DataBlockPtr getDataBlock (const char *key) const
 
void setDataBlock (const char *key, OP_DataBlockPtr ptr)
 
OP_ERROR saveDataBlocksPacket (std::ostream &os, const char *path_prefix, const UT_String &node_name)
 
bool loadDataBlocks (UT_IStream &is, const char *path)
 
virtual void dataBlockChanged (const UT_StringHolder &key)
 
virtual int deleteNodeData (void *)
 
void propagateNodeDataDeleted ()
 
PY_OpaqueObjectgetCachedPythonObject (const char *key) const
 
void setCachedPythonObject (const char *key, void *opaque_py_object)
 
bool deleteCachedPythonObject (const char *key)
 
const OP_PythonObjectCachecachedPythonObjects () const
 
bool loadExtraInputs (UT_IStream &is, const char *path=0)
 
void saveOverrides (std::ostream &os)
 
void saveOverrides (std::ostream &os, OP_Node *root, const UT_String &rootpath, bool &added)
 
void saveChildOverrides (std::ostream &os, OP_Node *root, const UT_String &rootpath, bool &added)
 
bool loadOverride (UT_IStream &is)
 
virtual UT_ErrorSeverity prmCookOverrides (fpreal t, int thread, const char *parm_name, int vec_idx)
 
virtual bool isParmPendingOverride (const char *parm_name, int vec_idx) const
 
OP_ERROR cookOverrides (OP_Context &c)
 
virtual void removeOverrideDestination (OP_Node *)
 
virtual void removeOverrideDestination (OP_Node *, int)
 
virtual void executeCommand (const char *command, std::ostream *out, std::ostream *err) const
 
virtual void pushAsPwdAndRunPython (PY_CompiledCode &compiled_code, PY_Result::Type desired_result_type, PY_Result &result, PY_EvaluationContext *context=nullptr) const
 
OP_ERROR executeHscriptScript (UT_String &script, fpreal now)
 
OP_ERROR executePythonScript (UT_String &script, fpreal now)
 
void addPythonNodeError (const PY_Result &py_result)
 
void saveInputs (std::ostream &os, bool compile_basic)
 
bool loadInputs (UT_IStream &is, const char *path=0, bool named=false)
 
void saveNamedInputs (std::ostream &os, bool compile_basic)
 
void saveNamedOutputs (std::ostream &os)
 
bool loadNamedOutputs (UT_IStream &is, const char *path=0)
 
void checkInputs ()
 
virtual void saveDialogScriptExtraInfo (std::ostream &os)
 
virtual void createGalleryEntry (OP_GalleryEntry &entry)
 
void evalOpPathString (UT_String &val, int pi, int vi, fpreal t, int &op_id, fpreal &op_time, int expanded=1)
 
void evalOpPathString (UT_String &val, const char *pn, int &pi, int vi, fpreal t, int &op_id, fpreal &op_time, int expanded=1)
 
virtual int getTranslateParmIndex ()
 
void resolveInputReferences ()
 
virtual void setAnyUndoFlag ()
 
void saveForUndoInput ()
 
void blockModify (int on_off, int propagate=1)
 
int isBlockModify (void) const
 
bool isModifyWaiting () const
 
virtual void propagateEndBlockModify ()
 
virtual const CL_ClipgetClip (OP_Context *context=0)
 
void getMotionEffectsNetworkPath (UT_String &path)
 
const char * getCookDurationString () const
 
void getCookInfo (UT_String &info) const
 Return the cook information as a formatted string. More...
 
void getCookInfoTree (UT_InfoTree &tree) const
 Return the cook information in a UT_InfoTree. More...
 
virtual UT_RampgetRamp ()
 
virtual int isCookingRender () const
 
virtual void setCookingRender (int val)
 
virtual void clearInterrupted ()
 
int wasInterrupted () const
 
void setRenameConflict ()
 
void setRunningCreateScript (int onoff)
 
virtual int outputCode (OP_OutputCodeParms &, OP_Context &)
 
UT_TokenStringgetHashCode (OP_Context &context, int group_mask=1)
 
virtual int getNumInputsToHash ()
 
virtual OP_NodegetInputToHash (int i)
 
void clearHashCodeFlags ()
 
bool isHashCodeBuilt () const
 
void builtHashCode (bool b=true)
 
void buildInputHashCode (UT_TokenString &string, OP_Context &context, int group_mask, int level)
 
void setCreatorState (const char *s)
 
const UT_StringgetCreatorState () const
 
void builtExplicitly (int yn)
 
int wasBuiltExplicitly () const
 
bool matchesState (const char *state) const
 
virtual const PRM_TemplategetShaderParmTemplates ()
 
virtual void ensureInputsAndOutputsAreValid ()
 
void connectToInputNode (OP_Node &inputnode, int input_idx, int branch_off=0)
 
virtual int editCallback (CL_Track *track, fpreal t, fpreal newValue)
 
virtual const CH_LocalVariableresolveVariable (const char *name)
 
virtual const CH_LocalVariableresolveExtraVariableForSyntaxHighlight (const char *name)
 
virtual void setMapping (int idx, int type, const char *label=0)
 
virtual int getMapping (int idx, const char *&label) const
 
virtual int acceptDragDrop (DD_Source &src, const char *label)
 
virtual int testDragDrop (DD_Source &src)
 
virtual void getDragDropChoice (DD_Source &src, DD_ChoiceList &c)
 
bool hasComment () const
 
bool hasParmsNotAtFactoryDefault () const
 
bool hasAnimatedParms () const
 
bool hasChopOverriddenParms () const
 
bool traverseChildren (bool(*callback)(OP_Node &, void *), void *data, bool recurse_into_subnets)
 
bool isCooking (bool include_ancestors) const
 
virtual bool usesFootprint () const
 
void getExternalReferences (UT_StringArray &reflist, UT_StringArray *nodelist=0, bool from_children_too=true, bool collapse=false, bool check_missing=false, bool show_missing_only=false)
 
virtual void preDelete ()
 
virtual DOP_ParentcastToDOPParent ()
 
virtual const DOP_ParentcastToDOPParent () const
 
OP_DopParentcastToOpDopParent ()
 
const OP_DopParentcastToOpDopParent () const
 
virtual VOP_CodeGeneratorgetVopCodeGenerator ()
 
virtual VOP_CodeGeneratorgetVopAutoCodeGenerator ()
 
virtual VOP_ExportedParmsManagergetVopExportedParmsManager (bool create_if_needed=false)
 
int buildVexCommand (UT_String &result, const PRM_Template *templatelist, fpreal now, int start_parm=0, int end_parm=INT_MAX)
 
int buildVexCommandWithDependencies (OP_Node *owner, DEP_MicroNode *depnode, UT_String &result, const PRM_Template *templatelist, fpreal now, int start_parm=0, int end_parm=INT_MAX)
 
virtual void buildVexScript (UT_String &script, fpreal t, OP_Node *owner, UT_Map< int, bool > *visitlist=0)
 
virtual void buildVexScript (UT_String &script, fpreal t, DEP_MicroNode *depnode, UT_Map< int, bool > *visitlist=0)
 
virtual bool hasVexShaderParameter (const char *parm_name)
 
virtual bool getScriptMaterialInfo (UT_String &mat_info, VOP_ScriptMaterialCodeMapper *mapper)
 
virtual const char * getHDASubType ()
 
bool setChannelAlias (PRM_Parm &parm, int subindex, const char *alias_name)
 
void disconnectAllInputsOutputs (bool keepSelected, bool forceDisconnectOutputs=false)
 
void disconnectAllInputs (void)
 
void disconnectAllOutputs (void)
 
virtual void notifyParmRenameDependents (const UT_String &chan_name, const UT_String &old_chan_name)
 
void writeChannel (CH_Channel *channel, std::ostream &os, const char *name, bool frames)
 
void writeAllChannels (std::ostream &os, const char *name, bool frames, bool dochblock, bool dospareparms)
 
virtual bool triggerParmCallback (PRM_Parm *parmptr, fpreal now, int value, void *data, const UT_Options *options=0)
 
int64 getExtraInputMemoryUsage () const
 
virtual void setChannelScope (const char *pattern, OP_ScopeOp scope_op, const OP_ScopeOptions &scope_opts)
 
virtual const UT_StringgetItemName () const
 
virtual bool setItemName (const UT_String &name)
 
const UT_StringHoldergetCachedDescriptiveName ()
 
virtual bool changeSpareParms (UT_IStream &istream, UT_String &errors)
 
virtual void spareParmRemoved (const char *parmname)
 
virtual PRM_ParmListcreateObsoleteParmList ()
 
virtual void resolveAndDeleteObsoleteParmList (PRM_ParmList *&obsolete_parms)
 
void clearVersionUserData ()
 
void updateVersionUserData ()
 
void syncNodeVersionIfNeeded (bool *node_deleted, const char *from_version=nullptr, bool update_node_version=false)
 
virtual void syncNodeVersion (const char *old_version, const char *current_version, bool *node_deleted)
 
bool setGlobalFloatParam (const char *param, fpreal value, bool *warned)
 
bool setGlobalStringParam (const char *param, const char *strvalue, bool *warned)
 
void beginPropagateModification ()
 
void endPropagateModification ()
 
virtual bool hasDifferentMultiInputs () const
 
virtual bool canCreateNewOpType () const
 
virtual UT_StringgetMaterialIconFilename ()
 
virtual void setMaterialIconFilename (const char *)
 
virtual IMG_RastergetMaterialIconImage ()
 
virtual bool getMaterialIconAllowRegenerateFlag ()
 
virtual void setMaterialIconAllowRegenerateFlag (bool)
 
virtual bool willAutoconvertInputType (int input_idx)
 
bool isDependentOn (OP_Node *other_node, PRM_Parm *parm)
 
virtual bool getIsInputVisibleDefault (int idx)
 
bool verifyTemplatesWithParameters () const
 
OP_InputgetNamedInputReference (const OP_ConnectorId &input_name, bool grow)
 
OP_InputgetNamedInputReferenceConst (const OP_ConnectorId &input_name) const
 
OP_NodegetNamedInput (const OP_ConnectorId &input_name, bool mark_used=false) const
 
virtual int getInputFromName (const UT_String &in) const
 
virtual int getOutputFromName (const UT_String &out) const
 
virtual void getInputName (UT_String &in, int idx) const
 
virtual void getOutputName (UT_String &out, int idx) const
 
int getInputFromUniqueName (const OP_ConnectorId &id) const
 
int getOutputFromUniqueName (const OP_ConnectorId &id) const
 
void getUniqueInputName (OP_ConnectorId &id_out, int idx, bool grow)
 
bool getUniqueInputNameConst (OP_ConnectorId &id_out, int idx) const
 
void getUniqueOutputName (OP_ConnectorId &id_out, int idx)
 
bool getUniqueOutputNameConst (OP_ConnectorId &id_out, int idx) const
 
virtual OP_ERROR setNamedInput (const OP_ConnectorId &input_name, OP_Node *op, const OP_ConnectorId *output_name=nullptr)
 New input functions that use names instead of indices. More...
 
virtual OP_ERROR setNamedIndirectInput (const OP_ConnectorId &input_name, OP_IndirectInput *input)
 
virtual OP_ERROR setNamedInputReference (const OP_ConnectorId &input_name, const char *label, int, const OP_ConnectorId *output_name=nullptr)
 
OP_ERROR insertNamedInput (const OP_ConnectorId &input_name, OP_Node *op, const OP_ConnectorId *output_name)
 
OP_ERROR insertNamedIndirectInput (const OP_ConnectorId &input_name, OP_IndirectInput *input)
 
virtual void onCreated (void)
 Overriden in VOPs. More...
 
virtual bool isOrderedInput (const OP_ConnectorId &input_name) const
 
OP_ConnectorId whichNamedInputIs (const OP_Node *who) const
 
OP_ConnectorId whichNamedInputIs (const OP_IndirectInput *who) const
 Returns the index of the first connection of an indirect input. More...
 
virtual bool willAutoconvertNamedInputType (const OP_ConnectorId &input_name)
 
TInputsIterator traverseInputs (TInputsIterator *prev_iter)
 
TInputsIterator traverseConnectedInputs (TInputsIterator *prev_iter)
 
TInputsIterator getTraverseEndIterator (void)
 
unsigned getInputsArraySize ()
 
void getLocalVarNames (UT_StringArray &out_vars)
 Retrieve a sorted list of local variables visible to this OP_Node. More...
 
bool setLocalVarActive (bool f)
 
bool isLocalVarActive () const
 Get the myLocalVarActive flag. More...
 
void recomputeCompiledHash ()
 
void clearCompiledHash ()
 
void directSendEvent (OP_EventType type, void *data=0)
 
virtual bool scopedChannelsDirty ()
 
virtual bool getActiveLayerContribution (const UT_String &track_name, fpreal t, fpreal &value, fpreal &weight)
 
virtual bool resolveExport (const PRM_Parm *p, int subindex, CH_ChannelRef &out_export)
 
virtual bool addOrMoveVisualizerToOutput (int outputidx)
 
virtual const PRM_ParmtraverseRef (int *sub_idx, fpreal time, int parm_idx, int vec_idx) const
 
OP_BundlegetParmBundle (const char *parm_name, int vector_index, UT_String &pattern, OP_Network *creator, const char *filter, bool subnet_inclusion)
 
OBJ_NodefindOBJNode (const char *path) const
 
SOP_NodefindSOPNode (const char *path) const
 
POPNET_NodefindPOPNETNode (const char *path) const
 
POP_NodefindPOPNode (const char *path) const
 
CHOPNET_Node * findCHOPNETNode (const char *path) const
 
CHOP_NodefindCHOPNode (const char *path) const
 
ROP_NodefindROPNode (const char *path) const
 
SHOP_NodefindSHOPNode (const char *path) const
 
COP2_NodefindCOP2Node (const char *path) const
 
COPNET_Node * findCOPNETNode (const char *path) const
 
VOP_NodefindVOPNode (const char *path) const
 
VOPNET_NodefindVOPNETNode (const char *path) const
 
DOP_NodefindDOPNode (const char *path) const
 
OBJ_NodecastToOBJNode () const
 
SOP_NodecastToSOPNode () const
 
POPNET_NodecastToPOPNETNode () const
 
POP_NodecastToPOPNode () const
 
CHOPNET_Node * castToCHOPNETNode () const
 
CHOP_NodecastToCHOPNode () const
 
ROP_NodecastToROPNode () const
 
SHOP_NodecastToSHOPNode () const
 
COP2_NodecastToCOP2Node () const
 
COPNET_Node * castToCOPNETNode () const
 
VOP_NodecastToVOPNode () const
 
VOPNET_NodecastToVOPNETNode () const
 
DOP_NodecastToDOPNode () const
 
const UT_StringgetComment (void) const
 Accessors for this node's comment string. More...
 
bool setComment (const char *str)
 Accessors for this node's comment string. More...
 
virtual UT_Color getColor () const
 
virtual bool setColor (const UT_Color &col)
 
int getColorDefault () const
 
int setColorDefault (int usedefault)
 
const UT_StringHoldergetNodeShape () const
 Accessors for this node's shape. More...
 
void setNodeShape (const UT_StringHolder &shape)
 
virtual void setXY (fpreal x, fpreal y)
 Node position/scale is used by the UI. More...
 
virtual fpreal getX () const
 Node position/scale is used by the UI. More...
 
virtual fpreal getY () const
 Node position/scale is used by the UI. More...
 
virtual int findString (const char *str, bool fullword, bool usewildcards) const
 
virtual int changeString (const char *from, const char *to, bool fullword)
 
virtual UT_StringArraygetArrayForLoadedInputNames ()
 
virtual UT_StringArraygetArrayForLoadedOutputNames ()
 
bool traverseInputs (bool(*callback)(OP_Node &, void *), void *data, bool follow_subnets, bool follow_ref_inputs, bool follow_extra_inputs, bool follow_passthrough_inputs, OP_InterestType extra_interest_mask=OP_INTEREST_ALL)
 
bool traverseInputs (bool(*callback)(const OP_Node &, void *), void *data, bool follow_subnets, bool follow_ref_inputs, bool follow_extra_inputs, bool follow_passthrough_inputs, OP_InterestType extra_interest_mask=OP_INTEREST_ALL) const
 
virtual int beginVopCodeGeneratorUpdate ()
 
virtual void endVopCodeGeneratorUpdate (int update_level)
 
- Public Member Functions inherited from OP_Parameters
const UT_StringgetName () const
 
OP_OperatorgetOperator () const
 
bool updateParmsAndSpareParmsFlags ()
 
virtual bool referenceSingleParameter (OP_Parameters *from, int parm_idx, const char *relative_path=NULL)
 
void animate (unsigned idx)
 
void animate (const char *name)
 
void deAnimate (unsigned idx)
 
void deAnimate (const char *name)
 
CH_ChanneladdChannel (const char *name)
 
CH_ChannelgetChannel (const char *name)
 
const CH_ChannelgetChannel (const char *name) const
 
int destroyChannel (const char *name)
 
bool isObsoleteChannel (const char *name) const
 
void takeActivateParm (uint idx, bool enable=true)
 
void takeActivateParm (const char *name, bool enable=true)
 
void takeActivateParm (PRM_Parm *parm, bool enable=true)
 
void takeDeactivateParm (uint idx)
 
void takeDeactivateParm (const char *name)
 
void takeDeactivateParm (PRM_Parm *parm)
 
bool takeIsActiveParm (uint idx)
 
bool takeIsActiveParm (const char *name)
 
bool takeIsActiveParm (const PRM_Parm *parm)
 
void takeAutoActivateParm (PRM_Parm *) override
 
fpreal findKey (fpreal t, int direction) const
 
PRM_ChanState getChanState (fpreal t, bool scoped_only) const
 
PRM_ChanState isAtKey (fpreal t) const
 
void updatePending (fpreal t)
 
bool isPending (fpreal t)
 
OP_ChannelsgetChannels (void) const
 
virtual void getVariableString (int index, UT_String &value, int thread)
 
virtual float getVariableValue (int index, int thread)
 
int getNumParms () const
 
PRM_ParmgetParm (int i)
 
const PRM_ParmgetParm (int i) const
 
PRM_ParmgetParm (const char *name)
 
const PRM_ParmgetParm (const char *name) const
 
bool hasParm (const char *name) const
 
PRM_ParmgetParmPtr (const UT_StringRef &name)
 
const PRM_ParmgetParmPtr (const UT_StringRef &name) const
 
PRM_ParmgetParmPtrInst (const char *name, const int *inst, int nestlevel=1)
 
const PRM_ParmgetParmPtrInst (const char *name, const int *inst, int nestlevel=1) const
 
bool getIsChangingSpareParms () const
 
PRM_ParmListcreateObsoleteParmList () override
 
void resolveAndDeleteObsoleteParmList (PRM_ParmList *&obsolete_parms) override
 
virtual void resolveObsoleteParms (PRM_ParmList *)
 
bool getParameterOrPropertyConst (const char *name, fpreal now, OP_Node *&op, PRM_Parm *&parm, PRM_ParmList *obsolete) const
 
virtual int findParametersOrProperties (fpreal now, OP_PropertyLookupList &list)
 
const OP_StatgetStat () const
 
OP_StatgetStat ()
 
bool enableParm (int pi, int state, int v=-1)
 
bool enableParm (const char *pn, int state, int v=-1)
 
bool enableParmInst (const char *name, const int *inst, int state, int nestlevel=1, int v=-1)
 
unsigned getEnableState (int pi, int v=-1)
 
unsigned getEnableState (const char *pn, int v=-1)
 
unsigned getEnableStateInst (const char *name, const int *inst, int nestlevel=1, int v=-1)
 
bool setVisibleState (int pi, bool state, int v=-1)
 
bool setVisibleState (const char *pn, bool state, int v=-1)
 
bool setVisibleStateInst (const char *name, const int *inst, int state, int nestlevel=1, int v=-1)
 
bool getVisibleState (int pi, int v=-1)
 
bool getVisibleState (const char *pn, int v=-1)
 
void evalString (UT_String &val, int pi, int vi, fpreal t) const
 
void evalStringT (UT_String &val, int pi, int vi, fpreal t, int thread) const
 
void evalString (UT_String &val, const char *pn, int vi, fpreal t) const
 
void evalStringT (UT_String &val, const char *pn, int vi, fpreal t, int thread) const
 
void evalString (UT_String &val, const char *pn, int *pi, int vi, fpreal t) const
 
void evalStringT (UT_String &val, const char *pn, int *pi, int vi, fpreal t, int thread) const
 
void evalString (UT_String &val, const PRM_Parm *parm, int vi, fpreal t) const