HDK
|
#include <OP_Node.h>
Public Types | |
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 |
Public Member Functions | |
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... | |
virtual OP_OpTypeId | getOpTypeID () const |
virtual const char * | getOpType () const |
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) |
virtual int | getNchildren () const |
virtual OP_Node * | getChild (const char *name, int *hint=0) const |
virtual OP_Node * | getChild (int index) const |
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 |
virtual OP_Network * | createProxyRefNode (const char *path) |
OP_ERROR | getChildErrorSeverity () |
virtual void | getPotentialChildErrorNodes (OP_NodeList &nodes) const |
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 | isNetwork () 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) |
virtual int | getDandROpsEqual () |
virtual int | updateDandROpsEqual (int=1) |
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) |
virtual void | getNodeSpecificInfoText (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 |
virtual OP_NetworkBox * | findNetworkBox (const char *name) |
virtual OP_PostIt * | findPostItNote (const char *const_path) |
virtual OP_Dot * | findDot (const char *const_path) |
virtual OP_SubnetIndirectInput * | findParentInput (const char *const_path) |
virtual OP_NetworkBoxItem * | findItem (const char *const_path, OP_ItemTypeMask item_type=OP_ITEMTYPE_ALL) |
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 CH_Channel * | getTrackChannel (const char *name) |
virtual bool | findParmFromTrack (const OP_FollowChanRefsOptions &opt, const char *trackname, OP_NodeParmRefCycle &cycle, OP_Node *&node, PRM_Parm *&parm, int &vecidx) |
virtual void | evaluateBatchParms (PRM_BatchList &list, fpreal now) |
void | globNodes (const char *pat, UT_String *expand, UT_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 |
virtual void | globNetworkBoxes (const char *pat, UT_String *expand, UT_ValArray< OP_NetworkBox * > *list=0, OP_GlobContext *glob_context=0, const char *prefix=" ") |
virtual void | globPostIts (const char *pat, UT_String *expand, UT_ValArray< OP_PostIt * > *list=0, OP_GlobContext *glob_context=0, const char *prefix=" ") |
int | getAllChannels (CH_ChannelList &list, int scoped=0) |
void | opChanged (OP_EventType reason, void *data=0) override |
virtual bool | opShouldHandleChange (OP_EventType reason) |
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 OP_DataType | getCookedDataType () const =0 |
virtual void * | getCookedData (const OP_Context &) |
virtual void | deleteCookedData ()=0 |
virtual int | saveCookedData (std::ostream &os, OP_Context &, int binary=0)=0 |
virtual bool | loadCookedData (UT_IStream &is, const char *path=0) |
virtual int | saveCookedData (const char *filename, OP_Context &)=0 |
virtual int | getRelativeTransform (OP_Node &to, UT_Matrix4 &xform, OP_Context &context) |
virtual int | getRelativeTransform (OP_Node &to, UT_DMatrix4 &xform, OP_Context &context) |
virtual int | getRelativeCaptureTransform (OP_Node &to, UT_Matrix4 &xform, OP_Context &context) |
virtual int | getRelativeCaptureTransform (OP_Node &to, UT_DMatrix4 &xform, OP_Context &context) |
virtual bool | getWorldTransform (UT_Matrix4D &xform, OP_Context &) |
virtual bool | getIWorldTransform (UT_Matrix4D &xform, OP_Context &) |
virtual bool | getTransform (TransformMode mode, UT_Matrix4D &xform, OP_Context &) |
bool | getWorldTransform (UT_Matrix4F &xform, OP_Context &ctx) |
bool | getIWorldTransform (UT_Matrix4F &xform, OP_Context &ctx) |
bool | getTransform (TransformMode mode, UT_Matrix4F &xform, OP_Context &ctx) |
void | addTransformError (const OP_Node &node, const char *label=0) const |
virtual bool | getBoundingBox (UT_BoundingBox &box, OP_Context &) |
virtual const char * | getInternalOpTable () const |
virtual OP_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 | setAudio (bool on_off) |
virtual bool | setExport (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 void | setFlag (char tag, int8 val) |
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 | getAudio () const |
virtual bool | getExport () const |
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 void | clearUnreferencedInputs () |
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) |
virtual void | dumpDependencies (std::ostream &os) |
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) |
virtual void | inputConnectChanged (int which) |
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 void | fillInfoTreeNodeSpecific (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 () |
virtual const CL_Clip * | getClip (OP_Context *context=0) |
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 int | getNetOverviewColor (UT_Color &color) |
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 | changeParmTemplate (PRM_Template *new_template) |
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 void | setMapping (int idx, int type, const char *label=0) |
virtual int | getMapping (int idx, const char *&label) const |
virtual int | acceptDragDrop (DD_Source &src, const char *label) |
virtual int | testDragDrop (DD_Source &src) |
virtual void | getDragDropChoice (DD_Source &src, DD_ChoiceList &c) |
bool | hasComment () const |
bool | hasParmsNotAtFactoryDefault () const |
bool | hasAnimatedParms () const |
bool | hasChopOverriddenParms () const |
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 bool | getSaveWithVopnets () |
virtual void | runDelScript () |
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 | unscopeChannels (bool recurse) |
virtual void | undisplayChannels (bool recurse) |
virtual void | unpinChannels (bool recurse) |
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 void | getActiveOperatorsDefinedByOTL (UT_Set< OP_Operator * > &active_operators) const |
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 | hasTransformTracks () const |
virtual bool | evaluateTransformTracks (OP_Context &context, OP_EvaluateTransformTracksArgs &args) |
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) |
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) |
virtual void | getRawErrors (UT_Array< UT_Error > &errors, bool update) |
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) |
virtual OP_ERROR | getErrorSeverity () |
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 |
Static Public Member Functions | |
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 | |
static PRM_ChoiceList | theVexSrcParmMenu |
static PRM_Name | theVexSrcParmName |
static PRM_Name | theVexScriptParmName |
static PRM_Name | theVexNodePathParmName |
static PRM_Name | theVexClearParmName |
static PRM_Name | theVexCWDName |
Static Protected Member Functions | |
static void | bumpNameSerialIndex () |
static void | cmd_locate (CMD_Args &) |
static void | saveForUndoDelete (OP_NodeList &nodes) |
static bool | getStringParmOpPath (PRM_Parm &parm, int vi, UT_String &oppath, int thread) |
Static Protected Member Functions inherited from OP_Parameters | |
static bool | isReservedOpName (const char *name) |
Protected Attributes | |
UT_TokenString | myHashCode |
UT_TokenString | myParmHashCode |
int | myLastGroupMask |
OP_VERSION | myHashVersion |
fpreal | myHashTime |
int | myParmLastGroupMask |
OP_VERSION | myParmHashVersion |
fpreal | myParmHashTime |
UT_String | mySyncErrors |
OP_ERROR | mySyncErrorLevel |
int | mySyncDepth |
uint32 | myCompHash |
Protected Attributes inherited from OP_Parameters | |
OP_Channels * | myChannels |
OP_Stat | myStats |
Protected Attributes inherited from PRM_ParmOwner | |
PRM_ParmList * | myParmList |
Protected Attributes inherited from OP_NetworkBoxItem | |
UT_Color | myColor |
Friends | |
class | OP_Channels |
class | OP_DataMicroNode |
class | OP_EventMicroNode |
class | OP_Group |
class | OP_IndirectInput |
class | OP_Input |
class | OP_Network |
class | OP_OperatorTable |
class | OP_ParmMicroNode |
class | OP_UndoCreate |
class | OP_UndoDelete |
class | OP_UndoInput |
class | OP_UndoSpareParm |
class | OP_UndoUserData |
class | op_MicroNodeDirtied |
class | MOT_RemoteExecMessage |
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 } |
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 |
enum OP_Node::OTLSyncMode |
enum OP_Node::RampError |
traverseInputs calls 'callback' on this node and all its inputs. If callback returns true for any node, it will stop and return true, otherwise it will return false;
callback | Callback function |
data | User data passed to the callback function |
opts | A set of flags to configure the traversal: TRAVERSE_INTO_SUBNETS If input is a subnet, we continue traversing from its display node. TRAVERSE_REF_INPUTS Follow inputs marked as reference inputs TRAVERSE_ONLY_USED_INPUTS Follow only inputs used in the last cook TRAVERSE_PASSTHROUGH_INPUTS Use the getPassThroughNode to traverse through nodes that directly steal their input node's data. TRAVERSE_EXTRA_INPUTS Follow nodes which this node implicitly depends on. TRAVERSE_SIMULATION_INPUTS For nodes that are DOP parents, grab extra inputs from the simulation. TRAVERSE_COOKED_INPUT_INDEX_INPUTS Uses the cookedInputIndex method to traverse "passthrough"-type inputs for nodes that might trigger a cook when calling getPassThroughNode, but where we want to avoid triggering a cook. |
extra_interest_mask | For extra inputs, this mask allows one to restrict which of those dependency types follow. |
|
protected |
|
overrideprotected |
|
protected |
|
static |
|
static |
|
static |
|
virtual |
Declares that this node's data depends on the op
for the given reason (OP_INTEREST_DATA, OP_INTEREST_FLAG).
Reimplemented in OP_Director, and MGR_Node.
Declares that this node's data depends on op
channel. If vec_i is -1, then this node depends on all the channels of the parameter.
void OP_Node::addExtraInput | ( | const OP_InterestRef & | source_ref | ) |
Generic version of addExtraInput() which adds a dependency from an source ref to this node's data micronode.
void OP_Node::addExtraInput | ( | DEP_MicroNode & | source_micronode | ) |
Generic version of addExtraInput() which adds a dependency from an source micronode to this node's data micronode.
|
static |
Generic versions of addExtraInput() used by the others. In particular, the static version of addExtraInput() allows you to define channel to channel dependencies.
|
static |
Generic versions of addExtraInput() used by the others. In particular, the static version of addExtraInput() allows you to define channel to channel dependencies.
|
static |
Generic versions of addExtraInput() used by the others. In particular, the static version of addExtraInput() allows you to define channel to channel dependencies.
|
static |
Optimized version of addExtraInput that doesn't create OP_InterestRef.
void OP_Node::addExtraInput | ( | OP_Node * | op, |
OP_InterestType | type, | ||
DEP_MicroNodeList & | sources_cache | ||
) |
|
static |
Optimized version of addExtraInput that doesn't create OP_InterestRef.
void OP_Node::addExtraInputs | ( | const UT_Array< OP_InterestRef > & | source_refs | ) |
Add many extra inputs in one call. See addExtraInput.
void OP_Node::addExtraInputs | ( | const DEP_MicroNodeList & | deps | ) |
|
static |
void OP_Node::addExtraInputs | ( | const UT_Array< OP_Node * > & | nodes, |
OP_InterestType | type, | ||
DEP_MicroNodeList & | sources_cache | ||
) |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
protected |
|
static |
Add an error to the given error manager, collapsing chains of invalid sources.
Marks this to be dependent on all the parameters inside of the multiparm.
|
static |
|
static |
|
inline |
|
protected |
|
protected |
|
inlinevirtual |
Registers an error for cooking the given node's transform. If label is supplied, then it will be used as a label of the transform error.
|
inlineprotected |
|
virtual |
Reimplemented in VOP_SubnetBase.
|
virtual |
Returns true if editor should display delete input button.
|
virtual |
Returns true if editor should display parameter option menu button.
void OP_Node::beginPropagateModification | ( | ) |
|
inlineprotected |
|
inlinevirtual |
When doing bulk parameter modifications, they can be sandwiched between blockModify(true) and blockModify(false) statements as an optimization. Parameters modified during blockModify(true) will have their dirtiness propagation to other scene entities like nodes and parameters suppressed until blockModify(false) is called.
|
virtual |
Appends to the provided context the expected parameters from the containing network. Adds dependencies to those parameters to the provided depnode.
void OP_Node::buildInputHashCode | ( | UT_TokenString & | string, |
OP_Context & | context, | ||
int | group_mask, | ||
int | level | ||
) |
|
protectedvirtual |
|
overrideprotectedvirtual |
Reimplemented from OP_Parameters.
Reimplemented in SOP_CaptureLayerPaint, and SOP_CaptureOverride.
|
static |
Reimplemented in SOP_CaptureLayerPaint, CHOP_Channel, OBJ_SubNet, OBJ_Geometry, SOP_CaptureOverride, and SOP_CaptureBase.
|
static |
|
static |
|
static |
int OP_Node::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 OP_Node::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 |
||
) |
|
inlinevirtual |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Build a UT_XformOrder out of TRS and XYZ parameter values.
|
static |
|
staticprotected |
|
virtual |
|
protectedpure virtual |
|
inline |
bool OP_Node::canAccessFlag | ( | unsigned | mask, |
uchar | flag | ||
) | const |
|
virtual |
Reimplemented in OBJ_Node, SOP_ForEach, and OBJ_PythonScript.
|
protectedvirtual |
Return true if it is safe at this time to destroy this node.
Reimplemented in OP_Network, and VOPNET_Node.
|
static |
Returns true if we are allowed to destroy the specified nodes. If nodes is non-null, we test those nodes. If nodes is null, we test the picked nodes of the src_net. The return value assumes that all specified nodes will be destroyed, which is important because it may be safe to delete node A iff node B is also going to be deleted.
|
inline |
FOO_Node *castToFOONode() const;
This type checks the current node against FOO_Node. If the cast is legal, this is returned. Otherwise, NULL. While it likely will do the "right" thing with this == NULL, that case is UT_ASSERTed as it is just asking for trouble. castToOBJNode() castToSOPNode() castToCHOPNETNode() castToCHOPNode() castToROPNode() castToSHOPNode() castToCOPNode() castToCOP2Node() castToCOP2NETNode() castToCOPNode() castToVOPNode() castToVOPNETNode() castToDOPNode() castToTOPNode() castToTOPNETNode() castToLOPNode()
|
inline |
FOO_Node *castToFOONode() const;
This type checks the current node against FOO_Node. If the cast is legal, this is returned. Otherwise, NULL. While it likely will do the "right" thing with this == NULL, that case is UT_ASSERTed as it is just asking for trouble. castToOBJNode() castToSOPNode() castToCHOPNETNode() castToCHOPNode() castToROPNode() castToSHOPNode() castToCOPNode() castToCOP2Node() castToCOP2NETNode() castToCOPNode() castToVOPNode() castToVOPNETNode() castToDOPNode() castToTOPNode() castToTOPNETNode() castToLOPNode()
|
inline |
FOO_Node *castToFOONode() const;
This type checks the current node against FOO_Node. If the cast is legal, this is returned. Otherwise, NULL. While it likely will do the "right" thing with this == NULL, that case is UT_ASSERTed as it is just asking for trouble. castToOBJNode() castToSOPNode() castToCHOPNETNode() castToCHOPNode() castToROPNode() castToSHOPNode() castToCOPNode() castToCOP2Node() castToCOP2NETNode() castToCOPNode() castToVOPNode() castToVOPNETNode() castToDOPNode() castToTOPNode() castToTOPNETNode() castToLOPNode()
|
inline |
FOO_Node *castToFOONode() const;
This type checks the current node against FOO_Node. If the cast is legal, this is returned. Otherwise, NULL. While it likely will do the "right" thing with this == NULL, that case is UT_ASSERTed as it is just asking for trouble. castToOBJNode() castToSOPNode() castToCHOPNETNode() castToCHOPNode() castToROPNode() castToSHOPNode() castToCOPNode() castToCOP2Node() castToCOP2NETNode() castToCOPNode() castToVOPNode() castToVOPNETNode() castToDOPNode() castToTOPNode() castToTOPNETNode() castToLOPNode()
|
inline |
FOO_Node *castToFOONode() const;
This type checks the current node against FOO_Node. If the cast is legal, this is returned. Otherwise, NULL. While it likely will do the "right" thing with this == NULL, that case is UT_ASSERTed as it is just asking for trouble. castToOBJNode() castToSOPNode() castToCHOPNETNode() castToCHOPNode() castToROPNode() castToSHOPNode() castToCOPNode() castToCOP2Node() castToCOP2NETNode() castToCOPNode() castToVOPNode() castToVOPNETNode() castToDOPNode() castToTOPNode() castToTOPNETNode() castToLOPNode()
|
inline |
FOO_Node *castToFOONode() const;
This type checks the current node against FOO_Node. If the cast is legal, this is returned. Otherwise, NULL. While it likely will do the "right" thing with this == NULL, that case is UT_ASSERTed as it is just asking for trouble. castToOBJNode() castToSOPNode() castToCHOPNETNode() castToCHOPNode() castToROPNode() castToSHOPNode() castToCOPNode() castToCOP2Node() castToCOP2NETNode() castToCOPNode() castToVOPNode() castToVOPNETNode() castToDOPNode() castToTOPNode() castToTOPNETNode() castToLOPNode()
|
inlinevirtual |
Reimplemented in DOP_Node, and OBJ_DopNet.
|
inlinevirtual |
Reimplemented in DOP_Node, and OBJ_DopNet.
|
inline |
FOO_Node *castToFOONode() const;
This type checks the current node against FOO_Node. If the cast is legal, this is returned. Otherwise, NULL. While it likely will do the "right" thing with this == NULL, that case is UT_ASSERTed as it is just asking for trouble. castToOBJNode() castToSOPNode() castToCHOPNETNode() castToCHOPNode() castToROPNode() castToSHOPNode() castToCOPNode() castToCOP2Node() castToCOP2NETNode() castToCOPNode() castToVOPNode() castToVOPNETNode() castToDOPNode() castToTOPNode() castToTOPNETNode() castToLOPNode()
|
inline |
FOO_Node *castToFOONode() const;
This type checks the current node against FOO_Node. If the cast is legal, this is returned. Otherwise, NULL. While it likely will do the "right" thing with this == NULL, that case is UT_ASSERTed as it is just asking for trouble. castToOBJNode() castToSOPNode() castToCHOPNETNode() castToCHOPNode() castToROPNode() castToSHOPNode() castToCOPNode() castToCOP2Node() castToCOP2NETNode() castToCOPNode() castToVOPNode() castToVOPNETNode() castToDOPNode() castToTOPNode() castToTOPNETNode() castToLOPNode()
|
inline |
|
inline |
|
inlineoverridevirtual |
Reimplemented from PRM_ParmOwner.
|
inlineoverridevirtual |
Reimplemented from PRM_ParmOwner.
|
inline |
FOO_Node *castToFOONode() const;
This type checks the current node against FOO_Node. If the cast is legal, this is returned. Otherwise, NULL. While it likely will do the "right" thing with this == NULL, that case is UT_ASSERTed as it is just asking for trouble. castToOBJNode() castToSOPNode() castToCHOPNETNode() castToCHOPNode() castToROPNode() castToSHOPNode() castToCOPNode() castToCOP2Node() castToCOP2NETNode() castToCOPNode() castToVOPNode() castToVOPNETNode() castToDOPNode() castToTOPNode() castToTOPNETNode() castToLOPNode()
|
inline |
FOO_Node *castToFOONode() const;
This type checks the current node against FOO_Node. If the cast is legal, this is returned. Otherwise, NULL. While it likely will do the "right" thing with this == NULL, that case is UT_ASSERTed as it is just asking for trouble. castToOBJNode() castToSOPNode() castToCHOPNETNode() castToCHOPNode() castToROPNode() castToSHOPNode() castToCOPNode() castToCOP2Node() castToCOP2NETNode() castToCOPNode() castToVOPNode() castToVOPNETNode() castToDOPNode() castToTOPNode() castToTOPNETNode() castToLOPNode()
|
inline |
FOO_Node *castToFOONode() const;
This type checks the current node against FOO_Node. If the cast is legal, this is returned. Otherwise, NULL. While it likely will do the "right" thing with this == NULL, that case is UT_ASSERTed as it is just asking for trouble. castToOBJNode() castToSOPNode() castToCHOPNETNode() castToCHOPNode() castToROPNode() castToSHOPNode() castToCOPNode() castToCOP2Node() castToCOP2NETNode() castToCOPNode() castToVOPNode() castToVOPNETNode() castToDOPNode() castToTOPNode() castToTOPNETNode() castToLOPNode()
|
inline |
FOO_Node *castToFOONode() const;
This type checks the current node against FOO_Node. If the cast is legal, this is returned. Otherwise, NULL. While it likely will do the "right" thing with this == NULL, that case is UT_ASSERTed as it is just asking for trouble. castToOBJNode() castToSOPNode() castToCHOPNETNode() castToCHOPNode() castToROPNode() castToSHOPNode() castToCOPNode() castToCOP2Node() castToCOP2NETNode() castToCOPNode() castToVOPNode() castToVOPNETNode() castToDOPNode() castToTOPNode() castToTOPNETNode() castToLOPNode()
|
inline |
FOO_Node *castToFOONode() const;
This type checks the current node against FOO_Node. If the cast is legal, this is returned. Otherwise, NULL. While it likely will do the "right" thing with this == NULL, that case is UT_ASSERTed as it is just asking for trouble. castToOBJNode() castToSOPNode() castToCHOPNETNode() castToCHOPNode() castToROPNode() castToSHOPNode() castToCOPNode() castToCOP2Node() castToCOP2NETNode() castToCOPNode() castToVOPNode() castToVOPNETNode() castToDOPNode() castToTOPNode() castToTOPNETNode() castToLOPNode()
|
inline |
FOO_Node *castToFOONode() const;
This type checks the current node against FOO_Node. If the cast is legal, this is returned. Otherwise, NULL. While it likely will do the "right" thing with this == NULL, that case is UT_ASSERTed as it is just asking for trouble. castToOBJNode() castToSOPNode() castToCHOPNETNode() castToCHOPNode() castToROPNode() castToSHOPNode() castToCOPNode() castToCOP2Node() castToCOP2NETNode() castToCOPNode() castToVOPNode() castToVOPNETNode() castToDOPNode() castToTOPNode() castToTOPNETNode() castToLOPNode()
|
inline |
FOO_Node *castToFOONode() const;
This type checks the current node against FOO_Node. If the cast is legal, this is returned. Otherwise, NULL. While it likely will do the "right" thing with this == NULL, that case is UT_ASSERTed as it is just asking for trouble. castToOBJNode() castToSOPNode() castToCHOPNETNode() castToCHOPNode() castToROPNode() castToSHOPNode() castToCOPNode() castToCOP2Node() castToCOP2NETNode() castToCOPNode() castToVOPNode() castToVOPNETNode() castToDOPNode() castToTOPNode() castToTOPNETNode() castToLOPNode()
|
static |
|
static |
|
static |
|
protected |
This function takes the given parm string value containing an op path and does a search and replace given the old and new op paths.
value_str - the old parm value to modify new_fullpath - the new path value to change to old_fullpath - the old path that needs changing old_cwd - the old path that the parm value was relative to new_cwd - the new path that the parm value is to be relative to
The reason for old_cwd & new_cwd is when collapsing a node into a subnet. We need to figure out the new path references of the collapsed subnet since it has changed location. We match using the old_cwd but take the new path relative to new_cwd. Note that in this situation, old_fullpath is the same as new_fullpath.
|
virtual |
Reimplemented in OP_Network, and VOP_SubnetScript.
|
overridevirtual |
Reimplemented from OP_Parameters.
|
overridevirtual |
Override these methods so that search-and-replace operations affect our delete script as well as our parameters.
Reimplemented from OP_Parameters.
Reimplemented in SOP_CaptureBase.
|
overrideprotectedvirtual |
Reimplemented from OP_Parameters.
Reimplemented in SOP_Muscle.
|
protected |
Debug method for checking connector consistency.
void OP_Node::checkInputs | ( | ) |
|
protectedvirtual |
This will set the time dependent flag based on parms, inputs and/or extra (non-graph) inputs. This can be overridden by subclasses to have more control over a node's time dependent flag by forcibly calling the bass class method with false for these parameters.
do_parms | Controls whether this node should become time dependent if any of its own cooking parameters are time dependent. |
do_inputs | Controls whether the node should become time dependent if any of its used inputs are time dependent |
do_extras | Controls if this node should become time dependent if any of the "extra" inputs (see OP_Node::addExtraInput()) nodes are time dependent. These extra inputs typically nodes referenced by the expressions on this node's parameters. |
Reimplemented in OBJ_Node, CHOP_Channel, CHOP_Layer, SOP_HOM, and COP2_MultiBase.
void OP_Node::cleanAllBundleRefs | ( | ) |
void OP_Node::cleanUnusedBundleRefs | ( | ) |
|
static |
|
protectedvirtual |
Reimplemented in OP_Network, CHOP_Node, and LOP_Network.
|
protectedvirtual |
Reimplemented in LOP_Node, and OBJ_DopNet.
void OP_Node::clearCachedPythonObjects | ( | ) |
|
inline |
bool OP_Node::clearDataBlocks | ( | ) |
|
protected |
Clears all cook dependencies (i.e., items that may cause it to cook)
void OP_Node::clearHashCodeFlags | ( | ) |
void OP_Node::clearInputContextOptionDepIfSafe | ( | const UT_StringHolder & | opt, |
const OP_Context & | context | ||
) |
|
inlinevirtual |
Reimplemented in VOP_Node, DOP_Node, and OBJ_DopNet.
|
protected |
|
protected |
Implements PRM_ParmOwner.
|
overridevirtual |
Reimplemented from OP_Parameters.
|
virtual |
Reimplemented in OP_Network.
void OP_Node::clearUserData | ( | bool | save_undo | ) |
void OP_Node::clearVersionUserData | ( | ) |
|
protectedvirtual |
Reimplemented in OP_Network.
|
protectedvirtual |
Reimplemented in OP_Network.
This will try to complete the path by finding the longest suffix that will work with the given prefix. It will only complete up to the next child. If it finds a valid child, it will append a slash (/).
void OP_Node::computeAllChildAssetPermissions | ( | ) |
void OP_Node::consolidateInputs | ( | ) |
Converts opdef and oplib format paths from opdef:nodepath to opdef:tablename/optype.
Implements PRM_ParmOwner.
|
virtual |
Cook this node's data. Returns true upon success, false otherwise.
Upon failure, use OP_Parameters::error() and OP_Parameters::getErrorMessages() to determine reason.
Reimplemented in COP2_Node.
|
inlineprotectedvirtual |
If this node should be cooked for any output connected to it, return true here. Otherwise we only cook a node if something is connected to it's primary output. This does not let the node cook differently for each output, since the cook method doesn't know what output is being cooked for. So this should only be used if the cook is unaffected by the specific connected output.
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
Override this to return true in an operator type that wants its cooked data to rely on all its parameter values but doesn't actually evaluate any parameters in its cook function (the prototypical example of this is SHOPs).
Reimplemented in SHOP_Node, OBJ_DopNet, and OBJ_Ambient.
|
inlinevirtual |
|
protectedvirtual |
Reimplemented in HDK_Sample::SOP_SweepHDK, HDK_Sample::SOP_CopyToPointsHDK, SOP_Edit, SOP_CaptureLayerPaint, SOP_UVTransform, SOP_BrushBase, SOP_UVEdit, HDK_Sample::SOP_SplitPointsHDK, HDK_Sample::SOP_CustomBrush, SOP_UVPelt2, SOP_CaptureOverride, SOP_UVFlatten, SOP_UVPelt, SOP_AttribComp, SOP_UVLayout, HDK_Sample::SOP_PointWave, HDK_Sample::SOP_TimeCompare, SOP_UVFuse, HDK_Sample::SOP_Flatten, SOP_Lattice, SOP_UVFlatten2, SOP_UVFlatten3, SOP_PolyBridge, SOP_Triangulate2D2, SOP_PolyExtrude2, SOP_Reverse, SOP_Triangulate2D3, SOP_UVLayout2, SOP_Visibility, SOP_BlendShapes2, SOP_BlendShapes, SOP_CopyToPoints2, and SOP_Watershed.
|
inline |
The cook lock is used to protect per node data structures during cooking. Subclasses should use this when calling cook(). Example:
Definition at line 18 of file OP_NodeCookLockedExecute.h.
|
protectedpure virtual |
Implemented in VOP_Node, OBJ_Node, SOP_Node, COP2_Node, OP_Director, ROP_Node, CHOP_Node, SHOP_Node, LOP_Node, DOP_Node, VOPNET_Node, MGR_Node, DOP_SubNet, DOP_SubNetOutput, and DOP_Auto.
OP_ERROR OP_Node::cookOverrides | ( | OP_Context & | c | ) |
|
virtual |
Return a UT_AttributeEvaluator for dealing with the evaluation of local variables designated by an "@" prefix.
|
virtual |
Reimplemented in SHOP_Node.
|
static |
|
overridevirtual |
Implements PRM_ParmOwner.
|
virtual |
Reimplemented in OP_Network.
|
virtual |
|
inline |
|
inlinevirtual |
|
static |
|
static |
bool OP_Node::deleteBlindData | ( | const char * | key | ) |
Remove any reference to the blind data of the given key from this object.
bool OP_Node::deleteCachedPythonObject | ( | const UT_StringRef & | key | ) |
|
pure virtual |
Deletes an input completely if it is disconnected. If the input is connected, does nothing.
|
protected |
bool OP_Node::deleteUserData | ( | const UT_StringRef & | key, |
bool | save_undo | ||
) |
|
inline |
You should use opChanged() instead. This is only for very special cases. If you don't know you are a special case, you aren't.
|
protected |
Marks our cached descriptive name as dirty.
|
inlineprotected |
This function will dirty our data if the given time is different from our last cooked time.
This function is normally called from cook() but subclasses can prevent this with flags().setClearDependency(false). In that case, subclasses are responsible for calling this function at the appropriate time. This is primarily for nodes which cache their data across time. In that case, if they did not reuse their cached data, then dirtyForTimeChange() needs to be called.
void OP_Node::disconnectAllInputs | ( | ) |
void OP_Node::disconnectAllInputsOutputs | ( | bool | keepSelected, |
bool | forceDisconnectOutputs = false |
||
) |
void OP_Node::disconnectAllOutputs | ( | ) |
Performs actual removal from the member input array.
Reimplemented in VOP_SubnetBase.
|
inlinevirtual |
|
overrideprotectedvirtual |
Implement the method from PRM_ParmOwner.
Implements PRM_ParmOwner.
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
|
virtual |
Reimplemented in OP_Network.
|
protectedvirtual |
Subclasses should override this to dump extra micronodes that they own for debugging purposes.
Reimplemented in OBJ_DopNet.
|
static |
void OP_Node::endPropagateModification | ( | ) |
|
inlineprotected |
|
virtual |
void OP_Node::evalOpPathString | ( | UT_String & | val, |
int | pi, | ||
int | vi, | ||
fpreal | t, | ||
int & | op_id, | ||
fpreal & | op_time, | ||
int | expanded = 1 |
||
) |
void OP_Node::evalOpPathString | ( | UT_String & | val, |
const char * | pn, | ||
int & | pi, | ||
int | vi, | ||
fpreal | t, | ||
int & | op_id, | ||
fpreal & | op_time, | ||
int | expanded = 1 |
||
) |
Evaluate all parameters for this operator. This is used for scripted Ops to make sure that our dependencies get set up properly.
|
virtual |
Reimplemented in OBJ_Node.
|
overrideprotectedvirtual |
Reimplemented from PRM_ParmOwner.
|
inlinevirtual |
|
inlinevirtual |
DEP_MicroNode& OP_Node::eventMicroNode | ( | OP_EventType | e | ) |
|
inline |
|
overridevirtual |
Implements PRM_ParmOwner.
OP_ERROR OP_Node::executeHscriptScript | ( | UT_String & | script, |
const OP_Context & | context | ||
) |
OP_ERROR OP_Node::executePythonScript | ( | UT_String & | script, |
const OP_Context & | context | ||
) |
bool OP_Node::expandGroupPattern | ( | const char * | pattern, |
UT_String & | result, | ||
bool | expandToFullPaths = false |
||
) |
void OP_Node::fillInfoTree | ( | UT_InfoTree & | tree, |
const OP_NodeInfoTreeParms & | parms | ||
) |
Fill in 'tree' with details that are common to all node types. Then call fillInfoTreeNodeSpecific() to get specific details about this specific node (be it a SOP, CHOP, etc)
|
virtual |
Optionally called on parent from fillInfoTreeNodeSpecific() to provide some information about node that only parent network can provide.
|
virtual |
Triggered by 'fillInfoTree()', this virtual function adds all node- specific info to 'tree'. All child classes must create their own branches under 'tree' to place their info
Reimplemented in VOP_Node, OBJ_Node, SOP_Node, COP2_Node, ROP_Node, CHOP_Node, VOP_ParmGenerator, LOP_Node, DOP_Node, OBJ_Bone, SOP_BlockEndFor, OBJ_Fetch, ROP_Dop, SOP_BlockEndCompile, SOP_Cache, DOP_Auto, SOP_ForEach, and SOP_MDD.
CH_Channel* OP_Node::findChannel | ( | const char * | path | ) |
|
inline |
FOO_Node *findFOONode(const char *path) const;
This function searches for the node at path relative to this node. If not found, or if the found node is not of type FOO_Node, it returns NULL. The result is already cast to FOO_Node. findOBJNode(const char *path) findSOPNode(const char *path) findCHOPNETNode(const char *path) findCHOPNode(const char *path) findROPNode(const char *path) findSHOPNode(const char *path) findCOPNode(const char *path) findCOP2Node(const char *path) findCOP2NETNode(const char *path) findCOPNode(const char *path) findVOPNode(const char *path) findVOPNETNode(const char *path) findDOPNode(const char *path) findTOPNode(const char *path) findTOPNETNode(const char *path) findLOPNode(const char *path)
|
inline |
FOO_Node *findFOONode(const char *path) const;
This function searches for the node at path relative to this node. If not found, or if the found node is not of type FOO_Node, it returns NULL. The result is already cast to FOO_Node. findOBJNode(const char *path) findSOPNode(const char *path) findCHOPNETNode(const char *path) findCHOPNode(const char *path) findROPNode(const char *path) findSHOPNode(const char *path) findCOPNode(const char *path) findCOP2Node(const char *path) findCOP2NETNode(const char *path) findCOPNode(const char *path) findVOPNode(const char *path) findVOPNETNode(const char *path) findDOPNode(const char *path) findTOPNode(const char *path) findTOPNETNode(const char *path) findLOPNode(const char *path)
|
inline |
FOO_Node *findFOONode(const char *path) const;
This function searches for the node at path relative to this node. If not found, or if the found node is not of type FOO_Node, it returns NULL. The result is already cast to FOO_Node. findOBJNode(const char *path) findSOPNode(const char *path) findCHOPNETNode(const char *path) findCHOPNode(const char *path) findROPNode(const char *path) findSHOPNode(const char *path) findCOPNode(const char *path) findCOP2Node(const char *path) findCOP2NETNode(const char *path) findCOPNode(const char *path) findVOPNode(const char *path) findVOPNETNode(const char *path) findDOPNode(const char *path) findTOPNode(const char *path) findTOPNETNode(const char *path) findLOPNode(const char *path)
|
inline |
FOO_Node *findFOONode(const char *path) const;
This function searches for the node at path relative to this node. If not found, or if the found node is not of type FOO_Node, it returns NULL. The result is already cast to FOO_Node. findOBJNode(const char *path) findSOPNode(const char *path) findCHOPNETNode(const char *path) findCHOPNode(const char *path) findROPNode(const char *path) findSHOPNode(const char *path) findCOPNode(const char *path) findCOP2Node(const char *path) findCOP2NETNode(const char *path) findCOPNode(const char *path) findVOPNode(const char *path) findVOPNETNode(const char *path) findDOPNode(const char *path) findTOPNode(const char *path) findTOPNETNode(const char *path) findLOPNode(const char *path)
|
inline |
FOO_Node *findFOONode(const char *path) const;
This function searches for the node at path relative to this node. If not found, or if the found node is not of type FOO_Node, it returns NULL. The result is already cast to FOO_Node. findOBJNode(const char *path) findSOPNode(const char *path) findCHOPNETNode(const char *path) findCHOPNode(const char *path) findROPNode(const char *path) findSHOPNode(const char *path) findCOPNode(const char *path) findCOP2Node(const char *path) findCOP2NETNode(const char *path) findCOPNode(const char *path) findVOPNode(const char *path) findVOPNETNode(const char *path) findDOPNode(const char *path) findTOPNode(const char *path) findTOPNETNode(const char *path) findLOPNode(const char *path)
|
inline |
FOO_Node *findFOONode(const char *path) const;
This function searches for the node at path relative to this node. If not found, or if the found node is not of type FOO_Node, it returns NULL. The result is already cast to FOO_Node. findOBJNode(const char *path) findSOPNode(const char *path) findCHOPNETNode(const char *path) findCHOPNode(const char *path) findROPNode(const char *path) findSHOPNode(const char *path) findCOPNode(const char *path) findCOP2Node(const char *path) findCOP2NETNode(const char *path) findCOPNode(const char *path) findVOPNode(const char *path) findVOPNETNode(const char *path) findDOPNode(const char *path) findTOPNode(const char *path) findTOPNETNode(const char *path) findLOPNode(const char *path)
|
inlinevirtual |
Reimplemented in OP_Network.
|
inlinevirtual |
Reimplemented in OP_Network.
|
inline |
FOO_Node *findFOONode(const char *path) const;
This function searches for the node at path relative to this node. If not found, or if the found node is not of type FOO_Node, it returns NULL. The result is already cast to FOO_Node. findOBJNode(const char *path) findSOPNode(const char *path) findCHOPNETNode(const char *path) findCHOPNode(const char *path) findROPNode(const char *path) findSHOPNode(const char *path) findCOPNode(const char *path) findCOP2Node(const char *path) findCOP2NETNode(const char *path) findCOPNode(const char *path) findVOPNode(const char *path) findVOPNETNode(const char *path) findDOPNode(const char *path) findTOPNode(const char *path) findTOPNETNode(const char *path) findLOPNode(const char *path)
|
inlinevirtual |
Reimplemented in OP_Network.
OP_Node* OP_Node::findNode | ( | const char * | path, |
OTLSyncMode | syncmode = OTLSYNC_DOSYNC |
||
) | const |
Uses the path (eg. "/obj/geo1") to find a node in our hierarchy.
|
inline |
FOO_Node *findFOONode(const char *path) const;
This function searches for the node at path relative to this node. If not found, or if the found node is not of type FOO_Node, it returns NULL. The result is already cast to FOO_Node. findOBJNode(const char *path) findSOPNode(const char *path) findCHOPNETNode(const char *path) findCHOPNode(const char *path) findROPNode(const char *path) findSHOPNode(const char *path) findCOPNode(const char *path) findCOP2Node(const char *path) findCOP2NETNode(const char *path) findCOPNode(const char *path) findVOPNode(const char *path) findVOPNETNode(const char *path) findDOPNode(const char *path) findTOPNode(const char *path) findTOPNETNode(const char *path) findLOPNode(const char *path)
|
inlinevirtual |
Reimplemented in OP_Network.
|
virtual |
Reimplemented in CHOP_Node, CHOP_Channel, and CHOP_Layer.
|
inlinevirtual |
Reimplemented in OP_Network.
|
inline |
FOO_Node *findFOONode(const char *path) const;
This function searches for the node at path relative to this node. If not found, or if the found node is not of type FOO_Node, it returns NULL. The result is already cast to FOO_Node. findOBJNode(const char *path) findSOPNode(const char *path) findCHOPNETNode(const char *path) findCHOPNode(const char *path) findROPNode(const char *path) findSHOPNode(const char *path) findCOPNode(const char *path) findCOP2Node(const char *path) findCOP2NETNode(const char *path) findCOPNode(const char *path) findVOPNode(const char *path) findVOPNETNode(const char *path) findDOPNode(const char *path) findTOPNode(const char *path) findTOPNETNode(const char *path) findLOPNode(const char *path)
|
inline |
FOO_Node *findFOONode(const char *path) const;
This function searches for the node at path relative to this node. If not found, or if the found node is not of type FOO_Node, it returns NULL. The result is already cast to FOO_Node. findOBJNode(const char *path) findSOPNode(const char *path) findCHOPNETNode(const char *path) findCHOPNode(const char *path) findROPNode(const char *path) findSHOPNode(const char *path) findCOPNode(const char *path) findCOP2Node(const char *path) findCOP2NETNode(const char *path) findCOPNode(const char *path) findVOPNode(const char *path) findVOPNETNode(const char *path) findDOPNode(const char *path) findTOPNode(const char *path) findTOPNETNode(const char *path) findLOPNode(const char *path)
|
inline |
FOO_Node *findFOONode(const char *path) const;
This function searches for the node at path relative to this node. If not found, or if the found node is not of type FOO_Node, it returns NULL. The result is already cast to FOO_Node. findOBJNode(const char *path) findSOPNode(const char *path) findCHOPNETNode(const char *path) findCHOPNode(const char *path) findROPNode(const char *path) findSHOPNode(const char *path) findCOPNode(const char *path) findCOP2Node(const char *path) findCOP2NETNode(const char *path) findCOPNode(const char *path) findVOPNode(const char *path) findVOPNETNode(const char *path) findDOPNode(const char *path) findTOPNode(const char *path) findTOPNETNode(const char *path) findLOPNode(const char *path)
|
overridevirtual |
Override these methods so that search-and-replace operations affect our delete script as well as our parameters.
Reimplemented from OP_Parameters.
OP_Node* OP_Node::findSubNode | ( | const char * | path | ) | const |
Same as findNode() except it will return NULL if the path is to a node that is either not a descendant of this node, or if it isn't the same type as our children.
|
inline |
FOO_Node *findFOONode(const char *path) const;
This function searches for the node at path relative to this node. If not found, or if the found node is not of type FOO_Node, it returns NULL. The result is already cast to FOO_Node. findOBJNode(const char *path) findSOPNode(const char *path) findCHOPNETNode(const char *path) findCHOPNode(const char *path) findROPNode(const char *path) findSHOPNode(const char *path) findCOPNode(const char *path) findCOP2Node(const char *path) findCOP2NETNode(const char *path) findCOPNode(const char *path) findVOPNode(const char *path) findVOPNETNode(const char *path) findDOPNode(const char *path) findTOPNode(const char *path) findTOPNETNode(const char *path) findLOPNode(const char *path)
|
inline |
FOO_Node *findFOONode(const char *path) const;
This function searches for the node at path relative to this node. If not found, or if the found node is not of type FOO_Node, it returns NULL. The result is already cast to FOO_Node. findOBJNode(const char *path) findSOPNode(const char *path) findCHOPNETNode(const char *path) findCHOPNode(const char *path) findROPNode(const char *path) findSHOPNode(const char *path) findCOPNode(const char *path) findCOP2Node(const char *path) findCOP2NETNode(const char *path) findCOPNode(const char *path) findVOPNode(const char *path) findVOPNETNode(const char *path) findDOPNode(const char *path) findTOPNode(const char *path) findTOPNETNode(const char *path) findLOPNode(const char *path)
|
inline |
FOO_Node *findFOONode(const char *path) const;
This function searches for the node at path relative to this node. If not found, or if the found node is not of type FOO_Node, it returns NULL. The result is already cast to FOO_Node. findOBJNode(const char *path) findSOPNode(const char *path) findCHOPNETNode(const char *path) findCHOPNode(const char *path) findROPNode(const char *path) findSHOPNode(const char *path) findCOPNode(const char *path) findCOP2Node(const char *path) findCOP2NETNode(const char *path) findCOPNode(const char *path) findVOPNode(const char *path) findVOPNETNode(const char *path) findDOPNode(const char *path) findTOPNode(const char *path) findTOPNETNode(const char *path) findLOPNode(const char *path)
|
inline |
FOO_Node *findFOONode(const char *path) const;
This function searches for the node at path relative to this node. If not found, or if the found node is not of type FOO_Node, it returns NULL. The result is already cast to FOO_Node. findOBJNode(const char *path) findSOPNode(const char *path) findCHOPNETNode(const char *path) findCHOPNode(const char *path) findROPNode(const char *path) findSHOPNode(const char *path) findCOPNode(const char *path) findCOP2Node(const char *path) findCOP2NETNode(const char *path) findCOPNode(const char *path) findVOPNode(const char *path) findVOPNETNode(const char *path) findDOPNode(const char *path) findTOPNode(const char *path) findTOPNETNode(const char *path) findLOPNode(const char *path)
|
protected |
Called when loadNetwork finishes loading the whole parent network of this node.
|
inline |
|
inline |
|
inline |
|
virtual |
Mark this node as needing a full recook. If 'evensmartcache' is true, a recook will occur even if all the parameters match in this node and all its inputs (only valid for COP2_Node).
Reimplemented in COP2_Node.
|
static |
|
protected |
Use these to collect all inputs/outputs in cases where they will need to be modified.
|
protected |
|
inlinevirtual |
This mechanism allows users to evaluate active layer contribution without needing to link against CHOP.
Reimplemented in CHOP_Layer.
|
virtual |
Reimplemented in OP_Network.
int OP_Node::getAllChannels | ( | CH_ChannelList & | list, |
int | scoped = 0 |
||
) |
void OP_Node::getAllChildren | ( | OP_NodeList & | children | ) | const |
|
static |
|
virtual |
If a subclass is interested in the saved input or output names, then it should override this method. The array will be filled during load.
Reimplemented in VOP_SubnetBase, and VOP_SubnetScript.
|
virtual |
If a subclass is interested in the saved input or output names, then it should override this method. The array will be filled during load.
Reimplemented in VOP_SubnetBase, and VOP_SubnetScript.
|
virtual |
|
inlinevirtual |
|
virtual |
Reimplemented in COP2_MaskOp.
|
virtual |
Reimplemented in COP2_MaskOp.
UT_SharedPtr<void> OP_Node::getBlindData | ( | const char * | key | ) | const |
Returns a shared pointer to a previously stored blind data. If no blind data exists with the given key, an empty shared pointer is returned.
|
inline |
Return a pointer to a previously stored blind data, statically cast to the type given. If the cast fails, or if there's no data of that type, a NULL pointer is returned. To distinguish between the two cases call hasBlindData().
|
virtual |
Reimplemented in OBJ_Node, SOP_Node, and OBJ_SubNet.
|
inline |
const UT_StringHolder& OP_Node::getCachedDescriptiveName | ( | ) |
Caches the descriptive name to member data, and returns that. The cache is automatically dirtied in opChanged.
PY_OpaqueObject* OP_Node::getCachedPythonObject | ( | const UT_StringRef & | key | ) | const |
int OP_Node::getCanDeviateFromOTLDefinition | ( | ) | const |
Reimplemented in OP_Network, and MOT_Director.
Reimplemented in OP_Network, and MOT_Director.
OP_ERROR OP_Node::getChildErrorSeverity | ( | ) |
CHOP_Node* OP_Node::getCHOPNode | ( | const char * | path, |
int | addextra = 0 , |
||
bool * | got_by_flag = nullptr |
||
) | const |
|
virtual |
Reimplemented in CHOP_Node.
|
overridevirtual |
Overrides the NetworkBoxItem implementations of getColor and setColor to provide support Node-specific features like using the default color.
Reimplemented from OP_NetworkBoxItem.
bool OP_Node::getColorDefault | ( | ) | const |
Accessors for this node's flag indicating if it should use its operator's default color instead of its local color.
|
inline |
bool OP_Node::getCompress | ( | ) | const |
Returns the first non-null input beyond the specified starting index. This function can be used to easily loop through all connected inputs.
|
static |
Get the default connector height.
|
virtual |
Reimplemented in COP2_Node, SOP_Node, ROP_Node, VOPNET_Node, OP_Director, and MGR_Node.
|
pure virtual |
Return the cook information as a formatted string.
void OP_Node::getCookInfoTree | ( | UT_InfoTree & | tree | ) | const |
Return the cook information in a UT_InfoTree.
|
inline |
void OP_Node::getCookPathNodes | ( | OP_NodeList & | nodes | ) |
Using this node as a starting point, traverse our inputs recursively to get our best guess of the nodes that have been cooked to generate the current cooked result of this node.
|
protectedvirtual |
COP_Node* OP_Node::getCOPNode | ( | const char * | path, |
int | addextra = 0 |
||
) | const |
|
inline |
bool OP_Node::getCurrent | ( | ) | const |
|
inlinevirtual |
Reimplemented in DOP_Node, OBJ_DopNet, OP_Network, and HDK_Sample::SOP_HDKObject.
OP_DataBlockPtr OP_Node::getDataBlock | ( | const char * | key | ) | const |
void OP_Node::getDataBlockKeys | ( | UT_StringArray & | keys, |
const UT_StringHolder & | type = UT_StringHolder() |
||
) | const |
|
protectedvirtual |
|
inlinevirtual |
Must be implemented to associate this node to a viewer state. default_state_name should be set with the viewer state type name. OP_Node implementation first looks for a 'viewerstate' node string parameter. The parameter can be added as a spare parameter to any node. If the node is an HDA it can define a default state section. Otherwise, the operator name is returned as a default state name.
|
inline |
|
inline |
Additonal information that should be provided at the network level in addition to the name. By default will inspect the getDescriptiveParmName.
Reimplemented in VOP_ParmGenerator, OBJ_DopNet, SOP_BlockEndFor, DOP_SubNetOutput, VOP_Constant, SOP_BlockBeginFor, SOP_UVLayout2, and SOP_UVLayout3.
Rather than overloading the descriptive name, you can instead just provide a parameter name that will be evaluated to become the descriptive name.
Reimplemented in OBJ_DopNet, SOP_UVBrush, DOP_Auto, VOP_Snippet, SOP_UVTransform, SOP_UVEdit, ROP_Dop, SOP_UVPelt2, SOP_UVFuse, SOP_UVFlatten2, SOP_UVFlatten3, SOP_BlockBeginCompile, SOP_UVLayout2, and SOP_UVLayout3.
|
inlinevirtual |
|
static |
|
virtual |
const UT_OptionEntry* OP_Node::getEditableInputData | ( | int | idx, |
const UT_StringRef & | key | ||
) | const |
void OP_Node::getEditableInputDataKeys | ( | int | idx, |
UT_StringArray & | keys | ||
) | const |
UT_StringHolder OP_Node::getEditableInputString | ( | int | idx, |
const UT_StringRef & | key | ||
) | const |
|
static |
|
inlinevirtual |
|
static |
void OP_Node::getExistingOpDependents | ( | OP_NodeList & | deps, |
bool | include_descendants | ||
) | const |
void OP_Node::getExistingOpReferences | ( | OP_NodeList & | refs, |
bool | recurse | ||
) | const |
|
inlinevirtual |
|
protected |
void OP_Node::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 |
||
) |
int64 OP_Node::getExtraInputMemoryUsage | ( | ) | const |
void OP_Node::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 |
|
virtual |
Obtains additional nodes that should be copied or deleted when this node is copied or deleted. It applies to situations, such as, where an hidden input node feeds only to this node and serves only that purpose, so it should be coppied/deleted along with the master.
Reimplemented in VOP_Node.
void OP_Node::getExtraOutputNodes | ( | OP_NodeList & | extras, |
bool | remove_duplicates = true , |
||
bool | data_interest = true , |
||
bool | parm_interest = true , |
||
bool | flag_interest = true |
||
) | const |
|
protectedpure virtual |
Implemented in VOP_Node, OBJ_Node, OP_Director, CHOP_Node, LOP_Node, SHOP_Node, DOP_Node, VOPNET_Node, and MGR_Node.
OP_Node* OP_Node::getFirstExecLicenseOnlyAncestor | ( | bool | ignore_self = true | ) | const |
|
virtual |
|
static |
void OP_Node::getFullOpDependents | ( | OP_NodeList & | deps, |
bool | include_descendants | ||
) | const |
void OP_Node::getFullOpReferences | ( | OP_NodeList & | refs, |
bool | include_descendants | ||
) | const |
|
static |
For node types with no other default color override, this is the final fallback default color for all nodes.
|
static |
|
static |
|
static |
|
overridevirtual |
Node position/scale is used by the UI.
Implements OP_NetworkBoxItem.
Reimplemented in VOP_Node, SOP_Node, ROP_Node, SHOP_Node, and VOPNET_Node.
|
inline |
UT_TokenString& OP_Node::getHashCode | ( | OP_Context & | context, |
int | group_mask = 1 |
||
) |
|
inlineoverridevirtual |
Reimplemented from OP_Parameters.
|
inlinevirtual |
|
inline |
const char* OP_Node::getInfoText | ( | OP_Context & | context, |
OP_NodeInfoParms & | parms | ||
) |
Get the info text for this op. This non-virtual function does all the stuff common to all operator types.
OP_Node* OP_Node::getInput | ( | unsigned | idx, |
bool | mark_used = false |
||
) | const |
Returns the node connected to a particular input (may be null).
|
inlinevirtual |
Gets the input label to display in editor and returns true. Otherwise, returns false if editor should use backward-compatible labeling scheme.
Reimplemented in VOP_SubnetBase.
|
virtual |
The following methods are used for nodes that allow reordering inputs. Returns the number of inputs that editor should display.
Reimplemented in VOP_SubnetBase.
OP_Node* OP_Node::getInputFollowingOutputs | ( | int | input, |
DEP_MicroNode * | depnode = 0 |
||
) | const |
Returns the connected input, may be null. If it is a SOP & subnet, and not primary output, will chase to the child output node. This may induce flag dependencies, the provided micronode can accumulate them.
int OP_Node::getInputFromUniqueName | ( | const OP_ConnectorId & | id | ) | const |
Reimplemented in VOP_Node, SHOP_Node, and SHOP_Output.
|
virtual |
Reimplemented in VOP_AutoConvert.
|
virtual |
Reimplemented in VOP_AutoConvert.
|
virtual |
Reimplemented in COP2_Node.
|
inlinevirtual |
Reimplemented in VOPNET_Node.
|
inlinevirtual |
Reimplemented in VOPNET_Node.
bool OP_Node::getIsContainedBy | ( | const OP_Node * | testparent | ) | const |
bool OP_Node::getIsEditableAssetSubNode | ( | ) | const |
|
protected |
|
inlineoverridevirtual |
Basically the same as OP_Node::getExpose(), but abstracted to a higher level so we can call it on all items.
Reimplemented from OP_NetworkBoxItem.
|
inlineoverridevirtual |
A simple wrapper around getName() to allow us to abstract its functionality up to OP_NetworkBoxItem.
Implements OP_NetworkBoxItem.
|
overridevirtual |
Our children should implement this and return what type of item they are.
Implements OP_NetworkBoxItem.
|
inlineoverridevirtual |
Functions to get hip-file-unique ids for any item type.
Implements OP_NetworkBoxItem.
|
virtual |
Reimplemented in OBJ_Node.
|
inline |
fpreal OP_Node::getLastCookTime | ( | ) | const |
Return the last cook time as a formatted string.
OP_Node* OP_Node::getLastExecLicenseOnlyAncestor | ( | bool | ignore_self = true | ) | const |
OP_OTLLicenseType OP_Node::getLicense | ( | ) | const |
void OP_Node::getLocalVarNames | ( | UT_StringArray & | out_vars | ) |
Retrieve a sorted list of local variables visible to this OP_Node.
|
inline |
|
static |
Translate a TRS parameter menu index into the UT_XformOrder type.
|
static |
Translate a UT_XformOrder type into a TRS parameter menu index (inverse of getMainOrder())
Reimplemented in CHOP_Node.
int OP_Node::getMatchesOTLDefinition | ( | ) | const |
Interface to flag that specifies whether or not we match our definition.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
overridevirtual |
Reimplemented from PRM_ParmOwner.
Reimplemented in SOP_Node.
|
static |
|
static |
Returns the a chop network path suitable for storing motion effects associated with this node.
|
protectedvirtual |
Override and assign any external (file) references to the reflist, and if nodelist is non-null, the full pathname of the node with the reference.
Reimplemented in COP2_Node.
OP_Node* OP_Node::getNamedInput | ( | const OP_ConnectorId & | input_name, |
bool | mark_used = false |
||
) | const |
OP_Input* OP_Node::getNamedInputReference | ( | const OP_ConnectorId & | input_name, |
bool | grow | ||
) |
OP_Input* OP_Node::getNamedInputReferenceConst | ( | const OP_ConnectorId & | input_name | ) | const |
|
static |
|
virtual |
Reimplemented in OP_Network.
const UT_String& OP_Node::getNetName | ( | ) | const |
Return the name of this node's parent.
int OP_Node::getNetworkLock | ( | bool | relaxedlockcheck = false , |
const OP_Node * | inputNode = nullptr |
||
) | const |
|
static |
Get the default width of the "node button" (the part of the node that you can drag and click on that isn't flags).
|
static |
Get the default node height.
|
protected |
const UT_StringHolder& OP_Node::getNodeShape | ( | ) | const |
Accessors for this node's shape.
|
virtual |
Reimplemented in VOP_Node, OBJ_Node, SOP_Node, COP2_Node, ROP_Node, CHOP_Node, VOP_ParmGenerator, DOP_Node, OBJ_Bone, SOP_BlockEndFor, OBJ_Fetch, HDK_Sample::SOP_PrimVOP, VOPNET_Node, ROP_Dop, SOP_BlockEndCompile, VOP_SubnetBase, SOP_Cache, DOP_Auto, SOP_ForEach, SOP_MDD, and DOP_SubNet.
Gets the index of the Nth non-null connection to this node.
int OP_Node::getNumExtraInputs | ( | ) | const |
|
virtual |
|
virtual |
Number of input connectors that should be visible on a node. This is only used by VOPs and DOPs. All other OPs return maxInputs() here.
Reimplemented in HDK_Sample::VOP_CustomVop, VOP_Snippet, VOP_AutoConvert, HDK_Sample::VOP_Switch, VOP_SubnetScript, VOP_GenericShader, SHOP_Output, VOP_Collect, VOP_VariableInput, VOP_Block, VOP_Properties, VOP_SubnetBase, VOP_ParmGenerator, VOP_Null, VOP_SubnetOutput, and SHOP_VariableInput.
|
virtual |
Number of output connections that should be visible on a node tile. Only used by VOPs and DOPs.
Reimplemented in HDK_Sample::VOP_CustomVop, VOP_OutputVar, VOP_Snippet, VOP_AutoConvert, VOP_GenericShader, VOP_SubnetScript, VOP_Properties, VOP_Block, VOP_SubnetBase, DOP_SubNet, VOP_Null, and LOP_SubNet.
|
inline |
|
static |
|
static |
|
static |
|
static |
|
virtual |
Reimplemented in COP2_Node, SHOP_Node, VOP_Node, OBJ_Node, DOP_Node, CHOP_Node, ROP_Node, LOP_Node, SOP_Node, OP_Director, MGR_Node, VOPNET_Node, and LOP_NetworkMgr.
|
inlinevirtual |
This returns the OP_OpTypeId which corresponds to this node type. Management nodes will return the type they really are, which is likely different than the network they currently reside in.
Reimplemented in COP2_Node, SHOP_Node, VOP_Node, OBJ_Node, DOP_Node, CHOP_Node, ROP_Node, LOP_Node, SOP_Node, OP_Director, MGR_Node, VOPNET_Node, and LOP_NetworkMgr.
const UT_StringHolder& OP_Node::getOriginalOperatorName | ( | ) | const |
void OP_Node::getOriginalOperatorTableAndName | ( | UT_WorkBuffer & | name | ) | const |
Get the op table name and the op name concatenated together to get a unique name. Returns full name with table, including namespace and version tags if there are any, eg "artistA::table/op::2.0"
int OP_Node::getOutputFromUniqueName | ( | const OP_ConnectorId & | id | ) | const |
OP_NetworkBoxItem* OP_Node::getOutputItem | ( | int | idx, |
int | output_idx = -1 |
||
) | const |
void OP_Node::getOutputNodes | ( | UT_Array< OP_Node * > & | outputs, |
bool | into_subnets = false , |
||
bool | through_dots = true , |
||
int | output_idx = -1 |
||
) | const |
|
virtual |
Subclasses should override this provide any additional micronodes that they own. This list is used in places such as node deletion so that dependents are dirtied.
Reimplemented in OBJ_DopNet.
|
virtual |
Override this to specify the inputs which are needed for cooking this node which can be executed in parallel.
Reimplemented in OBJ_Node, OBJ_SubNet, and OBJ_BlendSticky.
|
inline |
|
overridevirtual |
Returns the network that is our parent.
Implements OP_NetworkBoxItem.
Reimplemented in VOP_AutoConvert.
OP_Bundle* OP_Node::getParmBundle | ( | const char * | parm_name, |
int | vector_index, | ||
UT_String & | pattern, | ||
OP_Network * | creator, | ||
const char * | filter | ||
) |
OP_Bundle* OP_Node::getParmBundle | ( | const char * | parm_name, |
int | vector_index, | ||
UT_String & | pattern, | ||
OP_Network * | creator, | ||
const char * | filter, | ||
bool | subnet_inclusion | ||
) |
|
virtual |
Reimplemented in COP2_Node.
void OP_Node::getParmsThatReference | ( | const char * | channame, |
UT_ValArray< PRM_Parm * > & | parms, | ||
UT_IntArray & | parmsubidxs | ||
) |
For nodes which simply pass-through their data from some other node, this returns the node whose data will used transparently as this node's output. This function can give different values depending on its parameters. Used by node traversal algorithms.
The default implementation returns the first input if it's bypassed, so subclasses should only do something different if this function returns NULL.
t | Eval time |
mark_used | Mark this node is using the returned node (if non-NULL). |
Returns the path of this node relative to its getCreator()
Reimplemented in VOP_AutoConvert, and VOP_AutoNode.
|
inline |
|
inlinevirtual |
OP_Node* OP_Node::getPickableSelfOrParent | ( | ) |
|
inlineoverridevirtual |
Implements OP_NetworkBoxItem.
void OP_Node::getPickedChildren | ( | OP_NodeList & | picked, |
bool | include_hidden = false |
||
) | const |
|
static |
|
static |
Reimplemented in OBJ_Node.
|
virtual |
Reimplemented in OP_Network.
Reimplemented in OBJ_Node.
|
virtual |
|
virtual |
Reimplemented in OBJ_Bone.
|
virtual |
Reimplemented in OBJ_Bone.
|
virtual |
|
virtual |
|
inline |
|
static |
Translate a XYZ parameter menu index into the UT_XformOrder type.
|
static |
Translate a UT_XformOrder type into a XYZ parameter menu index (inverse of getRotOrder())
|
virtual |
Reimplemented in OBJ_Node.
|
virtual |
Reimplemented in OP_Network.
|
inlinevirtual |
This function returns a string that encodes all the necessary information about a node-based material that helps the script-based materials to function properly. The string usually encodes info stored on child nodes, such as rendering properties or procedurals. Then the script node can use that info to provide necessary data for rendering. Returns true if the method provides usable information.
|
virtual |
Some nodes (VOPs and SHOPs) represent shaders, so this method returns node parameters that are used as shader parameters.
Reimplemented in VOP_Node, SHOP_Node, and VOP_GenericShader.
SOP_Node* OP_Node::getSOPNode | ( | const char * | path, |
int | addextra = 0 , |
||
bool * | got_by_flag = nullptr |
||
) | const |
|
protected |
|
staticprotected |
|
inline |
|
inline |
Reimplemented in COP2_Node.
TOP_Node* OP_Node::getTOPNode | ( | const char * | path, |
int | addextra = 0 |
||
) | const |
|
virtual |
Reimplemented in CHOP_Node.
|
virtual |
Reimplemented in OBJ_Node, and SOP_CaptureRegion.
|
inline |
OP_ConnectorInputIter OP_Node::getTraverseEndIterator | ( | ) |
|
inline |
void OP_Node::getUniqueInputName | ( | OP_ConnectorId & | id_out, |
int | idx, | ||
bool | grow | ||
) |
bool OP_Node::getUniqueInputNameConst | ( | OP_ConnectorId & | id_out, |
int | idx | ||
) | const |
void OP_Node::getUniqueOutputName | ( | OP_ConnectorId & | id_out, |
int | idx | ||
) |
bool OP_Node::getUniqueOutputNameConst | ( | OP_ConnectorId & | id_out, |
int | idx | ||
) | const |
bool OP_Node::getUnload | ( | ) | const |
|
virtual |
Reimplemented in LOP_Node.
bool OP_Node::getUserData | ( | const UT_StringRef & | key, |
UT_StringHolder & | result | ||
) | const |
|
static |
|
static |
|
inline |
|
virtual |
Reimplemented in OBJ_Node.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in VOP_Node, HDK_Sample::SOP_PrimVOP, and VOPNET_Node.
|
inlinevirtual |
Reimplemented in VOP_SubnetBase, and VOP_SubnetScript.
|
overridevirtual |
Node position/scale is used by the UI.
Implements OP_NetworkBoxItem.
Reimplemented in VOP_Node, SOP_Node, ROP_Node, SHOP_Node, and VOPNET_Node.
|
virtual |
Reimplemented in OBJ_Node.
|
inline |
|
inlineoverridevirtual |
Node position/scale is used by the UI.
Implements OP_NetworkBoxItem.
|
virtual |
Reimplemented in OBJ_Node, SOP_Edit, SOP_UVTransform, and SOP_UVEdit.
|
static |
NB: None of the getXformPivot() or getPivotParmValue() methods take any pivot compensation transform into account. It is up to the caller to account for any such transform.
|
static |
|
inlineoverridevirtual |
Node position/scale is used by the UI.
Implements OP_NetworkBoxItem.
void OP_Node::globChannels | ( | const char * | , |
UT_String & | expand, | ||
OP_GlobContext * | context = 0 , |
||
const char * | prefix = " " |
||
) | const |
void OP_Node::globChannels | ( | const char * | pattern, |
CH_ChannelList & | clist, | ||
OP_GlobContext * | context = 0 , |
||
OP_Node * | dependent = 0 |
||
) |
void OP_Node::globChanRefs | ( | const char * | pattern, |
CH_ChannelRefList & | list, | ||
OP_GlobContext * | context = 0 , |
||
OP_Node * | dependent = 0 , |
||
bool | use_multi_match = true |
||
) |
|
virtual |
Same as 'globNodes', except for network boxes. This is to be implemented by OP_Network, but has been put here so it can be called directly on OP_Node like all the other "glob" methods without a cast
Reimplemented in OP_Network.
void OP_Node::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 OP_Node::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 |
void OP_Node::globNodeParms | ( | const char * | pattern, |
fpreal | t, | ||
UT_Array< opParmData > & | list, | ||
OP_GlobContext * | context, | ||
OP_Node * | dependent, | ||
int | calc_value, | ||
bool | animated_only | ||
) |
void OP_Node::globNodes | ( | const char * | pat, |
UT_String * | expand, | ||
UT_Array< OP_Node * > * | list = 0 , |
||
OP_GlobContext * | context = 0 , |
||
const char * | prefix = " " |
||
) |
int OP_Node::globParms | ( | const char * | pattern, |
fpreal | t, | ||
UT_Array< opParmData > & | list, | ||
OP_GlobContext * | context = 0 , |
||
OP_Node * | dependent = 0 , |
||
int | calc_value = 1 |
||
) |
|
virtual |
Reimplemented in OP_Network.
|
protectedvirtual |
Reimplemented in SOP_CaptureLayerPaint, CHOP_Node, CHOP_Channel, SOP_CaptureOverride, and SOP_CaptureBase.
|
virtual |
Method that is invoked when the HDA index file has been cleared because the underlying HDA definition has changed.
Reimplemented in VOP_SubnetScript.
|
protected |
|
inlinevirtual |
Reimplemented in SOP_CaptureBase.
bool OP_Node::hasAnimatedParms | ( | ) | const |
bool OP_Node::hasAnyOutputNodes | ( | bool | through_dots = true , |
int | output_idx = -1 |
||
) | const |
bool OP_Node::hasBlindData | ( | const char * | key | ) | const |
Returns true if this object stores a blind data with the given key.
bool OP_Node::hasChopOverriddenParms | ( | ) | const |
bool OP_Node::hasComment | ( | ) | const |
|
virtual |
Returns whether multi-inputs on this particular op might have different names for each of the inputs, or if the name will always be the same for all the inputs.
Reimplemented in DOP_Node.
|
inline |
|
inline |
Returns true if given notifcation callback has been added via addOpInterest().
bool OP_Node::hasParmsNotAtFactoryDefault | ( | ) | const |
|
inlineprotectedvirtual |
Reimplemented in OP_Network.
|
inlinevirtual |
bool OP_Node::hasUnorderedInputs | ( | ) | const |
Returns true if the operator type says we have unordered inputs.
bool OP_Node::hasUserData | ( | const UT_StringRef & | key | ) | const |
|
virtual |
Reimplemented in HDK_Sample::SOP_PrimVOP, and VOPNET_Node.
bool OP_Node::haveAncestorWithoutFullLicense | ( | bool | ignore_self | ) | const |
bool OP_Node::haveLicenseToAccessContents | ( | OP_Node * | opt_specific_child = nullptr | ) | const |
bool OP_Node::haveLicenseToAccessParentContents | ( | ) | const |
Reimplemented in SOP_Node, OP_Network, CHOP_Node, ROP_Node, COP2_Generator, and OBJ_Muscle.
|
virtual |
Reimplemented in COP2_MaskOp.
|
virtual |
Reimplemented in HDK_Sample::SOP_SweepHDK, SOP_Edit, HDK_Sample::SOP_CopyToPointsHDK, LOP_Node, SOP_CaptureLayerPaint, SOP_Comb, SOP_Paint, SOP_UVBrush, SOP_SlideModifierPaint, SOP_BlockEndFor, DOP_Node, HDK_Sample::SOP_CopyPacked, OBJ_SubNet, SOP_Muscle, HDK_Sample::SOP_OrientAlongCurve, HDK_Sample::VOP_CustomVop, SOP_UVTransform, SOP_UVEdit, OBJ_Blend, SOP_UVPelt2, SOP_Stroke, SOP_Cache, SOP_Capture, HDK_Sample::SOP_WindingNumber, SOP_UVFlatten, SOP_UVLayout, HDK_Sample::SOP_BouncyAgent, SOP_UVPelt, VOP_Visualize, SOP_ForEach, VOP_AutoConvert, VOP_Snippet, HDK_Sample::SOP_IKSample, SOP_Lattice, VOP_Parameter, HDK_Sample::SOP_SParticle, SOP_UVFuse, HDK_Sample::SOP_Flatten, HDK_Sample::VOP_Switch, VOP_Collect, VOP_SubnetScript, SOP_UVFlatten3, SOP_AttribComp, SOP_GDT, SOP_BlendShapes2, SOP_PolyBridge, SOP_PolyExtrude2, HDK_Sample::SOP_BlindData, VOP_Bind, HDK_Sample::SOP_Surface, HDK_Sample::SOP_GroupRename, SOP_Curve, VOP_ScriptNode, SOP_BlendShapes, SOP_BlockBeginFor, SOP_UVFlatten2, SOP_PolyKnit, SOP_PolySplit2, SOP_Reverse, SOP_UVLayout2, SOP_BlockBeginCompile, SOP_BlockEndCompile, SOP_Visibility, VOP_OutputVar, VOP_SubnetConnector, SOP_UVLayout3, VOP_VariableInput, SOP_CopyToPoints2, VOP_Properties, SOP_ShapeDiff, SOP_Each, VOP_SubnetBase, VOP_SubnetOutput, VOP_Block, VOP_Null, DOP_Auto, DOP_SubNet, and DOP_SubNetOutput.
const char* OP_Node::inputLabelNum | ( | unsigned | idx | ) | const |
OP_ERROR OP_Node::insertIndirectInput | ( | unsigned | idx, |
OP_IndirectInput * | input | ||
) |
OP_ERROR OP_Node::insertNamedIndirectInput | ( | const OP_ConnectorId & | input_name, |
OP_IndirectInput * | input | ||
) |
OP_ERROR OP_Node::insertNamedInput | ( | const OP_ConnectorId & | input_name, |
OP_Node * | op, | ||
const OP_ConnectorId * | output_name | ||
) |
|
inlinestatic |
bool OP_Node::isAnyAncestorBeingSynced | ( | ) | const |
Return true if any ancestor of this node is currently running the syncContents function (and so has mySyncDepth > 0). This is used to detect changes to nodes that are not currently "locked", but will become locked once the sync is complete.
int OP_Node::isBlockModify | ( | ) | const |
bool OP_Node::isCompiled | ( | ) | const |
|
inlineprotected |
bool OP_Node::isCooking | ( | bool | include_ancestors | ) | const |
|
inlinevirtual |
Reimplemented in OBJ_Node, and SOP_Node.
|
static |
|
virtual |
bool OP_Node::isEffectivelyAManagementNode | ( | ) | const |
|
inline |
Deprecated in favour of getInputsArraySize()
bool OP_Node::isInputAncestor | ( | const OP_Node * | parent, |
bool | check_extra = true |
||
) | const |
Check to see whether node
is an ancestor of this
node in the input hierarchy. Optionally check extra inputs. This method will recurse using getInputs()
(and optional getExtraInputNodes()
|
protectedvirtual |
This function is currently only used by VOPs. It checks if an input on the subnet is connected inside the subnet. The default implementation here simply returns false to preserve existing behaviour for all other contexts.
Reimplemented in VOP_SubnetBase.
|
virtual |
|
inlinevirtual |
|
inline |
|
virtual |
|
virtual |
|
virtual |
Reimplemented in MGR_Node.
bool OP_Node::isModifyWaiting | ( | ) | const |
|
protectedvirtual |
Reimplemented in VOP_SubnetBase.
|
virtual |
Reimplemented in OP_Network.
int OP_Node::isNetworkWithKids | ( | ) | const |
|
virtual |
|
virtual |
bool OP_Node::isParentAncestor | ( | const OP_Node * | parent | ) | const |
Check to see whether the parent
node is an ancestor of this
node in the parent/child hierarchy. That is, this method will call getParent()/getChild() to traverse the hierarchy.
|
overridevirtual |
Reimplemented from PRM_ParmOwner.
|
virtual |
|
inlinevirtual |
|
virtual |
Reimplemented in LOP_Network.
bool OP_Node::isTimeDependent | ( | const OP_Context & | context | ) |
Returns true if the OP depends on time at the given time. This is sensitive to handleTimeChange's overrides.
|
inlinevirtual |
|
static |
Set allow_rel_paths to true to accept "." or ".." as valid paths.
|
inlinestatic |
|
inlinestatic |
|
static |
|
virtual |
|
protectedvirtual |
|
protected |
|
virtual |
Reimplemented in CHOP_Node, and OP_Director.
bool OP_Node::loadDataBlocks | ( | UT_IStream & | is, |
const char * | path | ||
) |
bool OP_Node::loadEditableInputData | ( | UT_IStream & | is, |
const char * | path | ||
) |
bool OP_Node::loadExtraInputs | ( | UT_IStream & | is, |
const char * | path = 0 |
||
) |
|
protectedvirtual |
Reimplemented in LOP_Network, and VOP_Collect.
bool OP_Node::loadInputs | ( | UT_IStream & | is, |
const char * | path = 0 , |
||
bool | named = false |
||
) |
|
protected |
|
protected |
bool OP_Node::loadNamedOutputs | ( | UT_IStream & | is, |
const char * | path = 0 |
||
) |
bool OP_Node::loadOverride | ( | UT_IStream & | is | ) |
|
protectedvirtual |
|
protectedvirtual |
|
protected |
|
virtual |
bool OP_Node::loadRamp | ( | UT_IStream & | is, |
UT_Ramp & | ramp, | ||
const char * | path = 0 |
||
) |
|
protectedvirtual |
Reimplemented in VOP_SubnetBase, and VOP_SubnetScript.
bool OP_Node::loadUserData | ( | UT_IStream & | is, |
const char * | path = nullptr |
||
) |
|
virtual |
|
virtual |
void OP_Node::markBundleRefsAsUnused | ( | ) |
|
virtual |
|
virtual |
bool OP_Node::matchesState | ( | const char * | state | ) | const |
|
virtual |
Matches the node to the current HDA definition, loading the contents section if ncecessary and setting the match flag.
Reimplemented in VOP_SubnetScript.
|
virtual |
Maximum inputs that can be connected to a node.
Reimplemented in VOP_SubnetScript, SHOP_Output, and VOP_OutputVar.
|
virtual |
Maximum number of output connectors on a node. Only VOPs and DOPs ever return a value other than 1 here.
Reimplemented in MGR_Node, and VOPNET_Node.
|
virtual |
Minimum inputs that must be connected to a node for it to cook.
|
static |
Reimplemented in OP_Network.
Reimplemented in VOP_Node, VOP_SubnetBase, VOP_Snippet, VOP_Collect, VOP_SubnetOutput, and VOP_Null.
|
inlineprotectedvirtual |
Reimplemented in OP_Network.
unsigned OP_Node::nConnectedInputs | ( | bool | check_subnet_inside = true | ) | const |
The number of nodes actually connected to this node. This function goes through the myInputs array and counts non-null entries.
check_subnet_inside | If true, the (vopnet) subnet node will check if a corresponding connector is connected inside, and count it in if so. |
|
virtual |
Determines if this node needs to cook.
The queryonly flag will not flag this as a read attempt to the caching mechanisms, and thus not update the touch time.
|
virtual |
Returns the index of the last connected input incremented by one. If there are no inputs connected, returns 0. This means that the function behaves as if the lasted connected input was always the last entry in the inputs array. Note that other array entries up to the index of the one returned may contain null entries, so this is not necessarily the same as the number of connections. Also note that there may be more null entries at indices beyond the returned one.
Reimplemented in VOP_ParmGenerator.
|
inlineprotectedvirtual |
Reimplemented in OP_Network, and CHOP_Node.
|
protected |
|
protected |
|
virtual |
|
protectedvirtual |
Reimplemented in OP_Network.
|
protectedvirtual |
Reimplemented in OP_Network.
bool OP_Node::notifyVarChange | ( | const char * | varname, |
OP_NodeList * | changed_nodes = nullptr |
||
) |
Mark this node, its descendants, and all data dependents containing varname as being dirty. If changed_nodes is non-NULL, then it is updated with the list of dirtied nodes which contains varname. Returns true iff at least one node was dirtied.
unsigned OP_Node::nOutputEntries | ( | ) | const |
|
inlinevirtual |
|
overridevirtual |
Implements OP_Parameters.
Reimplemented in VOP_Node, SOP_Node, VOP_SubnetScript, VOP_ScriptNode, HDK_Sample::SOP_PrimVOP, VOP_ParmGenerator, VOP_GenericShader, VOP_Visualize, VOP_Properties, VOPNET_Node, and SHOP_VariableInput.
|
virtual |
Reimplemented in OP_Network.
|
virtual |
Returns the number of ordered inputs on a node that remain separate even on nodes that have a variable number of inputs. These separate inputs always start at the beginning (variable input connectors are always last).
The default implementation returns getOperator()->numOrderedInputs() so prefer calling OP_Operator::setNumOrderedInputs() instead of overriding this.
Reimplemented in DOP_Node, HDK_Sample::VOP_Switch, VOP_GenericShader, VOP_VariableInput, VOP_Block, VOP_SubnetBase, VOP_Null, and VOP_Properties.
|
virtual |
|
virtual |
const char* OP_Node::outputLabelNum | ( | unsigned | idx | ) | const |
bool OP_Node::parallelCook | ( | OP_Context & | context | ) |
Schedule a task for cooking this node in parallel and wait for it to finish. Returns true upon success, false otherwise.
|
static |
Cook the given node list in parallel.
|
inline |
|
inlinevirtual |
Subclasses should override this to customize the micro-node dependency of their parameter list. The default is just dataMicroNode().
Reimplemented in OBJ_Node, and VOP_ParmGenerator.
|
inline |
bool OP_Node::patternContainsBundle | ( | const char * | pattern, |
const OP_Bundle * | bundle | ||
) | const |
bool OP_Node::patternContainsGroup | ( | const char * | pattern, |
const OP_Group * | group | ||
) | const |
|
overrideprotectedvirtual |
Reimplemented from OP_Parameters.
|
inlinevirtual |
Overriden in VOPs to remove any channel refrences we may have to the node being deleted.
Reimplemented in VOP_ParmGenerator.
|
static |
|
overridevirtual |
Reimplemented from PRM_ParmOwner.
void OP_Node::propagateDirtyMicroNode | ( | DEP_MicroNode & | micronode, |
OP_EventType | reason, | ||
void * | data, | ||
bool | send_root_event | ||
) |
Explicitly propagate dirtiness for a particular micronode owned by some node.
|
static |
Utility function for syncing/unsyncing all uncestor nodes.
|
protectedvirtual |
Reimplemented in OP_Network.
void OP_Node::propagateNodeDataDeleted | ( | ) |
|
virtual |
Reimplemented in SOP_Node.
|
overridevirtual |
Implements PRM_ParmOwner.
|
protectedvirtual |
Reimplemented in OP_Network.
Implements PRM_ParmOwner.
void OP_Node::recomputeCompiledHash | ( | ) |
|
overridevirtual |
Reimplemented from OP_Parameters.
Reimplemented in OBJ_Node, VOP_Node, DOP_Node, and OBJ_SubNet.
This method is called whenever something in the network changes that may have an impact on the representative node this network may have. It is used at this level to notify parents, and at the OBJ level to actually refresh the representative object.
|
virtual |
This method causes any operators that load files to recook. By default, this searches for 'file' operators by iterating through inputs. Parms of type PRM_FILE are also marked dirty. Other nodes that load files differently may wish to override this method.
|
protectedvirtual |
removeOpDependent() returns the number of dependents removed
|
protectedvirtual |
|
inline |
Remove notification callback added via addOpInterest()
|
protected |
|
protected |
|
static |
Move the upper-left most node in 'ops' to x-coordinate 'x' and to have its TOP border at y-coordinate 'y', and move all other nodes in 'ops' by the same amount. All netboxes in 'netboxes' will also be moved that amount. If a netbox's top border is higher than any node's top border, everything will be moved down accordingly. Note that the repositioning calculation does not include the nodes contained in the network boxes in 'netboxes'.
|
overridevirtual |
Implements PRM_ParmOwner.
|
inlinevirtual |
Try to resolve exports on CHOP Channel Nodes from a value parameter within the array.
Reimplemented in CHOP_Channel.
|
virtual |
Reimplemented in SOP_Node.
void OP_Node::resolveInputReferences | ( | ) |
|
protected |
Resolves any inputs for which the names were not found during actual loading.
|
virtual |
Reimplemented in SOP_Node.
|
virtual |
Reimplemented in VOP_Node, VOP_SubnetBase, HDK_Sample::VOP_CustomVop, VOP_SubnetScript, and SHOP_Node.
|
virtual |
Reimplemented in OP_Network.
|
protectedvirtual |
Reimplemented in SOP_Node, COP2_Node, VOP_Node, CHOP_Node, SOP_CaptureLayerPaint, CHOP_Realtime, LOP_Network, SOP_CaptureOverride, HDK_Sample::SOP_CustomBrush, SOP_GDT, and HDK_Sample::SOP_BlindData.
void OP_Node::saveChildOverrides | ( | std::ostream & | os, |
OP_Node * | root, | ||
const UT_String & | rootpath, | ||
bool & | added | ||
) |
|
virtual |
Writes to 'os' a string of hscript commands to recreate this node.
|
pure virtual |
Implemented in VOP_Node, OBJ_Node, ROP_Node, CHOP_Node, LOP_Node, SHOP_Node, DOP_Node, VOPNET_Node, OP_Director, and MGR_Node.
|
pure virtual |
Implemented in VOP_Node, OBJ_Node, ROP_Node, CHOP_Node, LOP_Node, SHOP_Node, DOP_Node, OP_Director, VOPNET_Node, and MGR_Node.
OP_ERROR OP_Node::saveDataBlocksPacket | ( | std::ostream & | os, |
const char * | path_prefix, | ||
const UT_String & | node_name | ||
) |
|
virtual |
Reimplemented in VOP_Node, SHOP_Node, OBJ_Light, and OBJ_Camera.
void OP_Node::saveEditableInputData | ( | std::ostream & | os | ) | const |
|
staticprotected |
void OP_Node::saveForUndoInput | ( | ) |
|
protected |
void OP_Node::saveInputs | ( | std::ostream & | os, |
bool | compile_basic | ||
) |
|
protectedvirtual |
|
virtual |
Reimplemented in OBJ_Node.
void OP_Node::saveNamedInputs | ( | std::ostream & | os, |
bool | compile_basic | ||
) |
void OP_Node::saveNamedOutputs | ( | std::ostream & | os | ) |
void OP_Node::saveOverrides | ( | std::ostream & | os | ) |
void OP_Node::saveOverrides | ( | std::ostream & | os, |
OP_Node * | root, | ||
const UT_String & | rootpath, | ||
bool & | added | ||
) |
void OP_Node::saveParameterFlags | ( | std::ostream & | os, |
const char * | name, | ||
const char * | command, | ||
bool(PRM_Parm::*)(int) const | flag_method, | ||
bool | defaultstoo, | ||
bool | reverse, | ||
UT_Array< opParmData > * | parm_array | ||
) |
OP_ERROR OP_Node::saveRamp | ( | std::ostream & | os, |
UT_Ramp & | ramp, | ||
const char * | name = 0 , |
||
int | command = 0 |
||
) |
OP_ERROR OP_Node::saveUserData | ( | std::ostream & | os, |
const char * | path | ||
) |
void OP_Node::saveUserDataCommand | ( | std::ostream & | os, |
const char * | node_name, | ||
bool | omit_version = false |
||
) |
|
protected |
|
virtual |
Reimplemented in CHOP_Layer.
|
protected |
void OP_Node::setActiveInputIndex | ( | unsigned | idx | ) |
|
overridevirtual |
Reimplemented from OP_Parameters.
|
inlinevirtual |
void OP_Node::setBlindData | ( | const char * | key, |
UT_SharedPtr< void > | ptr | ||
) |
Stores a blind data pointer on this OP_Node object. Any entry that previously existed will be erased, and, if it is the last reference, the object itself deleted. The void
type can convert from any other shared pointer type, while storing the deleter function, allowing OP_Node to delete the data without knowing anything about the class. Blind data is not stored with the class.
bool OP_Node::setBypass | ( | bool | on_off | ) |
void OP_Node::setCachedPythonObject | ( | const UT_StringHolder & | key, |
void * | opaque_py_object | ||
) |
|
virtual |
This method takes a pattern string and will perform the ch_scope_op on each of our paramaeters that match the pattern. This method primarily supports the chscope command.
|
overridevirtual |
Overrides the NetworkBoxItem implementations of getColor and setColor to provide support Node-specific features like using the default color.
Reimplemented from OP_NetworkBoxItem.
Reimplemented in VOP_Block, SOP_BlockEnd, and SOP_BlockBegin.
bool OP_Node::setColorDefault | ( | bool | usedefault | ) |
Accessors for this node's flag indicating if it should use its operator's default color instead of its local color.
bool OP_Node::setComment | ( | const char * | str | ) |
Accessors for this node's comment string.
bool OP_Node::setCompress | ( | bool | on_off | ) |
Reimplemented in OBJ_Node.
bool OP_Node::setCurrent | ( | bool | on_off | ) |
void OP_Node::setCurrentAndPicked | ( | ) |
bool OP_Node::setDataBlock | ( | const char * | key, |
OP_DataBlockPtr | ptr | ||
) |
|
inlinevirtual |
void OP_Node::setDelaySyncOTL | ( | bool | isdelayed | ) |
Shallowly sets the delayed sync flag,.
bool OP_Node::setDelScript | ( | const char * | str | ) |
Set the node's deletion script. Returns true if the delete script was set successfully.
bool OP_Node::setDisplay | ( | bool | on_off | ) |
bool OP_Node::setDisplayComment | ( | bool | state | ) |
bool OP_Node::setDisplayDescriptiveName | ( | bool | state | ) |
|
inlinevirtual |
bool OP_Node::setEditableInputData | ( | int | idx, |
const UT_StringHolder & | key, | ||
const UT_OptionEntry & | value | ||
) |
bool OP_Node::setEditableInputString | ( | int | idx, |
const UT_StringRef & | key, | ||
const UT_StringHolder & | str | ||
) |
bool OP_Node::setEditPicked | ( | bool | on_off, |
bool | propagate_parent_event = true |
||
) |
The edit flag is used whenever something is picked from the viewport. This causes the pane paths to be changed to the first writable parent of the node being picked.
|
inlinevirtual |
bool OP_Node::setExpose | ( | bool | on_off | ) |
bool OP_Node::setFootprint | ( | bool | on_off | ) |
bool OP_Node::setGlobalFloatParam | ( | const char * | param, |
fpreal | value, | ||
bool * | warned | ||
) |
bool OP_Node::setGlobalStringParam | ( | const char * | param, |
const char * | strvalue, | ||
bool * | warned | ||
) |
void OP_Node::setHasTakeData | ( | bool | onoff | ) |
bool OP_Node::setHighlight | ( | bool | on_off | ) |
|
virtual |
Connects an input to an indirect input of our parent subnet.
Reimplemented in OBJ_Node, OBJ_SubNet, and OBJ_BlendSticky.
bool OP_Node::setInhibitInputConsolidation | ( | bool | value | ) |
Sets the flag that prevents consolidation of variable inputs. Returns previous value of the flag;
Sets a given input to connect to an output of a particular node.
Reimplemented in VOP_Node, OBJ_Node, DOP_Node, VOP_Snippet, VOP_Collect, OBJ_SubNet, SHOP_Output, VOP_SubnetOutput, VOP_Null, VOP_SubnetBase, and OBJ_BlendSticky.
|
virtual |
Connects an input to particular node by name in the network.
Reimplemented in VOP_Node, OBJ_Node, DOP_Node, VOP_Snippet, VOP_Collect, OBJ_SubNet, VOP_SubnetOutput, VOP_Null, VOP_SubnetBase, and OBJ_BlendSticky.
|
inlineoverridevirtual |
Reimplemented from OP_NetworkBoxItem.
|
overridevirtual |
Implements OP_NetworkBoxItem.
OP_LockTypes OP_Node::setLockState | ( | OP_LockTypes | state, |
bool | saveundo = true |
||
) |
Reimplemented in CHOP_Node.
Sets the flag idicating if the node is synced (matched) to the HDA.
|
inlinevirtual |
|
inlinevirtual |
bool OP_Node::setMinimumCacheSize | ( | int | min_size | ) |
|
virtual |
Reimplemented in SOP_Node.
bool OP_Node::setModified | ( | bool | on_off | ) |
|
virtual |
Reimplemented in OBJ_Node, OBJ_SubNet, and OBJ_BlendSticky.
|
virtual |
New input functions that use names instead of indices.
Reimplemented in VOP_Node, OBJ_Node, DOP_Node, VOP_Snippet, OBJ_SubNet, VOP_Collect, VOP_SubnetOutput, VOP_VariableInput, SHOP_Output, VOP_Null, VOP_SubnetBase, and OBJ_BlendSticky.
|
virtual |
Reimplemented in VOP_Node, OBJ_Node, DOP_Node, VOP_Snippet, OBJ_SubNet, VOP_Collect, VOP_SubnetOutput, VOP_VariableInput, VOP_Null, VOP_SubnetBase, and OBJ_BlendSticky.
|
protected |
void OP_Node::setNodeShape | ( | const UT_StringHolder & | shape | ) |
Accessors for this node's flag indicating if it should use its operator's default color instead of its local color.
void OP_Node::setOriginalOperatorName | ( | const UT_StringHolder & | optype | ) |
|
inlinevirtual |
|
overridevirtual |
Implements OP_NetworkBoxItem.
bool OP_Node::setRender | ( | bool | on_off | ) |
bool OP_Node::setSaveBypass | ( | bool | on_off | ) |
bool OP_Node::setSaveData | ( | bool | on_off | ) |
bool OP_Node::setTemplate | ( | bool | on_off | ) |
bool OP_Node::setUnload | ( | bool | on_off | ) |
|
protectedvirtual |
Sets up the inputs and outputs after all nodes have been loading from file (in case it needs its children to determine inputs/oututs).
Reimplemented in VOP_SubnetBase, and VOP_SubnetScript.
void OP_Node::setUserData | ( | const UT_StringRef & | key, |
const UT_StringHolder & | data, | ||
bool | save_undo | ||
) |
|
virtual |
Reimplemented in OBJ_Node.
bool OP_Node::setXray | ( | bool | on_off | ) |
Node position/scale is used by the UI.
Implements OP_NetworkBoxItem.
bool OP_Node::shouldDelaySyncOTL | ( | ) | const |
Determines if this node should do delayed syncing or not.
|
overridevirtual |
Implements PRM_ParmOwner.
|
static |
|
protected |
|
protected |
|
protectedvirtual |
Reimplemented in OP_Network.
|
inline |
|
overridevirtual |
Sync the node assuming that it is currently at old_version to the current_version. By default, this will call the corresponding OTL_SYNCNODEVERSION section if it exists.
Reimplemented from OP_Parameters.
Reimplemented in SOP_Edit, SOP_UVFlatten, SOP_UVLayout, SOP_Cache, SOP_AttribComp, SOP_BlendShapes2, SOP_Circle, and SOP_PolyExtrude2.
void OP_Node::syncNodeVersionIfNeeded | ( | bool * | node_deleted, |
const char * | from_version = nullptr , |
||
bool | update_node_version = false |
||
) |
After the nodes parameter list is loaded, syncNodeVersionIfNeeded() is called to perform any necessary upgrades if the version number of the loaded node (taken from user data) is different from the node type's version number (getOperator()->getVersion()). Use the from_version parameter to override the node current version. If needed, this will call syncNodeVersion(). After synching, the node's version user data will be set to the current version if update_node_version is true.
bool OP_Node::takeIsActiveFlag | ( | uchar | flag | ) | const |
|
inline |
|
inline |
void OP_Node::touchBundleParm | ( | const char * | name | ) |
bool OP_Node::traverseChildren | ( | bool(*)(OP_Node &, void *) | callback, |
void * | data, | ||
bool | recurse_into_subnets | ||
) |
Traverses children of this node, calling 'callback' on all children. If callback returns true, the traversal stops at that node.
OP_ConnectorInputIter OP_Node::traverseConnectedInputs | ( | OP_ConnectorInputIter * | prev_iter | ) |
bool OP_Node::traverseInputs | ( | bool(*)(OP_Node &, void *) | callback, |
void * | data, | ||
TraverseOptions | opts, | ||
OP_InterestType | extra_interest_mask = OP_INTEREST_ALL |
||
) |
traverseInputs calls 'callback' on this node and all its inputs. If callback returns true for any node, it will stop and return true, otherwise it will return false;
callback | Callback function |
data | User data passed to the callback function |
opts | A set of flags to configure the traversal: TRAVERSE_INTO_SUBNETS If input is a subnet, we continue traversing from its display node. TRAVERSE_REF_INPUTS Follow inputs marked as reference inputs TRAVERSE_ONLY_USED_INPUTS Follow only inputs used in the last cook TRAVERSE_PASSTHROUGH_INPUTS Use the getPassThroughNode to traverse through nodes that directly steal their input node's data. TRAVERSE_EXTRA_INPUTS Follow nodes which this node implicitly depends on. TRAVERSE_SIMULATION_INPUTS For nodes that are DOP parents, grab extra inputs from the simulation. TRAVERSE_COOKED_INPUT_INDEX_INPUTS Uses the cookedInputIndex method to traverse "passthrough"-type inputs for nodes that might trigger a cook when calling getPassThroughNode, but where we want to avoid triggering a cook. |
extra_interest_mask | For extra inputs, this mask allows one to restrict which of those dependency types follow. |
bool OP_Node::traverseInputs | ( | bool(*)(const OP_Node &, void *) | callback, |
void * | data, | ||
TraverseOptions | opts, | ||
OP_InterestType | extra_interest_mask = OP_INTEREST_ALL |
||
) | const |
traverseInputs calls 'callback' on this node and all its inputs. If callback returns true for any node, it will stop and return true, otherwise it will return false;
callback | Callback function |
data | User data passed to the callback function |
opts | A set of flags to configure the traversal: TRAVERSE_INTO_SUBNETS If input is a subnet, we continue traversing from its display node. TRAVERSE_REF_INPUTS Follow inputs marked as reference inputs TRAVERSE_ONLY_USED_INPUTS Follow only inputs used in the last cook TRAVERSE_PASSTHROUGH_INPUTS Use the getPassThroughNode to traverse through nodes that directly steal their input node's data. TRAVERSE_EXTRA_INPUTS Follow nodes which this node implicitly depends on. TRAVERSE_SIMULATION_INPUTS For nodes that are DOP parents, grab extra inputs from the simulation. TRAVERSE_COOKED_INPUT_INDEX_INPUTS Uses the cookedInputIndex method to traverse "passthrough"-type inputs for nodes that might trigger a cook when calling getPassThroughNode, but where we want to avoid triggering a cook. |
extra_interest_mask | For extra inputs, this mask allows one to restrict which of those dependency types follow. |
OP_ConnectorInputIter OP_Node::traverseInputs | ( | OP_ConnectorInputIter * | prev_iter | ) |
Note: Use these carefully, since they assume that no inputs are actually added or removed (or renamed) during the traversal.
|
overridevirtual |
Implements PRM_ParmOwner.
void OP_Node::triggerOutputChanged | ( | ) |
|
overridevirtual |
Implements OP_Parameters.
void OP_Node::triggerUIChanged | ( | OP_UIChangeType | type = OP_UICHANGE_ANY | ) |
void OP_Node::turnOffAllChildExports | ( | ) |
|
virtual |
This method will undisplay all the channels belonging to this op. If the recurse flag is set it will recurse through the children (at this level the recurse flag is ignored).
Reimplemented in OP_Network.
|
virtual |
Reimplemented in SOP_Node, SOP_BrushBase, SOP_Edit, SOP_BlockEndFor, SOP_Cache, SOP_Lattice, and SOP_BlockEndCompile.
|
virtual |
Unmatches (unlocks) the node from the current HDA definition.
Reimplemented in VOP_SubnetScript.
|
virtual |
This method will unpin all the channels belonging to this op. If the recurse flag is set it will recurse through the children (at this level the recurse flag is ignored).
Reimplemented in OP_Network.
|
virtual |
This method will unscope all the channels belonging to this op. If the recurse flag is set it will recurse through the children (at this level the recurse flag is ignored).
Reimplemented in OP_Network.
|
static |
Reimplemented in DOP_Node, OBJ_DopNet, OP_Network, and HDK_Sample::SOP_HDKObject.
|
protected |
Update the error severity of this node.
void OP_Node::updateParmsToMatchCurrentUnits | ( | ) |
void OP_Node::updateVersionUserData | ( | ) |
|
inline |
|
virtual |
void OP_Node::userSetSelectableTemplate | ( | bool | onoff | ) |
The user has set the selectable template flag. If we are making a node into a selectable template, we turn on the template flag as well. If we are turning off selectable template, we leave template alone.
void OP_Node::userSetTemplate | ( | bool | onoff | ) |
The user has set the template flag. If we are turning on the template flag, we do the same as setTemplate(). If we are turning it off, we also turn off the selectable template (footprint) flag.
|
inlinevirtual |
bool OP_Node::verifyTemplatesWithParameters | ( | ) | const |
Returns the index of the first connection from node "who" to this node, or -1 if "who" is not an input.
int OP_Node::whichInputIs | ( | const OP_IndirectInput * | who | ) | const |
Returns the index of the first connection of an indirect input.
int OP_Node::whichInputIs | ( | const OP_IndirectInput * | whoi, |
int | cnt | ||
) | const |
OP_ConnectorId OP_Node::whichNamedInputIs | ( | const OP_Node * | who | ) | const |
Returns the name of the first connection from node "who" to this node, or an empty string if "who" is not an input.
OP_ConnectorId OP_Node::whichNamedInputIs | ( | const OP_IndirectInput * | who | ) | const |
Returns the index of the first connection of an indirect input.
int OP_Node::whichOutputIsFollowingIndirect | ( | const OP_Node * | target_node, |
int | input_on_target_node | ||
) | const |
|
virtual |
Reimplemented in DOP_SubNetOutput.
|
virtual |
This is overriden in VOPs. It returns true if the input at input_idx will need and can perform autoconversion of its input type to the type it needs. If autoconversion is not needed, or is impossible, this will return false.
Reimplemented in VOP_Node.
|
virtual |
Reimplemented in VOP_Node.
void OP_Node::writeAllChannels | ( | std::ostream & | os, |
const char * | name, | ||
bool | frames, | ||
bool | dochblock, | ||
bool | dospareparms | ||
) |
void OP_Node::writeChannel | ( | CH_Channel * | channel, |
std::ostream & | os, | ||
const char * | name, | ||
bool | frames | ||
) |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
static |