HDK
|
#include <CHOP_RealtimeGen.h>
Public Member Functions | |
CHOP_RealtimeGenerator (OP_Network *parent, const char *name, OP_Operator *entry) | |
~CHOP_RealtimeGenerator () override | |
void | cacheChannelData (fpreal t) override |
virtual void | getChannelOutputNames (UT_ValArray< char * > &str)=0 |
Public Member Functions inherited from CHOP_Realtime | |
chop_RealtimeData * | getRealtimeData () |
void | setRealtimeData (chop_RealtimeData *d) |
Public Member Functions inherited from CHOP_Node | |
const char * | getChildType () const override |
const char * | getOpType () const override |
OP_OpTypeId | getChildTypeID () const override |
OP_OpTypeId | getOpTypeID () const override |
OP_DataType | getCookedDataType () const override |
bool | getAudio () const override |
bool | getExport () const override |
bool | setAudio (bool on_off) override |
bool | setExport (bool on_off) override |
CHOP_Node * | getOutputChop (int outputidx, bool fallback_to_flag=true) |
virtual OP_ERROR | cookMyChop (OP_Context &context)=0 |
virtual void | cookMyHandles (OP_Context &context) |
CHOP_HandleList * | getHandles (OP_Context &context) |
const CL_Clip * | getClip (OP_Context *context=0) override |
virtual const CL_Clip * | getClipOutput (int outputidx, OP_Context *context=0, OP_Node *add_interest=0) |
void | setClip (CL_Clip *clip) |
int64 | getMemoryUsage (bool inclusive) const override |
const CL_Clip * | inputClip (int idx, OP_Context &context) |
CL_Track * | getTrack (const char *name) |
CL_Track * | getTrack (int idx) |
fpreal | getSampleRate () |
UT_Color | getChopColor (unsigned int index=0, const CL_Clip *clip=nullptr) const |
CH_Channel * | getTrackChannel (const char *name) override |
void | globTracks (const char *pattern, CL_TrackListC *tlist, UT_Array< OP_Node * > *olist=0, OP_GlobContext *context=0, int do_cook=0, fpreal t=0, OP_Node *dependent=0) |
virtual fpreal | handleChanged (CHOP_Handle *handle, CHOP_HandleData *data) |
int | putNote (fpreal t, const char *) |
int | putNote (fpreal t, int index) |
int | putNote (int index, const char *) |
const char * | getNote (fpreal t0) const |
const char * | getNote (int index) const |
int | getNotes (fpreal t0, fpreal t1, CHOP_NoteList &clist, CHOP_TimeList &tlist) const |
OP_Channels * | getFitData () |
void | resampleFromFit () |
void | setFitParms (const CL_FitParms &parms) |
void | getFitParms (CL_FitParms &parms) const |
int | copyFitChannels () |
void | setFlag (char flag, int8 val) override |
virtual fpreal | shiftStart (fpreal new_offset, fpreal t) |
void | opChanged (OP_EventType reason, void *data=0) override |
bool | limitInfo () const |
void | setLimitInfo (bool limit_info) |
void | setMapping (int idx, int type, const char *label=0) override |
int | getMapping (int idx, const char *&label) const override |
void | getNodeSpecificInfoText (OP_Context &context, OP_NodeInfoParms &iparms) override |
void | fillInfoTreeNodeSpecific (UT_InfoTree &tree, const OP_NodeInfoTreeParms &parms) override |
void | saveMapping (UT_OStream &os) const |
bool | loadMapping (UT_IStream &is) |
fpreal | getW () const override |
Get absolute width. More... | |
fpreal | getH () const override |
Get absolute height. More... | |
virtual void | updateExports () |
bool | findParmFromTrack (const OP_FollowChanRefsOptions &opt, const char *trackname, OP_NodeParmRefCycle &cycle, OP_Node *&node, PRM_Parm *&parm, int &vecidx) override |
int | bumpSourceCount (int d) override |
bool | evaluateTransformTracks (OP_Context &context, OP_EvaluateTransformTracksArgs &args) override |
bool | hasTransformTracks () const override |
int | getFirstScopedTrack (const CL_Clip *, const CL_Track **track) |
void | getParmIntervalInSamples (fpreal t, fpreal &start, fpreal &end, bool &timedep, const char *range_parm=0, const char *start_parm=0, const char *end_parm=0) |
const CL_Clip * | inputClip (int idx, OP_Context &context, bool add_extrainput) |
const CL_Clip * | inputClip (int idx, OP_Context &context, bool add_extrainput, bool force_recook_timedep) |
const CL_Clip * | inputClip (int idx, OP_Context &context, bool add_extrainput, bool force_recook_timedep, CHOP_Node **out_chop) |
Public Member Functions inherited from OP_Network | |
int | getNchildren () const override |
OP_Node * | getChild (const char *name=0, int *hint=0) const override |
OP_Node * | getChild (int index) const override |
virtual int | getChildIndex (const OP_Node *) const |
int | isNetwork () const override |
int | getDandROpsEqual () override |
int | updateDandROpsEqual (int check_inputs=1) override |
virtual void | moveChildIndex (int srcindex, int dstindex) |
int | getTemplateOps (UT_ValArray< OP_Node * > &list) |
int | getOpsByName (const char *op_name, UT_Array< OP_Node * > &list) const |
OP_Node * | peekCurrentNodePtr () |
void | stashCurrentNodePtr (const OP_Node *child) |
OP_Node * | getStashedCurrentNodePtr () const |
virtual OP_Node * | getCurrentNodePtr () |
virtual OP_Node * | getDisplayNodePtr () |
virtual OP_Node * | getRenderNodePtr () |
virtual CHOP_Node * | getAudioNodePtr () |
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_OperatorFilter * | getOperatorFilter () |
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... | |
virtual bool | isOperatorAllowedInTabMenu (OP_Operator *op) |
Returns true if the given op can show up in the Tab menu. More... | |
bool | isOperatorCreateAllowed (OP_Operator *op) |
Returns true if the given op can show up in the Tab menu. More... | |
bool | isToolAllowed (const UT_StringHolder &tool_name, const UT_StringArray &submenus) |
Returns true if the given tool can appear in the Tab menu for this net. More... | |
OP_Node * | createNode (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_Node * | createNodeOfExactType (const char *type, const char *name=0) |
Convenience method for requesting en exact type. More... | |
OP_Network * | createProxyRefNode (const char *path) override |
void | getPotentialChildErrorNodes (OP_NodeList &nodes) const override |
OP_Node * | copyNode (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, bool connect_outputs_to_multi_inputs) |
void | copyPickedItems (const OP_Network *srcnet, OP_ItemTypeMask item_type_mask, OP_Group *newnodes=nullptr, const OP_FixNameParms *fix_name_parms=nullptr) |
OP_NetworkBox * | copyNetworkBox (OP_NetworkBox *srcnetbox, OP_NetworkBoxSaveType save_type, OP_NodeList *nodes=NULL, const char *toname=NULL, bool reference_parameters=false) |
OP_PostIt * | copyPostItNote (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_Network * | findOrCreateMotionEffectsNetwork (bool create=true) |
OP_Node * | deleteImplicitAncestors (OP_Node &node, const char *state=0, OP_Node *keep_node=0, bool included=true) |
OP_Node * | getImplicitAncestors (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_Array< 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 | loadIntoNetwork (UT_IStream &is, OP_OverwriteAction overwrite=OP_NO_OVERWRITE, bool merge=false, const char *pattern=NULL, 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) |
bool | opShouldHandleChange (OP_EventType reason) override |
void | clearUnreferencedInputs () override |
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_Node * | getAnyOutputOf (OP_Node *op) const |
OP_Node * | getAnyOP () const |
char * | findUniqueGroupName (const char *basename=0) |
OP_Group * | findGroup (const char *name) const |
OP_Group * | createGroup (const char *name=0) |
int | destroyGroup (const char *name) |
int | destroyGroup (OP_Group *group) |
int | getNgroups () const |
OP_Group * | getGroup (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_NetworkBox * | createNetworkBox (const char *name, OP_NetworkBoxItemList *items=NULL) |
int | getNnetworkBoxes () const |
OP_NetworkBox * | findNetworkBox (const char *const_path) override |
OP_NetworkBox * | getNetworkBox (int index) const |
OP_NetworkBox * | getNetworkBox (const char *name) const |
OP_PostIt * | createPostItNote (const char *name) |
Pass in NULL as the name if you'd like a default name. More... | |
int | getNpostItNotes () const |
OP_PostIt * | findPostItNote (const char *const_path) override |
OP_PostIt * | getPostItNote (int index) const |
OP_PostIt * | getPostItNote (const char *name) const |
OP_DotList & | getDotList () |
int | getNdots () const |
OP_Dot * | findDot (const char *const_path) override |
OP_Dot * | getDot (int index) const |
OP_Dot * | getDot (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... | |
OP_NetworkBoxItem * | findItem (const char *const_path, OP_ItemTypeMask item_type=OP_ITEMTYPE_ALL) override |
OP_NetworkBoxItem * | getItem (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_OperatorTable * | getOperatorTable () const |
virtual const char * | getScriptDirectory () |
void | clearUndoFlags () override |
bool | wantsParentInputs () const |
int | getNparentInputs () const |
OP_SubnetIndirectInput * | findParentInput (const char *const_path) override |
OP_SubnetIndirectInput * | getParentInput (int index) const |
OP_SubnetIndirectInput * | getParentInput (const char *name) const |
int | getIndirectString (OP_IndirectInput *, UT_String &) |
OP_IndirectInput * | resolveIndirectString (const char *) |
void | inputConnectChanged (int which) override |
void | getAllConnectedChildren (int input_index, UT_Array< OP_Node * > &nodes, bool expandSubnets=true) const |
void | getAllConnectedChildrenNamed (const OP_ConnectorId &input_name, UT_Array< OP_Node * > &nodes, bool expandSubnets=true) const |
virtual void | setViewSetting (const char *) |
virtual const char * | getViewSetting () const |
void | dumpDependencies (std::ostream &os) override |
void | changeParmTemplate (PRM_Template *new_template) override |
int | getNumChildManagers (OP_OpTypeId type) const |
void | addChildManager (OP_OpTypeId type) |
void | removeChildManager (OP_OpTypeId type) |
bool | getSaveWithVopnets () override |
void | runDelScript () override |
void | clearDelScripts (int pickedOnly) |
void | unscopeChannels (bool recurse) override |
void | undisplayChannels (bool recurse) override |
void | unpinChannels (bool recurse) override |
void | globNetworkBoxes (const char *pat, UT_String *expand, UT_ValArray< OP_NetworkBox * > *list=0, OP_GlobContext *context=0, const char *prefix=" ") override |
void | globPostIts (const char *pat, UT_String *expand, UT_ValArray< OP_PostIt * > *list=0, OP_GlobContext *context=0, const char *prefix=" ") override |
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 |
const UT_SortedSet< int > & | getEditableSubNodes () const |
bool | getMessageSubNodes (OP_NodeList &list) const |
void | getActiveOperatorsDefinedByOTL (UT_Set< OP_Operator * > &active_operators) const override |
OP_SubnetIndirectInput * | getNamedParentInput (const OP_ConnectorId &name) const |
bool | getIsClearingContentsOfEditableSubnodes () |
int64 | getMemoryUsage (bool inclusive) const override |
void | setCachedMimeFile (const char *filename) |
const char * | getCachedMimeFile () const |
void | clearCachedMimeFile () |
bool | hasCachedMimeFile () const |
OP_ERROR | getErrorSeverity () override |
void | getRawErrors (UT_Array< UT_Error > &errors, bool update) override |
Public Member Functions inherited from OP_Node | |
OP_Network * | getParent () const |
OP_Network * | getRootCompiledParent () const |
OP_Network * | getParentNetwork () const override |
Returns the network that is our parent. More... | |
bool | getIsContainedBy (const OP_Node *testparent) const |
const UT_String & | getNetName () const |
Return the name of this node's parent. More... | |
OP_ItemType | getItemType () const override |
Our children should implement this and return what type of item they are. More... | |
const UT_String & | getDelScript () 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_Node * | matchChild (const char *pattern, OP_Node *prevmatch=0, const char *optype=0, int casesensitive=0) const |
virtual OP_Node * | matchChildBackwards (const char *pattern, OP_Node *prevmatch=0, const char *optype=0, int casesensitive=0) const |
OP_ERROR | getChildErrorSeverity () |
int | getUniqueId () const |
int64 | getItemUniqueId () const override |
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 bool | isMaterialManager () 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_Bundle * | getParmBundle (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) |
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_Node * | findNode (const char *path, OTLSyncMode syncmode=OTLSYNC_DOSYNC) const |
Uses the path (eg. "/obj/geo1") to find a node in our hierarchy. More... | |
OP_Node * | findSubNode (const char *path) const |
SOP_Node * | getSOPNode (const char *path, int addextra=0, bool *got_by_flag=nullptr) const |
COP_Node * | getCOPNode (const char *path, int addextra=0) const |
COP2_Node * | getCOP2Node (const char *path, int addextra=0) const |
DOP_Node * | getDOPNode (const char *path, int addextra=0) const |
ROP_Node * | getROPNode (const char *path, int addextra=0) const |
CHOP_Node * | getCHOPNode (const char *path, int addextra=0, bool *got_by_flag=nullptr) const |
TOP_Node * | getTOPNode (const char *path, int addextra=0) const |
LOP_Node * | getLOPNode (const char *path, int addextra=0) const |
OBJ_Node * | getOBJNode (const char *path, int addextra=0) const |
OP_Node * | castToOPNode () override |
const OP_Node * | castToOPNode () const override |
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 void | evaluateBatchParms (PRM_BatchList &list, fpreal now) |
void | globNodes (const char *pat, UT_String *expand, UT_Array< OP_Node * > *list=0, OP_GlobContext *context=0, const char *prefix=" ") |
CH_Channel * | findChannel (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, bool use_multi_match=true) |
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, bool use_multi_match=true) const |
int | getAllChannels (CH_ChannelList &list, int scoped=0) |
void | opChanged (OP_EventType reason, void *data=0) override |
virtual void | referencedParmChanged (int pi) |
virtual void | forceRecook (bool evensmartcache=true) |
virtual void | reloadExternalFiles () |
virtual unsigned | needToCook (OP_Context &context, bool queryonly=false) |
virtual bool | cook (OP_Context &context) |
bool | parallelCook (OP_Context &context) |
template<typename F > | |
void | cookLockedExecute (const F &functor) |
OP_CookLock & | getCookLock () |
UT_TaskState & | taskState () |
const UT_TaskState & | taskState () 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 void * | getCookedData (const OP_Context &) |
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_Operator * | getInternalOperator () 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 const char * | inputConnectorLabel (unsigned idx) |
virtual int | isRefInput (unsigned idx) const |
virtual int | getAuxInput () const |
virtual void | getAuxInputName (OP_ConnectorId &name_out) |
OP_LockTypes | setLockState (OP_LockTypes state, bool saveundo=true) |
OP_LockTypes | getLockState () const |
bool | getLock () const |
bool | getSoftLock () const |
void | setSoftLock (bool on_off) |
bool | getHardLock () const |
void | setHardLock (bool on_off) |
virtual OP_LockTypes | setModelLock (OP_LockTypes state, void *modeler=nullptr, bool allow_softlock_promotion=false, UT_Undo *undo=nullptr) |
int | getNetworkLock (bool relaxedlockcheck=false, const OP_Node *inputNode=nullptr) const |
bool | setUnload (bool on_off) |
bool | 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 (bool onoff) |
bool | canAccessFlag (unsigned mask, uchar flag) const |
bool | setPicked (bool on_off, bool propagate_parent_event=true) override |
bool | setEditPicked (bool on_off, bool propagate_parent_event=true) |
void | setAutoscope (bool on_off) |
bool | isAutoscope () |
bool | setCurrent (bool on_off) |
bool | setExpose (bool on_off) |
bool | setBypass (bool on_off) |
bool | setTemplate (bool on_off) |
bool | setFootprint (bool on_off) |
bool | setXray (bool on_off) |
bool | setDisplay (bool on_off) |
bool | setRender (bool on_off) |
bool | setHighlight (bool on_off) |
bool | setModified (bool on_off) |
bool | setSaveBypass (bool on_off) |
bool | setSaveData (bool on_off) |
virtual bool | setPickable (bool on_off) |
virtual bool | setDebug (bool on_off) |
virtual bool | setDisplayOrigin (bool on_off_unchanged) |
void | userSetTemplate (bool onoff) |
void | userSetSelectableTemplate (bool onoff) |
virtual int8 | getFlag (char tag) const |
bool | getPicked () const override |
virtual bool | getEditPicked () const |
bool | getCurrent () const |
bool | getDisplay () const |
bool | getRender () const |
bool | getHighlight () const |
bool | getBypass () const |
bool | getTemplate () const |
bool | getFootprint () const |
bool | getXray () const |
bool | getExpose () const |
bool | getModified () const |
bool | getSaveBypass () const |
bool | getSaveData () const |
bool | getHasTakeData () const override |
virtual bool | getPickable () |
virtual bool | getDebug () const |
virtual bool | getDisplayOrigin () const |
bool | getItemExpose () const override |
void | setItemExpose (bool expose) override |
virtual bool | getUseBypassLook (const OP_EditorContext &ctx) const |
bool | getDisplayDescriptiveName () const |
bool | setDisplayDescriptiveName (bool state) |
bool | getDisplayComment () const |
bool | setDisplayComment (bool state) |
int8 | getOutputForView () const |
int8 | setOutputForView (int8 output) |
OP_Node * | getPickableSelfOrParent () |
bool | setCompress (bool on_off) |
bool | getCompress () const |
void | setCurrentAndPicked () |
virtual bool | setVisible (bool onoff) |
virtual bool | getVisible () const |
const OP_NodeFlags & | flags () const |
OP_NodeFlags & | flags () |
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) |
Remove notification callback added via addOpInterest() More... | |
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_Node * | getInput (unsigned idx, bool mark_used=false) const |
Returns the node connected to a particular input (may be null). More... | |
OP_Node * | getInputFollowingOutputs (int input, DEP_MicroNode *depnode=0) 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 (const OP_Node *source_node, int counter) const |
void | consolidateInputs () |
virtual bool | allowConsolidatingInput (int idx) |
virtual OP_Input * | getInputReference (unsigned idx, bool grow) |
virtual OP_Input * | getInputReferenceConst (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 UT_Options | getInputDataDefault (int idx) const |
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_DataMicroNode & | dataMicroNodeConst () const |
OP_DataMicroNode & | dataMicroNode () |
virtual const OP_DataMicroNode & | parmListMicroNodeConst () const |
OP_DataMicroNode & | parmListMicroNode () |
bool | hasIndepParmListMicroNode () const |
DEP_MicroNode & | flagMicroNode () |
DEP_MicroNode & | parmMicroNode (int parm_idx, int vi) |
const DEP_MicroNode & | eventMicroNodeConst (OP_EventType e) const |
Accessors to event micro nodes. More... | |
DEP_MicroNode & | eventMicroNode (OP_EventType e) |
bool | hasEventMicroNode (OP_EventType e) const |
virtual void | getOwnedMicroNodes (DEP_MicroNodeList µnodes) |
void | propagateDirtyMicroNode (DEP_MicroNode µnode, 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, bool follow_simulation_inputs=false) 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 |
virtual bool | buildDefaultCopContext (OP_Context &context, DEP_MicroNode *depnode=nullptr) |
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 |
void | rebuildParmDependency (int parm_index) override |
void | clearParmDependency (int parm_index) override |
void | decrementOpReference (int node_id) |
void | dumpOpDependents (OP_Node *ref, int brief, std::ostream &os) |
const OP_DependencyList & | getOpDependents () const |
int | countReferences (int op_id) |
void | getExistingOpReferences (OP_NodeList &refs, bool recurse) const |
void | getFullOpReferences (OP_NodeList &refs, bool include_descendants) const |
void | getExistingOpDependents (OP_NodeList &deps, bool include_descendants) const |
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_NetworkBoxItem * | getOutputItem (int idx, int output_idx=-1) const |
bool | hasAnyOutputNodes (bool through_dots=true, int output_idx=-1) const |
void | getOutputNodes (UT_Array< OP_Node * > &outputs, bool into_subnets=false, bool through_dots=true, int output_idx=-1) const |
OP_Node * | getFirstOutputNode (bool through_dots=true, int output_idx=-1) const |
OP_Node * | getOutputTowardsNode (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 OP_ERROR | lockInput (unsigned idx, OP_Context &context) |
virtual void | unlockInput (unsigned idx) |
virtual OP_ERROR | lockInputs (OP_Context &context) |
virtual void | unlockInputs () |
int | getCookCount () const |
void | triggerOutputChanged () |
void | triggerUIChanged (OP_UIChangeType type=OP_UICHANGE_ANY) |
virtual int | cookedInputIndex () const |
virtual OP_Node * | getPassThroughNode (fpreal t, bool mark_used=false) |
bool | setMinimumCacheSize (int min_size) |
OP_VERSION | getVersionParms () const |
virtual bool | handleTimeChange (fpreal) |
bool | isTimeDependent (const OP_Context &context) |
virtual bool | isDiveable () const |
virtual void | getExtraNodesForCopyOrDelete (OP_NodeList &extras) const |
virtual bool | runCreateScript () |
void | updateParmsToMatchCurrentUnits () |
bool | getDelaySyncOTL () const |
void | setDelaySyncOTL (bool isdelayed) |
Shallowly sets the delayed sync flag,. More... | |
bool | shouldDelaySyncOTL () const |
Determines if this node should do delayed syncing or not. More... | |
void | syncDelayedOTL () |
Verifies this node has been synchronized in case it was delayed. More... | |
virtual void | matchOTLDefinition () |
virtual void | unmatchOTLDefinition () |
Unmatches (unlocks) the node from the current HDA definition. More... | |
virtual void | handleOTLIndexFileCleared () |
const UT_String & | getSyncErrors () const |
OP_ERROR | getSyncErrorLevel () const |
Returns the error level generated in our last synchronization attempt. More... | |
bool | isAnyAncestorBeingSynced () const |
int | getMatchesOTLDefinition () const |
Interface to flag that specifies whether or not we match our definition. More... | |
int | getCanDeviateFromOTLDefinition () const |
void | setAllChildAssetPermissions (int permission) |
void | computeAllChildAssetPermissions () |
bool | getIsEditableAssetSubNode () const |
void | turnOffAllChildExports () |
bool | haveLicenseToAccessContents (OP_Node *opt_specific_child=nullptr) const |
bool | haveLicenseToAccessParentContents () const |
bool | haveAncestorWithoutFullLicense (bool ignore_self) const |
OP_OTLLicenseType | getLicense () const |
OP_Node * | getFirstExecLicenseOnlyAncestor (bool ignore_self=true) const |
OP_Node * | getLastExecLicenseOnlyAncestor (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_Options & | userData () const |
bool | loadUserData (UT_IStream &is, const char *path=nullptr) |
OP_ERROR | saveUserData (std::ostream &os, const char *path) |
void | clearUserData (bool save_undo) |
virtual void | userDataChanged (const UT_StringHolder &key) |
UT_SharedPtr< void > | getBlindData (const char *key) const |
template<typename T > | |
UT_SharedPtr< T > | getBlindData (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 |
bool | 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) |
bool | clearDataBlocks () |
virtual void | dataBlockChanged (const UT_StringHolder &key) |
virtual int | deleteNodeData (void *) |
void | propagateNodeDataDeleted () |
PY_OpaqueObject * | getCachedPythonObject (const UT_StringRef &key) const |
void | setCachedPythonObject (const UT_StringHolder &key, void *opaque_py_object) |
bool | deleteCachedPythonObject (const UT_StringRef &key) |
void | clearCachedPythonObjects () |
const OP_PythonObjectCache & | cachedPythonObjects () 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) |
UT_ErrorSeverity | prmCookOverrides (fpreal t, int thread, const char *parm_name, int vec_idx) override |
bool | isParmPendingOverride (const char *parm_name, int vec_idx) const override |
OP_ERROR | cookOverrides (OP_Context &c) |
virtual void | removeOverrideDestination (OP_Node *) |
virtual void | removeOverrideDestination (OP_Node *, int) |
void | executeCommand (const char *command, std::ostream *out, std::ostream *err) const override |
SYS_NO_DISCARD_RESULT UT_UniquePtr < PRM_ParmOwnerContext > | pushAsPwd () const override |
OP_ERROR | executeHscriptScript (UT_String &script, const OP_Context &context) |
OP_ERROR | executePythonScript (UT_String &script, const OP_Context &context) |
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 | getEditableInputDataKeys (int idx, UT_StringArray &keys) const |
const UT_OptionEntry * | getEditableInputData (int idx, const UT_StringRef &key) const |
bool | setEditableInputData (int idx, const UT_StringHolder &key, const UT_OptionEntry &value) |
void | saveEditableInputData (std::ostream &os) const |
bool | loadEditableInputData (UT_IStream &is, const char *path) |
UT_StringHolder | getEditableInputString (int idx, const UT_StringRef &key) const |
bool | setEditableInputString (int idx, const UT_StringRef &key, const UT_StringHolder &str) |
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 () |
void | clearUndoFlags () override |
void | setAnyUndoFlag () override |
void | saveForUndoInput () |
void | blockModify (int on_off, int propagate=1) |
int | isBlockModify () const |
bool | isModifyWaiting () const |
virtual void | propagateEndBlockModify () |
void | getMotionEffectsNetworkPath (UT_String &path) |
fpreal | getLastCookTime () const |
void | getLastCookTime (UT_String &last_cook_time) const |
Return the last cook time as a formatted string. More... | |
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_Ramp * | getRamp () |
virtual int | isCookingRender () const |
virtual void | setCookingRender (int val) |
virtual void | clearInterrupted () |
bool | wasInterrupted () const |
void | setRenameConflict () |
void | setRunningCreateScript (int onoff) |
virtual int | outputCode (OP_OutputCodeParms &, OP_Context &) |
virtual fpreal | getTimeTransform (int input, fpreal t) |
virtual void | getInputRes (int input, fpreal t, const OP_Context &context, OP_Context &input_context) |
UT_TokenString & | getHashCode (OP_Context &context, int group_mask=1) |
virtual UT_TokenString & | getParmHashCode (OP_Context &context, int group_mask=1) |
virtual int | getNumInputsToHash () |
virtual OP_Node * | getInputToHash (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_String & | getCreatorState () const |
void | builtExplicitly (int yn) |
int | wasBuiltExplicitly () const |
bool | matchesState (const char *state) const |
virtual const PRM_Template * | getShaderParmTemplates () |
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_LocalVariable * | resolveVariable (const char *name) |
virtual const CH_LocalVariable * | resolveExtraVariableForSyntaxHighlight (const char *name) |
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 |
void | getCookPathNodes (OP_NodeList &nodes) |
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_Parent * | castToDOPParent () |
virtual const DOP_Parent * | castToDOPParent () const |
OP_DopParent * | castToOpDopParent () |
const OP_DopParent * | castToOpDopParent () const |
virtual VOP_CodeGenerator * | getVopCodeGenerator () |
virtual VOP_CodeGenerator * | getVopAutoCodeGenerator () |
virtual const VOP_CodeGenerator * | getVopAutoCodeGenerator () const |
virtual void | buildVopCodeGenerator () |
virtual VOP_ExportedParmsManager * | getVopExportedParmsManager (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, bool use_parmvop_tag=true) |
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, bool use_parmvop_tag=true) |
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 | disconnectAllOutputs () |
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) |
bool | triggerParmCallback (PRM_Parm *parmptr, fpreal now, int value, void *data, const UT_Options *options=nullptr) override |
int64 | getMemoryUsage (bool inclusive) const override |
int64 | getExtraInputMemoryUsage () const |
virtual void | setChannelScope (const char *pattern, OP_ScopeOp scope_op, const OP_ScopeOptions &scope_opts) |
const UT_String & | getItemName () const override |
bool | setItemName (const UT_String &name) override |
const UT_StringHolder & | getCachedDescriptiveName () |
bool | changeSpareParms (UT_IStream &istream, UT_String &errors) override |
void | spareParmRemoved (const char *parmname) override |
PRM_ParmList * | createObsoleteParmList () override |
void | resolveAndDeleteObsoleteParmList (PRM_ParmList *&obsolete_parms) override |
unsigned | referenceAllParameters (OP_Parameters *from, bool relative_references=true) override |
void | clearVersionUserData () |
void | updateVersionUserData () |
void | syncNodeVersionIfNeeded (bool *node_deleted, const char *from_version=nullptr, bool update_node_version=false) |
void | syncNodeVersion (const char *old_version, const char *current_version, bool *node_deleted) override |
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_String * | getMaterialIconFilename () |
virtual void | setMaterialIconFilename (const char *) |
virtual IMG_Raster * | getMaterialIconImage () |
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_Input * | getNamedInputReference (const OP_ConnectorId &input_name, bool grow) |
OP_Input * | getNamedInputReferenceConst (const OP_ConnectorId &input_name) const |
OP_Node * | getNamedInput (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 () |
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) |
OP_ConnectorInputIter | traverseInputs (OP_ConnectorInputIter *prev_iter) |
OP_ConnectorInputIter | traverseConnectedInputs (OP_ConnectorInputIter *prev_iter) |
OP_ConnectorInputIter | getTraverseEndIterator () |
unsigned | getInputsArraySize () |
unsigned | isInput (unsigned idx) |
Deprecated in favour of getInputsArraySize() More... | |
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... | |
virtual UT_AttributeEvaluator * | createAttributeEvaluator (const char *name) |
virtual void | getAttributeEvaluatorNames (UT_StringArray &names) |
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) |
const PRM_Parm * | traverseRef (int *sub_idx, fpreal time, int parm_idx, int vec_idx) const override |
OP_Bundle * | getParmBundle (const char *parm_name, int vector_index, UT_String &pattern, OP_Network *creator, const char *filter, bool subnet_inclusion) |
virtual void | getDefaultState (UT_String &default_state_name) |
void | clearInputContextOptionDepIfSafe (const UT_StringHolder &opt, const OP_Context &context) |
virtual bool | evaluateTransformTracksTargets (OP_Context &context, OP_NodeList &nodes, OP_Node *caller) |
const UT_StringHolder & | getOriginalOperatorName () const |
void | setOriginalOperatorName (const UT_StringHolder &optype) |
void | getOriginalOperatorTableAndName (UT_WorkBuffer &name) const |
void | getOriginalOperatorTableAndName (UT_String &name) const |
virtual bool | isSelectionOwnerType () const |
void | addExtraInputs (const UT_Array< OP_InterestRef > &source_refs) |
Add many extra inputs in one call. See addExtraInput. More... | |
void | addExtraInputs (const DEP_MicroNodeList &deps) |
void | addExtraInput (OP_Node *op, OP_InterestType type, DEP_MicroNodeList &sources_cache) |
void | addExtraInputs (const UT_Array< OP_Node * > &nodes, OP_InterestType type, DEP_MicroNodeList &sources_cache) |
virtual bool | isUsingCurrentFrameForVexTransformContext () const |
OBJ_Node * | findOBJNode (const char *path) const |
SOP_Node * | findSOPNode (const char *path) const |
CHOPNET_Node * | findCHOPNETNode (const char *path) const |
CHOP_Node * | findCHOPNode (const char *path) const |
ROP_Node * | findROPNode (const char *path) const |
SHOP_Node * | findSHOPNode (const char *path) const |
COP_Node * | findCOPNode (const char *path) const |
COP2_Node * | findCOP2Node (const char *path) const |
COP2NET_Node * | findCOP2NETNode (const char *path) const |
VOP_Node * | findVOPNode (const char *path) const |
VOPNET_Node * | findVOPNETNode (const char *path) const |
DOP_Node * | findDOPNode (const char *path) const |
TOP_Node * | findTOPNode (const char *path) const |
TOPNET_Node * | findTOPNETNode (const char *path) const |
LOP_Node * | findLOPNode (const char *path) const |
OBJ_Node * | castToOBJNode () const |
SOP_Node * | castToSOPNode () const |
CHOPNET_Node * | castToCHOPNETNode () const |
CHOP_Node * | castToCHOPNode () const |
ROP_Node * | castToROPNode () const |
SHOP_Node * | castToSHOPNode () const |
COP_Node * | castToCOPNode () const |
COP2_Node * | castToCOP2Node () const |
COP2NET_Node * | castToCOP2NETNode () const |
VOP_Node * | castToVOPNode () const |
VOPNET_Node * | castToVOPNETNode () const |
DOP_Node * | castToDOPNode () const |
TOP_Node * | castToTOPNode () const |
TOPNET_Node * | castToTOPNETNode () const |
LOP_Node * | castToLOPNode () const |
const UT_String & | getComment () const |
Accessors for this node's comment string. More... | |
bool | setComment (const char *str) |
Accessors for this node's comment string. More... | |
UT_Color | getColor () const override |
bool | setColor (const UT_Color &col) override |
bool | getColorDefault () const |
bool | setColorDefault (bool usedefault) |
const UT_StringHolder & | getNodeShape () const |
Accessors for this node's shape. More... | |
void | setNodeShape (const UT_StringHolder &shape) |
void | setXY (fpreal x, fpreal y) override |
Node position/scale is used by the UI. More... | |
fpreal | getX () const override |
Node position/scale is used by the UI. More... | |
fpreal | getY () const override |
Node position/scale is used by the UI. More... | |
fpreal | getW () const override |
Node position/scale is used by the UI. More... | |
fpreal | getH () const override |
Node position/scale is used by the UI. More... | |
int | findString (const char *str, bool fullword, bool usewildcards) const override |
int | changeString (const char *from, const char *to, bool fullword) override |
virtual UT_StringArray * | getArrayForLoadedInputNames () |
virtual UT_StringArray * | getArrayForLoadedOutputNames () |
virtual int | beginVopCodeGeneratorUpdate () |
virtual void | endVopCodeGeneratorUpdate (int update_level) |
bool | traverseInputs (bool(*callback)(OP_Node &, void *), void *data, TraverseOptions opts, OP_InterestType extra_interest_mask=OP_INTEREST_ALL) |
bool | traverseInputs (bool(*callback)(const OP_Node &, void *), void *data, TraverseOptions opts, OP_InterestType extra_interest_mask=OP_INTEREST_ALL) const |
Public Member Functions inherited from OP_Parameters | |
SYS_FORCE_INLINE const UT_String & | getName () const |
SYS_FORCE_INLINE OP_Operator * | getOperator () 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_Channel * | addChannel (const char *name) |
CH_Channel * | getChannel (const char *name) |
const CH_Channel * | getChannel (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_Channels * | getChannels () const |
virtual bool | evalVariableValue (UT_String &val, int index, int thread) |
virtual bool | evalVariableValue (fpreal &val, int index, int thread) |
virtual void | getVariableString (int index, UT_String &value, int thread) |
virtual float | getVariableValue (int index, int thread) |
int | getNumParms () const |
int | getParmIndex (const UT_StringRef &name) const |
PRM_Parm & | getParm (int i) |
const PRM_Parm & | getParm (int i) const |
PRM_Parm & | getParm (const UT_StringRef &name) |
const PRM_Parm & | getParm (const UT_StringRef &name) const |
bool | hasParm (const UT_StringRef &name) const |
PRM_Parm * | getParmPtr (const UT_StringRef &name) |
const PRM_Parm * | getParmPtr (const UT_StringRef &name) const |
PRM_Parm * | getParmPtrInst (const char *name, const int *inst, int nestlevel=1) |
const PRM_Parm * | getParmPtrInst (const char *name, const int *inst, int nestlevel=1) const |
bool | getIsChangingSpareParms () const |
void | deleteAllSpareParms () |
PRM_ParmList * | createObsoleteParmList () override |
void | resolveAndDeleteObsoleteParmList (PRM_ParmList *&obsolete_parms) override |
virtual void | resolveObsoleteParms (PRM_ParmList *) |
bool | getParameterOrPropertyConst (const UT_StringRef &name, fpreal now, OP_Node *&op, PRM_Parm *&parm, PRM_ParmList *obsolete) const |
virtual int | findParametersOrProperties (fpreal now, OP_PropertyLookupList &list) |
const OP_Stat & | getStat () const |
OP_Stat & | getStat () |
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 | evalString (UT_StringHolder &val, int pi, int vi, fpreal t) const |
void | evalStringT (UT_String &val, int pi, int vi, fpreal t, int thread) const |
void | evalStringT (UT_StringHolder &val, int pi, int vi, fpreal t, int thread) const |
void | evalString (UT_String &val, const UT_StringRef &pn, int vi, fpreal t) const |
void | evalString (UT_StringHolder &val, const UT_StringRef &pn, int vi, fpreal t) const |
void | evalStringT (UT_String &val, const UT_StringRef &pn, int vi, fpreal t, int thread) const |
void | evalStringT (UT_StringHolder &val, const UT_StringRef &pn, int vi, fpreal t, int thread) const |
void | evalString (UT_String &val, const UT_StringRef &pn, int *pi, int vi, fpreal t) const |
void | evalString (UT_StringHolder &val, const UT_StringRef &pn, int *pi, int vi, fpreal t) const |
void | evalStringT (UT_String &val, const UT_StringRef &pn, int *pi, int vi, fpreal t, int thread) const |
void | evalStringT (UT_StringHolder &val, const UT_StringRef &pn, int *pi, int vi, fpreal t, int thread) const |
void | evalString (UT_String &val, const PRM_Parm *parm, int vi, fpreal t) const |
void | evalString (UT_StringHolder &val, const PRM_Parm *parm, int vi, fpreal t) const |
void | evalStringT (UT_String &val, const PRM_Parm *parm, int vi, fpreal t, int thread) const |
void | evalStringT (UT_StringHolder &val, const PRM_Parm *parm, int vi, fpreal t, int thread) const |
void | evalStringRaw (UT_String &val, int pi, int vi, fpreal t) const |
void | evalStringRaw (UT_StringHolder &val, int pi, int vi, fpreal t) const |
void | evalStringRawT (UT_String &val, int pi, int vi, fpreal t, int thread) const |
void | evalStringRawT (UT_StringHolder &val, int pi, int vi, fpreal t, int thread) const |
void | evalStringRaw (UT_String &val, const UT_StringRef &pn, int vi, fpreal t) const |
void | evalStringRaw (UT_StringHolder &val, const UT_StringRef &pn, int vi, fpreal t) const |
void | evalStringRawT (UT_String &val, const UT_StringRef &pn, int vi, fpreal t, int thread) const |
void | evalStringRawT (UT_StringHolder &val, const UT_StringRef &pn, int vi, fpreal t, int thread) const |
void | evalStringRaw (UT_String &val, const UT_StringRef &pn, int *pi, int vi, fpreal t) const |
void | evalStringRaw (UT_StringHolder &val, const UT_StringRef &pn, int *pi, int vi, fpreal t) const |
void | evalStringRawT (UT_String &val, const UT_StringRef &pn, int *pi, int vi, fpreal t, int thread) const |
void | evalStringRawT (UT_StringHolder &val, const UT_StringRef &pn, int *pi, int vi, fpreal t, int thread) const |
void | evalStringRaw (UT_String &val, const PRM_Parm *parm, int vi, fpreal t) const |
void | evalStringRaw (UT_StringHolder &val, const PRM_Parm *parm, int vi, fpreal t) const |
void | evalStringRawT (UT_String &val, const PRM_Parm *parm, int vi, fpreal t, int thread) const |
void | evalStringRawT (UT_StringHolder &val, const PRM_Parm *parm, int vi, fpreal t, int thread) const |
PRM_DataItemHandle | evalData (int pi, int vi, fpreal t) const |
PRM_DataItemHandle | evalDataT (int pi, int vi, fpreal t, int thread) const |
PRM_DataItemHandle | evalData (const UT_StringRef &pn, int vi, fpreal t) const |
PRM_DataItemHandle | evalDataT (const UT_StringRef &pn, int vi, fpreal t, int thread) const |
PRM_DataItemHandle | evalData (const UT_StringRef &pn, int *pi, int vi, fpreal t) const |
PRM_DataItemHandle | evalDataT (const UT_StringRef &pn, int *pi, int vi, fpreal t, int thread) const |
PRM_DataItemHandle | evalData (const PRM_Parm *parm, int vi, fpreal t) const |
PRM_DataItemHandle | evalDataT (const PRM_Parm *parm, int vi, fpreal t, int thread) const |
void | evalJSONMap (UT_JSONValueMap &val, int pi, int vi, fpreal t) const |
void | evalJSONMapT (UT_JSONValueMap &val, int pi, int vi, fpreal t, int thread) const |
void | evalJSONMap (UT_JSONValueMap &val, const UT_StringRef &pn, int vi, fpreal t) const |
void | evalJSONMapT (UT_JSONValueMap &val, const UT_StringRef &pn, int vi, fpreal t, int thread) const |
void | evalJSONMap (UT_JSONValueMap &val, const UT_StringRef &pn, int *pi, int vi, fpreal t) const |
void | evalJSONMapT (UT_JSONValueMap &val, const UT_StringRef &pn, int *pi, int vi, fpreal t, int thread) const |
void | evalJSONMap (UT_JSONValueMap &val, const PRM_Parm *parm, int vi, fpreal t) const |
void | evalJSONMapT (UT_JSONValueMap &val, const PRM_Parm *parm, int vi, fpreal t, int thread) const |
void | evalJSONMapRaw (UT_JSONValueMap &val, int pi, int vi, fpreal t) const |
void | evalJSONMapRawT (UT_JSONValueMap &val, int pi, int vi, fpreal t, int thread) const |
void | evalJSONMapRaw (UT_JSONValueMap &val, const UT_StringRef &pn, int vi, fpreal t) const |
void | evalJSONMapRawT (UT_JSONValueMap &val, const UT_StringRef &pn, int vi, fpreal t, int thread) const |
void | evalJSONMapRaw (UT_JSONValueMap &val, const UT_StringRef &pn, int *pi, int vi, fpreal t) const |
void | evalJSONMapRawT (UT_JSONValueMap &val, const UT_StringRef &pn, int *pi, int vi, fpreal t, int thread) const |
void | evalJSONMapRaw (UT_JSONValueMap &val, const PRM_Parm *parm, int vi, fpreal t) const |
void | evalJSONMapRawT (UT_JSONValueMap &val, const PRM_Parm *parm, int vi, fpreal t, int thread) const |
CH_StringMeaning | getStringMeaning (int pi, int vi, fpreal t) const |
CH_StringMeaning | getStringMeaning (const char *pn, int vi, fpreal t) const |
CH_StringMeaning | getStringMeaningInst (const char *name, const int *inst, int vi, fpreal t, int nest_level=1) const |
CH_ExprLanguage | getExprLanguage () const override |
void | setExprLanguage (CH_ExprLanguage language) |
void | insertMultiParmItem (const char *pn, int i) |
void | removeMultiParmItem (const char *pn, int i) |
void | updateMultiParmFromRamp (fpreal t, const UT_Ramp &ramp, PRM_Parm &m, bool add_wrap, PRM_AddKeyType add_key=PRM_AK_MARK_PENDING) |
void | updateRampFromMultiParm (fpreal t, const PRM_Parm &m, UT_Ramp &ramp, bool *time_dep=NULL, DEP_MicroNode *depnode=NULL) const |
bool | convertObsAnimatedToStringExpression (PRM_ParmList *obsolete_parms, const char *pn, int vi, fpreal t, UT_String &result, bool reset_obs) |
bool | expandString (UT_String &val, fpreal t, int thread, const char *channel_name=0) |
bool | isParmDirty (int idx, fpreal t) |
bool | isParmDirty (const char *n, fpreal t) |
bool | isParmDirtyInst (const char *name, const int *inst, fpreal t, int nestlevel=1) |
void | cacheParmValues (const OP_Context &context) |
void | clearParmCache () |
bool | isParmTimeDependent (int idx, int comp=-1) const |
bool | isParmTimeDependent (const char *name, int comp=-1) const |
int | getErrorMessages (UT_String &messages, UT_ErrorSeverity severity=UT_ERROR_NONE) |
int | findError (const char *type, int code) const |
int | removeError (int idx) |
void | clearDuplicateErrors () |
void | opMessage (int code, const char *m=0) const |
void | opWarning (int code, const char *m=0) const |
void | opError (int code, const char *m=0) const |
void | opFatal (int code, const char *m=0) const |
void | opLocalError (int code, const char *m=0) |
void | opLocalWarning (int code, const char *m=0) |
void | opLocalDeadlockError () |
void | appendError (const char *type, int code, const char *m, UT_ErrorSeverity sev) |
void | clearErrors () |
void | clearErrors (OP_Context &context) |
exint | getErrorVersion () |
bool | hasDeadlockError () const |
virtual OP_ERROR | error (OP_Context &context) |
bool | hasError (OP_Context &context) |
virtual OP_ERROR | error () |
bool | hasError () |
void | stealErrors (UT_ErrorManager &src, bool borrow_only=false) |
OP_ERROR | getSaveError () |
bool | isGettingSaveError () const |
void | addChannelError (const char *type, int code, const char *msg=0) |
void | chChanged (CH_Channel *ch, CH_CHANGE_TYPE reason) |
virtual void | saveParmsForUndo (bool scopedOnly=false, CH_Collection *collection=NULL) |
void | saveSingleParmForUndo (PRM_Parm *parm) |
void | saveParmForUndo (PRM_Parm *) |
virtual void | saveKeyFrameForUndo (CH_Channel *chp, fpreal gtime) |
int | getAnyUndoPending () const |
int | canAccess (unsigned mask) const |
bool | canAccess (unsigned mask, const PRM_Parm *parm) const |
bool | canAccessChannel (uint mask, const CH_Channel *chp) const |
void | updateUserMask () |
bool | canModifyFromUI (const PRM_Parm *parm, int vi) const |
virtual int | reloadNewFiles (fpreal time_now) |
void | triggerOPChanged (OP_EventType reason, int index) |
void | parmChanged (int parm_index) |
void | parmExprChanged (int parm_index) |
void | operatorDeleted () |
void | saveParmCommand (std::ostream &os, int values=0, int defaultstoo=1, bool spareparms=true) const |
int | loadParmCommand (int argc, const char *const argv[], int docallbacks, void *data, fpreal now, bool followchrefs, CMD_Args *args) |
void | commandParmCallback (void *data, fpreal now, int argc, char *argv[], CMD_Args *args) |
void | saveMultiParmInstanceCommand (std::ostream &os, const char *opname, bool spareparms) const |
int64 | getMemoryUsage (bool inclusive) const override |
void | bumpTakeReference (int dir) |
int | getTakeReferences () const |
void | createChannelGroupsFromFolders (CH_Group &parent_group, bool only_channels, bool leaf_channels_only=false, bool only_unlocked=true) |
bool | getAutoScopedChannel (PRM_Parm *parm, int vector_index, OP_GetAutoScopedOptions &opts, CH_ChannelRef &chref) |
Returns the scoped channel ref corresponding to a parameter. More... | |
void | getAutoScopedChannels (CH_ChannelRefList &chlist, bool follow_layer_overrides=true, bool include_animated=false, bool follow_channel_refs=true, bool include_autoscope=true) |
void | getAutoScopedChannels (CH_ChannelRefList &chlist, OP_GetAutoScopedOptions &opts) |
void | getChopScopeChannels (UT_WorkBuffer &chopscope_cmd) |
bool | getParmIsVisible (const char *parmname) |
const PRM_Template * | getInterfaceParmTemplates () const |
const PRM_Template * | getSpareParmTemplates () const |
const PRM_ScriptImports * | getSpareParmTemplateImports () const |
const PRM_Template * | getSpareParmLayoutTemplates () const |
const PRM_ScriptImports * | getSpareParmLayoutTemplateImports () const |
int | getSpareParmTemplatesId () const |
int | numSpareInputs () const |
bool | hasMultiparmInfo () const |
OP_MultiparmInfo & | getMultiparmInfo () |
void | initMultiparmInstance (UT_ValArray< PRM_Parm * > &parms) override |
void | addOrRemoveMultiparmInstance () override |
bool | savePresetContents (std::ostream &os) override |
bool | loadPresetContents (const char *tok, UT_IStream &is) override |
void | createParmMicroNode (const UT_StringRef &pn, int *pi) |
virtual bool | getParameterOrProperty (const UT_StringRef &name, fpreal now, OP_Node *&op, PRM_Parm *&parm, bool create_missing_multiparms, PRM_ParmList *obsolete=0) |
virtual bool | getParameterOrPropertyByChannel (const UT_StringRef &chname, fpreal now, OP_Node *&op, PRM_Parm *&parm, int &vector_index, PRM_ParmList *obsolete=0) |
exint | evalInt (int pi, int vi, fpreal t) const |
exint | evalIntT (int pi, int vi, fpreal t, int thread) const |
exint | evalInt (const UT_StringRef &pn, int vi, fpreal t) const |
exint | evalIntT (const UT_StringRef &pn, int vi, fpreal t, int thread) const |
exint | evalInt (const UT_StringRef &pn, int *pi, int vi, fpreal t) const |
exint | evalIntT (const UT_StringRef &pn, int *pi, int vi, fpreal t, int thread) const |
exint | evalInt (const PRM_Parm *parm, int vi, fpreal t) const |
exint | evalIntT (const PRM_Parm *parm, int vi, fpreal t, int thread) const |
fpreal | evalFloat (int pi, int vi, fpreal t) const |
fpreal | evalFloatT (int pi, int vi, fpreal t, int thread) const |
fpreal | evalFloat (const UT_StringRef &pn, int vi, fpreal t) const |
fpreal | evalFloatT (const UT_StringRef &pn, int vi, fpreal t, int thread) const |
fpreal | evalFloat (const UT_StringRef &pn, int *pi, int vi, fpreal t) const |
fpreal | evalFloatT (const UT_StringRef &pn, int *pi, int vi, fpreal t, int thread) const |
fpreal | evalFloat (const PRM_Parm *parm, int vi, fpreal t) const |
fpreal | evalFloatT (const PRM_Parm *parm, int vi, fpreal t, int thread) const |
void | evalFloats (int pi, fpreal64 *v, fpreal t) const |
void | evalFloatsT (int pi, fpreal64 *v, fpreal t, int thread) const |
void | evalFloats (const UT_StringRef &pn, fpreal64 *v, fpreal t) const |
void | evalFloatsT (const UT_StringRef &pn, fpreal64 *v, fpreal t, int thread) const |
void | evalFloats (const UT_StringRef &pn, int *pi, fpreal64 *v, fpreal t) const |
void | evalFloatsT (const UT_StringRef &pn, int *pi, fpreal64 *v, fpreal t, int thread) const |
void | evalFloats (const PRM_Parm *parm, fpreal64 *v, fpreal t) const |
void | evalFloatsT (const PRM_Parm *parm, fpreal64 *v, fpreal t, int thread) const |
void | evalFloatsT (int pi, fpreal32 *v, fpreal t, int thread) const |
void | evalFloats (int pi, fpreal32 *v, fpreal t) const |
void | evalFloatsT (const UT_StringRef &pn, fpreal32 *v, fpreal t, int thread) const |
void | evalFloats (const UT_StringRef &pn, fpreal32 *v, fpreal t) const |
void | evalFloatsT (const UT_StringRef &pn, int *pi, fpreal32 *v, fpreal t, int thread) const |
void | evalFloats (const UT_StringRef &pn, int *pi, fpreal32 *v, fpreal t) const |
void | evalFloatsT (const PRM_Parm *parm, fpreal32 *v, fpreal t, int thread) const |
void | evalFloats (const PRM_Parm *parm, fpreal32 *v, fpreal t) const |
void | evalFloatsInst (const UT_StringRef &name, const int *inst, fpreal32 *v, fpreal t, int nestlevel=1) const |
exint | evalIntInst (const UT_StringRef &name, const int *inst, int vi, fpreal t, int nestlevel=1) const |
exint | evalIntInstT (const UT_StringRef &name, const int *inst, int vi, fpreal t, int thread, int nestlevel=1) const |
fpreal | evalFloatInst (const UT_StringRef &name, const int *inst, int vi, fpreal t, int nestlevel=1) const |
fpreal | evalFloatInstT (const UT_StringRef &name, const int *inst, int vi, fpreal t, int thread, int nestlevel=1) const |
void | evalFloatsInst (const UT_StringRef &name, const int *inst, fpreal64 *v, fpreal t, int nestlevel=1) const |
void | evalFloatsInstT (const UT_StringRef &name, const int *inst, fpreal64 *v, fpreal t, int thread, int nestlevel=1) const |
void | evalStringInst (const UT_StringRef &name, const int *inst, UT_String &val, int vi, fpreal t, int nestlevel=1) const |
void | evalStringInst (const UT_StringRef &name, const int *inst, UT_StringHolder &val, int vi, fpreal t, int nestlevel=1) const |
void | evalStringInstT (const UT_StringRef &name, const int *inst, UT_String &val, int vi, fpreal t, int thread, int nestlevel=1) const |
void | evalStringInstT (const UT_StringRef &name, const int *inst, UT_StringHolder &val, int vi, fpreal t, int thread, int nestlevel=1) const |
void | evalStringInstRaw (const UT_StringRef &name, const int *inst, UT_String &val, int vi, fpreal t, int nestlevel=1) const |
void | evalStringInstRaw (const UT_StringRef &name, const int *inst, UT_StringHolder &val, int vi, fpreal t, int nestlevel=1) const |
void | evalStringInstRawT (const UT_StringRef &name, const int *inst, UT_String &val, int vi, fpreal t, int thread, int nestlevel=1) const |
void | evalStringInstRawT (const UT_StringRef &name, const int *inst, UT_StringHolder &val, int vi, fpreal t, int thread, int nestlevel=1) const |
PRM_DataItemHandle | evalDataInst (const UT_StringRef &name, const int *inst, int vi, fpreal t, int nestlevel=1) const |
PRM_DataItemHandle | evalDataInstT (const UT_StringRef &name, const int *inst, int vi, fpreal t, int thread, int nestlevel=1) const |
void | setIntInst (exint value, const char *parmname, const int *inst, int vectori, fpreal t, int nestlevel=1) |
void | setFloatInst (fpreal value, const char *parmname, const int *inst, int vectori, fpreal t, int nestlevel=1) |
void | setStringInst (const UT_StringRef &value, CH_StringMeaning meaning, const char *parmname, const int *inst, int vectori, fpreal t, int nestlevel=1) |
void | setDataInst (const PRM_DataItemHandle &value, const char *parmname, const int *inst, int vectori, fpreal t, int nestlevel=1) |
bool | evalParameterOrProperty (const UT_StringRef &parm_name, int vec_index, fpreal now, int &value, PRM_Parm **parmptr=NULL) const |
bool | evalParameterOrPropertyT (const UT_StringRef &parm_name, int vec_index, fpreal now, int &value, int thread, PRM_Parm **parmptr=NULL) const |
bool | evalParameterOrProperty (const UT_StringRef &parm_name, int vec_index, fpreal now, fpreal &values, PRM_Parm **parmptr=NULL) const |
bool | evalParameterOrPropertyT (const UT_StringRef &parm_name, int vec_index, fpreal now, fpreal &values, int thread, PRM_Parm **parmptr=NULL) const |
bool | evalParameterOrProperty (const UT_StringRef &parm_name, int vec_index, fpreal now, UT_String &value, PRM_Parm **parmptr=NULL) const |
bool | evalParameterOrPropertyT (const UT_StringRef &parm_name, int vec_index, fpreal now, UT_String &value, int thread, PRM_Parm **parmptr=NULL) const |
bool | evalParameterOrPropertyRaw (const UT_StringRef &parm_name, int vec_index, fpreal now, UT_String &value, PRM_Parm **parmptr=NULL) const |
bool | evalParameterOrPropertyRawT (const UT_StringRef &parm_name, int vec_index, fpreal now, UT_String &value, int thread, PRM_Parm **parmptr=NULL) const |
bool | evalParameterOrPropertyExpr (const UT_StringRef &parm_name, int vec_index, fpreal now, UT_String &value, PRM_Parm **parmptr=NULL) const |
bool | evalParameterOrPropertyExprT (const UT_StringRef &parm_name, int vec_index, fpreal now, UT_String &value, int thread, PRM_Parm **parmptr=NULL) const |
bool | evalVectorProperty (const UT_StringRef &parm_name, fpreal now, int *values, int vec_size, PRM_Parm **parmptr=NULL) const |
bool | evalVectorPropertyT (const UT_StringRef &parm_name, fpreal now, int *values, int vec_size, int thread, PRM_Parm **parmptr=NULL) const |
bool | evalVectorProperty (const UT_StringRef &parm_name, fpreal now, fpreal *values, int vec_size, PRM_Parm **parmptr=NULL) const |
bool | evalVectorPropertyT (const UT_StringRef &parm_name, fpreal now, fpreal *values, int vec_size, int thread, PRM_Parm **parmptr=NULL) const |
void | setInt (int parmi, int vectori, fpreal t, exint value) |
void | setInt (const char *parmname, int vectori, fpreal t, exint value) |
void | setInt (const char *parmname, int &parmi, int vectori, fpreal t, exint value) |
void | setFloat (int parmi, int vectori, fpreal t, fpreal value, PRM_AddKeyType add_key=PRM_AK_MARK_PENDING) |
void | setFloat (const char *parmname, int vectori, fpreal t, fpreal value, PRM_AddKeyType add_key=PRM_AK_MARK_PENDING) |
void | setFloat (const char *parmname, int &parmi, int vectori, fpreal t, fpreal value, PRM_AddKeyType add_key=PRM_AK_MARK_PENDING) |
void | setString (const UT_StringRef &val, CH_StringMeaning meaning, int parmi, int vectori, fpreal t) |
void | setString (const UT_StringRef &val, CH_StringMeaning meaning, const char *parmname, int vectori, fpreal t) |
void | setString (const UT_StringRef &val, CH_StringMeaning meaning, const char *parmname, int &parmi, int vectori, fpreal t) |
void | setData (int parmi, int vectori, fpreal t, const PRM_DataItemHandle &val) |
void | setData (const char *parmname, int vectori, fpreal t, const PRM_DataItemHandle &val) |
void | setData (const char *parmname, int &parmi, int vectori, fpreal t, const PRM_DataItemHandle &val) |
void | setChRefInt (int pi, int vi, fpreal t, exint val, PRM_AddKeyType add_key=PRM_AK_MARK_PENDING, bool propagate=true) |
void | setChRefInt (const char *pn, int vi, fpreal t, exint val, PRM_AddKeyType add_key=PRM_AK_MARK_PENDING, bool propagate=true) |
void | setChRefFloat (int pi, int vi, fpreal t, fpreal val, PRM_AddKeyType add_key=PRM_AK_MARK_PENDING, bool propagate=true) |
void | setChRefFloat (const char *pn, int vi, fpreal t, fpreal val, PRM_AddKeyType add_key=PRM_AK_MARK_PENDING, bool propagate=true) |
void | setChRefString (const UT_StringRef &val, CH_StringMeaning meaning, int pi, int vi, fpreal t, PRM_AddKeyType add_key=PRM_AK_MARK_PENDING, bool propagate=true) |
void | setChRefString (int pi, int vi, fpreal t, const UT_StringRef &val, CH_StringMeaning meaning, PRM_AddKeyType add_key=PRM_AK_MARK_PENDING, bool propagate=true) |
void | setChRefString (const UT_StringRef &val, CH_StringMeaning meaning, const char *pn, int vi, fpreal t, PRM_AddKeyType add_key=PRM_AK_MARK_PENDING, bool propagate=true) |
void | setChRefString (const char *pn, int vi, fpreal t, const UT_StringRef &val, CH_StringMeaning meaning, PRM_AddKeyType add_key=PRM_AK_MARK_PENDING, bool propagate=true) |
void | setChRefData (int pi, int vi, fpreal t, const PRM_DataItemHandle &val, PRM_AddKeyType add_key=PRM_AK_MARK_PENDING, bool propagate=true) |
void | setChRefData (const char *pn, int vi, fpreal t, const PRM_DataItemHandle &val, PRM_AddKeyType add_key=PRM_AK_MARK_PENDING, bool propagate=true) |
bool | setParameterOrProperty (const char *parm_name, int vec_index, fpreal now, int32 value, bool set_key=false, bool propagate=true) |
bool | setParameterOrProperty (const char *parm_name, int vec_index, fpreal now, int64 value, bool set_key=false, bool propagate=true) |
bool | setParameterOrProperty (const char *parm_name, int vec_index, fpreal now, fpreal value, bool set_key=false, bool propagate=true) |
bool | setParameterOrProperty (const char *parm_name, int vec_index, fpreal now, const char *value, CH_StringMeaning meaning, bool set_key=false, bool propagate=true) |
void | setSilentInt (int parmi, int vectori, fpreal t, exint value) |
void | setSilentInt (const char *parmname, int vectori, fpreal t, exint value) |
void | setSilentInt (const char *parmname, int &parmi, int vectori, fpreal t, exint value) |
void | setSilentFloat (int parmi, int vectori, fpreal t, fpreal value, PRM_AddKeyType add_key=PRM_AK_MARK_PENDING) |
void | setSilentFloat (const char *parmname, int vectori, fpreal t, fpreal value, PRM_AddKeyType add_key=PRM_AK_MARK_PENDING) |
void | setSilentFloat (const char *parmname, int &parmi, int vectori, fpreal t, fpreal value, PRM_AddKeyType add_key=PRM_AK_MARK_PENDING) |
void | setSilentString (const UT_StringRef &value, CH_StringMeaning meaning, int parmi, int vectori, fpreal t) |
void | setSilentString (const UT_StringRef &value, CH_StringMeaning meaning, const char *parmname, int vectori, fpreal t) |
void | setSilentString (const UT_StringRef &value, CH_StringMeaning meaning, const char *parmname, int &parmi, int vectori, fpreal t) |
void | setSilentData (int parmi, int vectori, fpreal t, const PRM_DataItemHandle &value) |
void | setSilentData (const char *parmname, int vectori, fpreal t, const PRM_DataItemHandle &value) |
void | setSilentData (const char *parmname, int &parmi, int vectori, fpreal t, const PRM_DataItemHandle &value) |
void | setSilentIntInst (exint value, const char *parmname, const int *inst, int vectori, fpreal t, int nestlevel=1) |
void | setSilentFloatInst (fpreal value, const char *parmname, const int *inst, int vectori, fpreal t, int nestlevel=1) |
void | setSilentStringInst (const UT_StringRef &value, CH_StringMeaning meaning, const char *parmname, const int *inst, int vectori, fpreal t, int nestlevel=1) |
void | setSilentDataInst (const PRM_DataItemHandle &value, const char *parmname, const int *inst, int vectori, fpreal t, int nestlevel=1) |
void | setChRefInt (const char *parmname, int &pi, int vi, fpreal t, exint val, PRM_AddKeyType add_key=PRM_AK_MARK_PENDING, bool propagate=true) |
void | setChRefFloat (const char *parmname, int &pi, int vi, fpreal t, fpreal val, PRM_AddKeyType add_key=PRM_AK_MARK_PENDING, bool propagate=true) |
void | setChRefString (const UT_StringRef &val, CH_StringMeaning meaning, const char *parmname, int &pi, int vi, fpreal t, PRM_AddKeyType add_key=PRM_AK_MARK_PENDING, bool propagate=true) |
void | setChRefData (const char *parmname, int &pi, int vi, fpreal t, const PRM_DataItemHandle &val, PRM_AddKeyType add_key=PRM_AK_MARK_PENDING, bool propagate=true) |
PRM_Parm * | getParmActivationControl (const UT_StringRef &parm_name) |
Public Member Functions inherited from PRM_ParmOwner | |
const char * | getFullPath (UT_String &str) const |
const char * | getFullPath (UT_WorkBuffer &str) const |
UT_StringHolder | getFullPath () const |
SYS_FORCE_INLINE PRM_ParmList * | getParmList () |
SYS_FORCE_INLINE const PRM_ParmList * | getParmList () const |
virtual bool | createSpareParametersForLoad (UT_StringArray &, PRM_ParmNameMap &, UT_String &) |
bool | isPendingOverride () const |
const char * | getPendingOverrideString () const |
void | setPendingOverrideString (const char *s) |
Public Member Functions inherited from OP_NetworkBoxItem | |
OP_NetworkBoxItem () | |
virtual | ~OP_NetworkBoxItem () |
bool | setXYWithBoundsChecks (fpreal x, fpreal y) |
void | validateSafeBounds (fpreal &x, fpreal &y) |
void | validateSafeBounds (fpreal &x, fpreal &y, fpreal &w, fpreal &h) |
void | moveToGoodPosition (bool relativetoinputs=true, bool moveinputs=true, bool moveoutputs=true, bool moveunconnected=true) |
void | setOwnerBox (OP_NetworkBox *box) |
OP_NetworkBox * | getOwnerBox () const |
bool | hasOwnerBox (const OP_NetworkBoxItem *item) const |
OP_NetworkBox * | getMinimizedOwnerBox () const |
void | getPathFromParent (UT_String &str, const OP_Node *parent) const |
void | getPathFromParent (UT_WorkBuffer &str, const OP_Node *parent) const |
void | getRelativePathTo (const OP_NetworkBoxItem *base_item, UT_String &result) const |
Returns the path of this item relative to 'base_item'. More... | |
OP_Network * | getCreator () const |
OP_Network * | getCodeCreator () const |
void | getConnectedItems (OP_NetworkBoxItemList &connected, bool inputs, bool recursive, bool include_this_item) const |
Fills an array with all network box items connected to this item. More... | |
int64 | getMemoryUsage (bool inclusive) const |
Additional Inherited Members | |
Public Types inherited from OP_Node | |
enum | OTLSyncMode { OTLSYNC_DELAY = 0, OTLSYNC_DOSYNC = 1 } |
enum | TransformMode { TRANSFORM_WORLD, TRANSFORM_IWORLD, TRANSFORM_PRE, TRANSFORM_PARENT, TRANSFORM_PARM, TRANSFORM_PRECONSTRAINT, TRANSFORM_PARENTBONE, TRANSFORM_RAWPARM, TRANSFORM_PREPARM, TRANSFORM_PRERAWPARM } |
enum | RampError { RAMP_ERR_SUCCESS, RAMP_ERR_NOT_FOUND, RAMP_ERR_ONLY_KEY } |
using | OP_LockTypes = OP_NodeFlags::OP_LockTypes |
enum | TraverseOptions { TRAVERSE_DEFAULT = 0x0000, TRAVERSE_INTO_SUBNETS = 0x0001, TRAVERSE_REF_INPUTS = 0x0002, TRAVERSE_ONLY_USED_INPUTS = 0x0004, TRAVERSE_PASSTHROUGH_INPUTS = 0x0008, TRAVERSE_EXTRA_INPUTS = 0x0010, TRAVERSE_SIMULATION_INPUTS = 0x0020, TRAVERSE_COOKED_INPUT_INDEX_INPUTS = 0x0040 } |
Static Public Member Functions inherited from CHOP_Realtime | |
static void | deleteRealtimeData (chop_RealtimeData *data) |
Static Public Member Functions inherited from CHOP_Node | |
static void | buildOperatorTable (OP_OperatorTable &table) |
static fpreal | getGlobalRate () |
static fpreal | getGlobalStart () |
static fpreal | getGlobalEnd () |
static fpreal | getGlobalSampleStep () |
static void | addError (int code, const char *msg=0) |
static void | addWarning (int code, const char *msg=0) |
static bool | hasChannelMatchFailure (PRM_Match match_by, PRM_MatchFailure match_failure, const CL_Clip *source1, const char *name1, const CL_Clip *source2, const char *name2) |
static void | setConflictCallback (CHOP_ConflictCallback func, void *data) |
static void | getConflictResolvePattern (UT_StringHolder &pattern) |
static void | setConflictResolvePattern (const char *pattern) |
static void | installCommands () |
static void | setMaxSliceSize (fpreal size) |
static fpreal | getMaxSliceSize () |
static void | setTimeSliceDefault (int state) |
static int | getTimeSliceDefault () |
static void | setSmartCook (int f) |
static int | getSmartCook () |
static void | buildEditorMenu (void *, PRM_Name *, int, const PRM_SpareData *, const PRM_Parm *) |
static void | buildNetMenu (void *, PRM_Name *, int, const PRM_SpareData *, const PRM_Parm *) |
static void | buildNodeMenu (void *, PRM_Name *, int, const PRM_SpareData *, const PRM_Parm *) |
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_OperatorTable * | getOperatorTable (const UT_StringRef &op_type, const char *script_path=0) |
static void | saveOTLBackupInformation (std::ostream &os, const OP_OperatorList &fallbackops, const OP_OperatorList &dummyops) |
static void | saveFallbacksPathsFor (std::ostream &os, UT_Set< OP_Operator * > otloptable) |
static bool | warnDeprecatedOpsOnLoad () |
static void | setWarnDeprecatedOpsOnLoad (bool enable) |
static int | syncContentsLevel () |
Static Public Member Functions inherited from OP_Node | |
static const OP_TypeInfo * | getOpInfoFromOpTypeID (OP_OpTypeId opid) |
static const OP_TypeInfo * | getOpInfoFromOpTypeName (const char *name) |
static const OP_TypeInfo * | getOpInfoFromTableName (const char *name) |
static const OP_TypeInfo * | getOpInfoFromScriptDir (const char *dir) |
static bool | isValidOpName (const UT_StringView &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 bool | isValidOpName (const char *s, bool allow_rel_paths=false, bool ignore_node_names_env_var=false) |
static bool | isValidOpName (const UT_String &str, bool allow_rel_paths=false, bool ignore_node_names_env_var=false) |
static bool | isValidOpPath (const UT_StringRef &s) |
static bool | forceValidOpName (UT_String &name) |
static OP_Node * | lookupNode (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_MicroNode * | getEvalChannelMicroNode (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 const UT_XformOrder & | buildXformOrder (int trs, int xyz) |
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', float rx=0.0f, float ry=0.0f, float rz=0.0f) |
static void | buildQuadricXform (UT_DMatrix4 &mat, double tx, double ty, double tz, double sx, double sy, double sz, char axis= 'y', double rx=0.0, double ry=0.0, double rz=0.0) |
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 UT_StringHolder | defaultInputName (int idx) |
static UT_StringHolder | defaultOutputName (int idx) |
static const UT_Color & | getGlobalDefaultColor () |
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 | addExtraInputs (const UT_Array< OP_InterestRef > &target_refs, const UT_Array< OP_InterestRef > &source_refs) |
static void | addExtraInput (OP_Node &source, int source_pi, int source_vi, OP_Node &target, int target_pi, int target_vi) |
Optimized version of addExtraInput that doesn't create OP_InterestRef. More... | |
static bool | getMicroNodesFromRef (OP_Node *op, OP_InterestType type, DEP_MicroNodeList µnodes, bool data_target) |
static bool | getMicroNodesFromRef (OP_Node &op, int parm_i, int vec_i, DEP_MicroNodeList µnodes) |
static void | addExtraInput (OP_Node &source, PRM_Parm &source_parm, int source_vi, OP_Node &target, PRM_Parm &target_parm, int target_vi) |
Optimized version of addExtraInput that doesn't create OP_InterestRef. More... | |
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 bool | followChannelReferencesWithDeps (const OP_FollowChanRefsOptions &opt, OP_Node *&newop, PRM_Parm *&newparm, int &newvecidx, CH_Channel *chp) |
static void | followChannelReferencesT (const OP_FollowChanRefsOptions &opt, OP_Node *&newop, PRM_Parm *&newparm, int &newvecidx, int thread) |
static bool | followChannelReferencesWithDepsT (const OP_FollowChanRefsOptions &opt, OP_Node *&newop, PRM_Parm *&newparm, int &newvecidx, int thread, CH_Channel *chp) |
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, const PRM_Parm *parm, int index, const OP_Node *srcnode) |
static void | getValueAsProcessedNodePaths (fpreal t, UT_Array< UT_StringHolder > &resultarr, const PRM_Parm *parm, int index, const 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 UT_StringHolder | getParmActivationControlName (const UT_StringRef &parm_name) |
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_NetworkBoxItem * | lookupItem (const OP_ItemType &type, int64 id) |
static OP_NetworkBoxItem * | lookupItem (const OP_ItemId &id) |
Static Public Attributes inherited from CHOP_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_Node | |
static PRM_ChoiceList | theVexSrcParmMenu |
static PRM_Name | theVexSrcParmName |
static PRM_Name | theVexScriptParmName |
static PRM_Name | theVexNodePathParmName |
static PRM_Name | theVexClearParmName |
static PRM_Name | theVexCWDName |
Protected Member Functions inherited from CHOP_Realtime | |
CHOP_Realtime (OP_Network *parent, const char *name, OP_Operator *entry) | |
~CHOP_Realtime () override | |
virtual OP_ERROR | cookMySlice (OP_Context &, int start, int end)=0 |
virtual const char * | getTimeSliceExtension ()=0 |
virtual int | getSaveVersion () |
void | realtimeInit (fpreal t) override |
void | realtimeCleanup () override |
virtual void | realtimeStart (fpreal t) |
virtual void | realtimeStop () |
virtual ut_RealtimeData * | newRealtimeDataBlock (const char *name, const CL_Track *track, fpreal t) |
int | usesRealtime () override |
int | isRealtimeCook () override |
virtual int | isRealtimeActive (OP_Context &) |
virtual int | isTimeDependent () |
virtual int | isSteady () const |
virtual int | getSettlingTime () const |
virtual int | allowDoubleCooking () const |
int | isFirstRealtimeCook () const |
void | setFirstRealtimeCook (bool first) |
virtual int | realtimeMode () |
virtual int | adjustClip () |
OP_ERROR | doCookRealtime (OP_Context &context) override |
virtual int | getInputInterest () |
virtual fpreal | getRealtimeFrameAdjustment (fpreal) |
virtual fpreal | getRealtimeSampleRate () |
int | getModifiedRange (int &first, int &last, int clear=1) override |
int | isWraparound () const |
int | getNumDataBlocks () const |
ut_RealtimeData * | getDataBlock (int n) |
ut_RealtimeData * | getDataBlock (const char *tag) |
void | getFrameRange (int &start, int &end) |
unsigned int | getAbsoluteFrame () |
virtual void | resetDataCache () |
void | setPreviousCookTime (fpreal t) |
void | getCurrentRange (int &start, int &end) const |
void | setCurrentRange (int start, int end) |
ut_RealtimeData * | addDataBlock (const char *name, const CL_Track *track=0, fpreal t=0.0) |
ut_RealtimeData * | insertDataBlock (int index, const char *name, const CL_Track *track=0, fpreal t=0.0) |
void | removeDataBlock (const char *name) |
void | removeDataBlock (int index) |
void | updateDataBlocks () |
void | copyRealtimeInput (const CL_Clip *clip, int start, int end) |
auto | getEvaluateDataLambda (const CL_Track *track) |
OP_ERROR | save (std::ostream &os, const OP_SaveFlags &flags, const char *pathPrefix, const UT_String &name_override=UT_String()) override |
bool | load (UT_IStream &is, const char *extension, const char *path) override |
virtual OP_ERROR | saveStates (UT_OStream &os) |
virtual bool | loadStates (UT_IStream &is, int version) |
virtual bool | allowResetAtFirstFrame (OP_Context &ctx) |
chop_RealtimeData * | newRealtimeBlock () |
Protected Member Functions inherited from CHOP_Node | |
CHOP_Node (OP_Network *parent, const char *name, OP_Operator *entry) | |
~CHOP_Node () override | |
void | inputConnectChanged (int which_input) override |
void | nodeUnlocked () override |
void | clearAndDestroy () override |
virtual OP_ERROR | preCook (OP_Context &context) |
virtual void | postCook () |
OP_ERROR | cookMe (OP_Context &context) override |
OP_ERROR | bypassMe (OP_Context &context, int &) override |
bool | updateParmsFlags () override |
void | initCommonBaseParm () |
void | buildOpDependencies () override |
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) override |
virtual void | handleChanNameDependency (const UT_String &chan_token, const UT_String &chan_alias, const char *old_chan_name, bool &need_cook) |
void | addParmReferences (const UT_Array< opParmData > *plist, const CH_ChannelList *clist) |
virtual int | usesScope () const |
virtual int | usesSampleMatch () const |
virtual int | usesUnits () |
void | getScopedTracks (const CL_Clip *, CL_TrackListC &) |
int | isScoped (const UT_StringRef &name) |
int | allScoped () |
void | destroyClip () |
void | destroyHandles () |
const CL_Clip * | copyInputAttributes (OP_Context &context, int destroy=1) |
const CL_Clip * | copyInput (OP_Context &context, |