#include <OP_Network.h>

Public Member Functions | |
| virtual int | getNchildren () const |
| virtual OP_Node * | getChild (const char *name=0, int *hint=0) const |
| virtual OP_Node * | getChild (int index) const |
| virtual int | getChildIndex (const OP_Node *) const |
| void | getPickedOrInPickedNetboxChildren (OP_NodeList &list) |
| void | getPickedOrInPicketNetboxPostIts (UT_PtrArray< OP_PostIt * > &list) |
| int | getNitems () const |
| OP_NetworkBoxItem * | getItem (int index) const |
| int | getItemIndex (const OP_NetworkBoxItem *item) const |
| virtual int | isNetwork () const |
| virtual int | getDandROpsEqual () |
| virtual int | updateDandROpsEqual (int check_inputs=1) |
| virtual void | moveChildIndex (int srcindex, int dstindex) |
| virtual const char * | getChildType () const |
| virtual OP_OpTypeId | getChildTypeID () const =0 |
| int | getTemplateOps (UT_PtrArray< OP_Node * > &list) |
| int | getOpsByName (const char *op_name, UT_PtrArray< OP_Node * > &list) |
| OP_Node * | peekCurrentNodePtr () |
| OP_Node * | getCurrentNodePtr () |
| void | stashCurrentNodePtr (const OP_Node *child) |
| OP_Node * | getStashedCurrentNodePtr () const |
| virtual OP_Node * | getDisplayNodePtr () |
| virtual OP_Node * | getRenderNodePtr () |
| virtual CHOP_Node * | getAudioNodePtr () |
| virtual void | childDeleted (OP_Node *) |
| virtual void | childUIChange (OP_Node *) |
| virtual void | childFlagChange (OP_Node *) |
| float | getChildrenScale () const |
| void | setChildrenScale (float scale) |
| virtual OP_OperatorFilter * | getOperatorFilter () |
| OP_Node * | createNode (const char *type, const char *name=0, int notify=1, int explicitly=1, int loadcontents=1, int *aliasedScriptedOp=0, char *matIconFilename=0) |
| virtual OP_Network * | createProxyRefNode (const char *path) |
| OP_Node * | copyNode (const OP_Node *srcnode, const char *toname=0, int reference_parameters=0) |
| OP_NetworkBox * | copyNetworkBox (OP_NetworkBox *srcnetbox, OP_NetworkBoxSaveType save_type, OP_NodeList *nodes=NULL, const char *toname=0, int reference_parameters=0) |
| OP_PostIt * | copyPostItNote (OP_PostIt *src_note, const char *toname=0) |
| void | copyPickedNodes (const OP_Network *srcnet, OP_Group *newnodes=0, const OP_FixNameParms *fix_name_parms=0) |
| virtual bool | movePickedNodes (OP_Network *src_net, OP_NodeList *src_nodes_ptr=NULL, OP_NodeList *dest_nodes_ptr=NULL) |
| int | destroyNode (OP_Node *node) |
| int | destroyNodes (const OP_NodeList &nodes) |
| virtual int | renameNode (OP_Node *node, const char *name, OP_RenameAction action=OP_RENAME_NORMAL) |
| OP_Network * | findOrCreateMotionEffectsNetwork (bool create=true) |
| OP_Node * | deleteImplicitAncestors (OP_Node &node, const char *state=0, OP_Node *keep_node=0, bool included=true) |
| OP_Node * | getImplicitAncestors (OP_NodeList &implicit_nodes, OP_NodeList &border_nodes, OP_Node &node, const char *state=0, OP_Node *keep_node=0, bool included=true) |
| int | getAllCollections (UT_PtrArray< CH_Collection * > &list, int hide=0) |
| void | uniqueNodeName (UT_String &name, UT_SymbolTable *fakeChildren=0) |
| virtual int | isInvalidName (const char *name) |
| OP_ERROR | savePickedItems (ostream &os, const OP_SaveFlags &flags, OP_ItemTypeMask item_type, OP_NetworkBoxSaveType netbox_save_type=OP_NETWORKBOX_SAVE_ALL_CONTENTS) |
| OP_ERROR | saveAllItems (ostream &os, const OP_SaveFlags &flags, OP_ItemTypeMask item_type) |
| OP_ERROR | saveItemsInNetworkBox (ostream &os, const OP_SaveFlags &flags, OP_NetworkBox &netbox, OP_NetworkBoxSaveType save_type, OP_NodeList *nodes=NULL, int *nsaved=NULL) |
| OP_ERROR | saveSingle (ostream &os, OP_Node *op, const OP_SaveFlags &flags) |
| OP_ERROR | saveSingle (ostream &os, OP_Node *op, const OP_SaveFlags &flags, const OP_SaveFlags &childflags) |
| OP_ERROR | saveSingleNetworkBox (ostream &os, OP_NetworkBox &netbox, const OP_SaveFlags &flags, OP_NetworkBoxSaveType save_type, OP_NodeList *nodes=NULL) |
| OP_ERROR | saveSinglePostIt (ostream &os, OP_PostIt &pnote, const OP_SaveFlags &flags) |
| Save a single post it note. | |
| OP_ERROR | saveOpList (ostream &os, const UT_PtrArray< OP_Node * > &op_list, const OP_SaveFlags &save_flags, bool skip_nodes_in_marked_netboxes=false, int *nsaved=NULL) |
| OP_ERROR | saveNetworkBoxList (ostream &os, const UT_PtrArray< OP_NetworkBox * > &netbox_list, const OP_SaveFlags &flags, OP_NetworkBoxSaveType save_type, int *nsaved=NULL) |
| OP_ERROR | saveItemList (ostream &os, const OP_NetworkBoxItemList &item_list, const OP_SaveFlags &save_flags, const OP_NetworkBoxSaveType save_type) |
| const char * | getClipboardFile () |
| int | saveToClipboard (int all, OP_TileType type=OP_TILE_NODE, int grouplist=0, OP_ItemTypeMask item_type=OP_ITEMTYPE_NODE) |
| int | loadFromClipboard (float x=0, float y=0, int turn_off_display=0) |
| bool | loadNetwork (UT_IStream &is, int merge=0, const char *pattern=0, int overwrite=0, const OP_FixNameParms *fix_name_parms=0) |
| bool | pasteNetworkForMove (UT_IStream &is) |
| virtual bool | opShouldHandleChange (OP_EventType reason) |
| virtual void | clearUnreferencedInputs () |
| int | getLoadCollisions (UT_IStream &is, OP_NodeList &node_list, UT_PtrArray< OP_NetworkBox * > &netbox_list, UT_PtrArray< OP_PostIt * > &pnote_list, const char *pattern="*") |
| void | simulateNameCollisions (UT_StringArray &names) |
| void | getTrees (UT_Pointers *rootlist) |
| const UT_PtrArray< OP_Node * > * | getSortedList () |
| OP_Node * | getAnyOutputOf (OP_Node *op) const |
| OP_Node * | getAnyOP () const |
| char * | findUniqueGroupName (const char *basename=0) |
| OP_Group * | findGroup (const char *name) const |
| OP_Group * | createGroup (const char *name=0) |
| int | destroyGroup (const char *name) |
| int | destroyGroup (OP_Group *group) |
| int | getNgroups () const |
| OP_Group * | getGroup (int index) const |
| int | getGroups (UT_PtrArray< OP_Group * > &list, int internal=0) |
| int | getMemberships (const OP_Node *node, UT_PtrArray< OP_Group * > &list, int internal=0) |
| char * | findUniqueNetworkBoxName (const char *base=NULL) |
| char * | findUniquePostItNoteName (const char *base=NULL) |
| OP_NetworkBox * | createNetworkBox (const char *name, OP_NetworkBoxItemList *items=NULL) |
| bool | destroyNetworkBox (OP_NetworkBox *box) |
| int | destroyNetworkBoxes (UT_PtrArray< OP_NetworkBox * > &netboxes) |
| Returns the number of successfully deleted netboxes. | |
| virtual OP_NetworkBox * | findNetworkBox (const char *const_path) |
| Given a path, find the network box specified by it e.g. /obj/model/box1. | |
| virtual OP_PostIt * | findPostItNote (const char *const_path) |
| int | getNnetworkBoxes () const |
| int | getNpostItNotes () const |
| OP_NetworkBox * | getNetworkBox (int index) const |
| OP_NetworkBox * | getNetworkBox (const char *name) const |
| OP_PostIt * | getPostItNote (int index) const |
| OP_PostIt * | getPostItNote (const char *name) const |
| void | getAllNetworkBoxes (UT_PtrArray< OP_NetworkBox * > &netboxes) const |
| void | getPickedNetworkBoxes (UT_PtrArray< OP_NetworkBox * > &picked) |
| Get all picked network boxes. | |
| void | getPickedPostItNotes (UT_PtrArray< OP_PostIt * > &picked) |
| Get all picked post it notes. | |
| unsigned int | nPicked (OP_ItemTypeMask item_type_mask, bool include_hidden_nodes) |
| void | getPickedItems (OP_ItemTypeMask item_type_mask, OP_NetworkBoxItemList &picked, bool include_hidden=false) |
| virtual OP_NetworkBoxItem * | findItem (const char *const_path, OP_ItemTypeMask item_type=OP_ITEMTYPE_ALL) |
| bool | isSubNode (const OP_Node *node) const |
| void | clearSelection (OP_TileType t=OP_TILE_ALL, int grouplist=0) |
| void | setAllPickFlags (OP_ItemTypeMask item_type, int value=0) |
| void | pickRequest (OP_NetworkBoxItem *item, int shift) |
| void | pickRequest (int shift) |
| void | setPickedGroup (const OP_Group *group) |
| Set the picked items in the network to be the entries in 'group'. | |
| void | addPicked (const OP_Group *group) |
| void | subPicked (const OP_Group *group) |
| OP_OperatorTable * | getOperatorTable () const |
| virtual const char * | getScriptDirectory () |
| virtual void | clearUndoFlags () |
| virtual bool | wantsParentInputs () const |
| void | getPickedParentInputs (UT_PtrArray< OP_InputIndirect * > &picked) const |
| Get all picked Parent Inputs. | |
| int | getNparentInputs () const |
| OP_InputIndirect * | getParentInput (int index) const |
| int | getIndirectString (OP_InputIndirect *, UT_String &) |
| OP_InputIndirect * | resolveIndirectString (const char *) |
| virtual void | inputConnectChanged (int which) |
| void | getAllConnectedChildren (const OP_Node *node, OP_NodeList &nodes, bool expandSubnets=true) const |
| void | getAllConnectedChildren (int input_index, OP_NodeList &nodes, bool expandSubnets=true) const |
| virtual void | setViewSetting (const char *) |
| virtual const char * | getViewSetting () const |
| virtual void | dumpDependencies () |
| virtual void | changeParmTemplate (PRM_Template *new_template) |
| int | getNumChildManagers (OP_OpTypeId type) const |
| void | addChildManager (OP_OpTypeId type) |
| void | removeChildManager (OP_OpTypeId type) |
| virtual bool | getSaveWithVopnets () |
| virtual void | runDelScript () |
| void | clearDelScripts (int pickedOnly) |
| virtual void | unscopeChannels (bool recurse) |
| virtual void | globNetworkBoxes (const char *pat, UT_String *expand, UT_PtrArray< OP_NetworkBox * > *list=0, OP_GlobContext *context=0, const char *prefix=" ") |
| virtual void | globPostIts (const char *pat, UT_String *expand, UT_PtrArray< OP_PostIt * > *list=0, OP_GlobContext *context=0, const char *prefix=" ") |
| OP_ERROR | saveNetworkBoxes (ostream &os, const OP_SaveFlags &flags, const char *path_prefix) |
| Save out all the netboxes in this network to 'os' in separate packets. | |
| OP_ERROR | savePostIts (ostream &os, const OP_SaveFlags &flags, const char *path_prefix) |
| bool | loadNetworkBox (UT_IStream &is, const char *path="", int overwrite=0, OP_NetworkBox **created=NULL) |
| bool | loadPostIt (UT_IStream &is, const char *path="", int overwrite=0, OP_PostIt **created=NULL) |
| virtual OP_ERROR | saveCommand (ostream &os, const char *name, int valuesOnly, int defaultstoo, int docreate, int doparms, int doflags, int dowires, int dowiresout, int frames, int dogeneral, int dochblock, float x, float y, const char *netboxname, int spareparms) |
| int | getRepresentativeNodeId (OP_Node *changed_child, int current_rep_id) |
| bool | changeChildNodeType (OP_Node *child, const char *newtype, bool keepname, bool keepparms, bool keepcontents, bool quiet, int *newChildId=NULL) |
| bool | getIsSubNodeEditable (const OP_Node *subnode) const |
| bool | getMessageSubNodes (OP_NodeList &list) const |
| virtual void | getActiveOperatorsDefinedByOTL (UT_HashTable &active_operators) const |
| OP_PostIt * | createPostItNote (const char *name) |
| Pass in NULL as the name if you'd like a default name. | |
| void | getAllPostItNotes (UT_PtrArray< OP_PostIt * > &pnotes_list) const |
| bool | destroyPostItNote (OP_PostIt *pnote) |
| int | destroyPostItNotes (UT_PtrArray< OP_PostIt * > &pnotes) |
Static Public Member Functions | |
| static const char * | getScriptFromTable (const char *table) |
| static const char * | getOpTypeFromTable (const char *table) |
| static void | fixName (const char *name, const OP_FixNameParms &fix_name_parms, UT_String &fixed_name) |
| static bool | isOpWritten (UT_IStream &is) |
| static OP_OperatorTable * | getOperatorTable (const char *op_type, const char *script_path=0) |
| static void | saveOTLBackupInformation (ostream &os, const OP_OperatorList &fallbackops, const OP_OperatorList &dummyops) |
Protected Member Functions | |
| OP_Network (OP_Network *parent, const char *name, OP_Operator *op) | |
| virtual | ~OP_Network () |
| virtual void | clearAndDestroy (void) |
| void | clearAndDestroyNodes (void) |
| virtual int | propagateModification (OP_Node *by_whom, OP_EventType reason, int parm_index, OP_PropagateData &prop_data) |
| virtual void | buildOpDependencies () |
| virtual void | notifyRenameDependents (const UT_String &full_from, OP_NodeList &cook_nodes) |
| virtual void | notifyRenameReferences (const UT_String &full_from, OP_NodeList &cook_nodes) |
| virtual void | rebuildOpDependents (bool proxy_only) |
| virtual void | cloneFromProxyRefNode (OP_Network *proxy) |
| virtual OP_Network * | cloneToProxyRefNode () |
| virtual int | hasProxyRefNodes () const |
| void | removeProxyRefNode (OP_Network *proxy) |
| virtual void | moveProxyRefNodes (OP_Network *dest) |
| virtual void | moveDependencies (OP_Node *from_node) |
| virtual bool | load (UT_IStream &is, const char *ext="", const char *path=0) |
| virtual void | finishedLoadingChildOrder () |
| virtual void | finishedLoadingNetwork (bool is_child_call=false) |
| virtual bool | syncContents (UT_IStream &is) |
| void | setOperatorTable (OP_OperatorTable *table) |
| virtual void | addNode (OP_Node *node, int notify=1, int explicitly=1) |
| OP_Node * | findConnectedNode (OP_Node *op) const |
| void | resetDisplayNodePtr (OP_Node *skipthisnode=0) |
| void | resetRenderNodePtr (OP_Node *skipthisnode=0) |
| void | validateStatusNodePtrs (const OP_NodeList &skipnodes) |
| virtual void | updateExtraFlagPtrs () |
| virtual void | nodeUnlocked () |
| virtual bool | canDestroyNode () |
| virtual void | destroySingleNode (OP_Node *node) |
| void | modifyAllChildNodeNames (bool renamepickableobjects, const char *prefix, int &id) |
| virtual void | traverseScope (const char *pattern, OP_ScopeOp scope_op, const OP_ScopeOptions &scope_opts) |
| virtual void | getAdditionalUndoNodes (const OP_NodeList &orig_list, OP_NodeList &nodes_for_input_undo) |
Protected Attributes | |
| OP_Node * | myRenderNodePtr |
| OP_Node * | myDisplayNodePtr |
Friends | |
| class | OP_Director |
CHOP/CHOP_Blend.C, CHOP/CHOP_Blend.h, CHOP/CHOP_Spring.C, CHOP/CHOP_Spring.h, CHOP/CHOP_Stair.C, CHOP/CHOP_Stair.h, COP2/COP2_FullImageFilter.C, COP2/COP2_FullImageFilter.h, COP2/COP2_MultiInputWipe.C, COP2/COP2_MultiInputWipe.h, COP2/COP2_PixelAdd.C, COP2/COP2_PixelAdd.h, COP2/COP2_SampleFilter.C, COP2/COP2_SampleFilter.h, COP2/COP2_SampleGenerator.C, COP2/COP2_SampleGenerator.h, DOP/DOP_GroupAndApply.C, DOP/DOP_GroupAndApply.h, HOM/SOP_HOMWave.C, HOM/SOP_HOMWave.h, OBJ/OBJ_Shake.C, OBJ/OBJ_Shake.h, OBJ/OBJ_WorldAlign.C, OBJ/OBJ_WorldAlign.h, POP/POP_CircleForce.C, POP/POP_CircleForce.h, POP/POP_LocalForce.C, POP/POP_LocalForce.h, POP/POP_RadialBirth.C, POP/POP_RadialBirth.h, POP/POP_SpotLight.C, POP/POP_SpotLight.h, ROP/ROP_Dumper.C, ROP/ROP_Dumper.h, SOP/SOP_BlindData.C, SOP/SOP_BlindData.h, SOP/SOP_BrushHairLen.C, SOP/SOP_BrushHairLen.h, SOP/SOP_CopRaster.C, SOP/SOP_CopRaster.h, SOP/SOP_CPPWave.C, SOP/SOP_CPPWave.h, SOP/SOP_CustomBrush.C, SOP/SOP_CustomBrush.h, SOP/SOP_DetailAttrib.C, SOP/SOP_DetailAttrib.h, SOP/SOP_Flatten.C, SOP/SOP_Flatten.h, SOP/SOP_GroupRename.C, SOP/SOP_GroupRename.h, SOP/SOP_HDKObject.C, SOP/SOP_HDKObject.h, SOP/SOP_IKSample.C, SOP/SOP_IKSample.h, SOP/SOP_NURBS.C, SOP/SOP_NURBS.h, SOP/SOP_PointWave.C, SOP/SOP_PointWave.h, SOP/SOP_PrimVOP.C, SOP/SOP_PrimVOP.h, SOP/SOP_SParticle.C, SOP/SOP_SParticle.h, SOP/SOP_Star.C, SOP/SOP_Star.h, SOP/SOP_Surface.C, SOP/SOP_Surface.h, SOP/SOP_TimeCompare.C, SOP/SOP_TimeCompare.h, standalone/traverse.C, VOP/VOP_CustomContext.C, VOP/VOP_CustomContext.h, VOP/VOP_Switch.C, and VOP/VOP_Switch.h.
Definition at line 117 of file OP_Network.h.
| OP_Network::OP_Network | ( | OP_Network * | parent, | |
| const char * | name, | |||
| OP_Operator * | op | |||
| ) | [protected] |
| virtual OP_Network::~OP_Network | ( | ) | [protected, virtual] |
| void OP_Network::addChildManager | ( | OP_OpTypeId | type | ) |
| virtual void OP_Network::addNode | ( | OP_Node * | node, | |
| int | notify = 1, |
|||
| int | explicitly = 1 | |||
| ) | [protected, virtual] |
Reimplemented in VOPNET_Node, and HDK_Sample::SOP_PrimVOP.
| void OP_Network::addPicked | ( | const OP_Group * | group | ) |
| virtual void OP_Network::buildOpDependencies | ( | ) | [protected, virtual] |
Reimplemented from OP_Node.
Reimplemented in CHOP_Node, SOP_CaptureEdit, SOP_CaptureLayerPaint, and SOP_CaptureOverride.
| virtual bool OP_Network::canDestroyNode | ( | ) | [protected, virtual] |
| bool OP_Network::changeChildNodeType | ( | OP_Node * | child, | |
| const char * | newtype, | |||
| bool | keepname, | |||
| bool | keepparms, | |||
| bool | keepcontents, | |||
| bool | quiet, | |||
| int * | newChildId = NULL | |||
| ) |
| virtual void OP_Network::changeParmTemplate | ( | PRM_Template * | new_template | ) | [virtual] |
| virtual void OP_Network::childDeleted | ( | OP_Node * | ) | [virtual] |
Reimplemented in SOP_ForEach.
| virtual void OP_Network::childFlagChange | ( | OP_Node * | ) | [virtual] |
Reimplemented in DOP_Node, MGR_Node, OBJ_DopNet, OBJ_SubNet, and SOP_ForEach.
| virtual void OP_Network::childUIChange | ( | OP_Node * | ) | [virtual] |
| virtual void OP_Network::clearAndDestroy | ( | void | ) | [protected, virtual] |
| void OP_Network::clearAndDestroyNodes | ( | void | ) | [protected] |
| void OP_Network::clearDelScripts | ( | int | pickedOnly | ) |
| void OP_Network::clearSelection | ( | OP_TileType | t = OP_TILE_ALL, |
|
| int | grouplist = 0 | |||
| ) |
Try to avoid using this method, it only clears the selection for tiles, not network boxes (network boxes are considered items but not tiles). Can use setAllPickFlags() instead. In fact, since there are no group tiles in the worksheet any more, this method has become somewhat useless
| virtual void OP_Network::clearUndoFlags | ( | ) | [virtual] |
| virtual void OP_Network::clearUnreferencedInputs | ( | ) | [virtual] |
Reimplemented from OP_Node.
| virtual void OP_Network::cloneFromProxyRefNode | ( | OP_Network * | proxy | ) | [protected, virtual] |
Reimplemented from OP_Node.
| virtual OP_Network* OP_Network::cloneToProxyRefNode | ( | ) | [protected, virtual] |
Reimplemented from OP_Node.
| OP_NetworkBox* OP_Network::copyNetworkBox | ( | OP_NetworkBox * | srcnetbox, | |
| OP_NetworkBoxSaveType | save_type, | |||
| OP_NodeList * | nodes = NULL, |
|||
| const char * | toname = 0, |
|||
| int | reference_parameters = 0 | |||
| ) |
Copy 'srcnetbox' and its contents to this network. 'toname' specifies the name you'd like the copy to have. If this name has already been taken in this network, we'll use a slightly altered unique version of it. 'nodes' may only be non-null when 'save_type' is OP_NETWORKBOX_SAVE_SPECIFIED_CONTENTS, in which case it must be a valid ptr array of nodes in 'netbox'.
| OP_Node* OP_Network::copyNode | ( | const OP_Node * | srcnode, | |
| const char * | toname = 0, |
|||
| int | reference_parameters = 0 | |||
| ) |
| void OP_Network::copyPickedNodes | ( | const OP_Network * | srcnet, | |
| OP_Group * | newnodes = 0, |
|||
| const OP_FixNameParms * | fix_name_parms = 0 | |||
| ) |
| OP_Group* OP_Network::createGroup | ( | const char * | name = 0 |
) |
| OP_NetworkBox* OP_Network::createNetworkBox | ( | const char * | name, | |
| OP_NetworkBoxItemList * | items = NULL | |||
| ) |
Pass in NULL as the name if you'd like a default name. Passing in 'items' will automatically create a network box containing those items with the netbox positioned properly around them
| OP_Node* OP_Network::createNode | ( | const char * | type, | |
| const char * | name = 0, |
|||
| int | notify = 1, |
|||
| int | explicitly = 1, |
|||
| int | loadcontents = 1, |
|||
| int * | aliasedScriptedOp = 0, |
|||
| char * | matIconFilename = 0 | |||
| ) |
Adds a new OP_Node of the specified type as a child of this node. If 'name' is not given, then it will use 'type' suffixed with a unique numeric suffix. In either case, if the 'name' collides with a pre-existing node, then the actual node will be created with a unique name created by numeric suffixing.
| OP_PostIt* OP_Network::createPostItNote | ( | const char * | name | ) |
Pass in NULL as the name if you'd like a default name.
| virtual OP_Network* OP_Network::createProxyRefNode | ( | const char * | path | ) | [virtual] |
Reimplemented from OP_Node.
| OP_Node* OP_Network::deleteImplicitAncestors | ( | OP_Node & | node, | |
| const char * | state = 0, |
|||
| OP_Node * | keep_node = 0, |
|||
| bool | included = true | |||
| ) |
| int OP_Network::destroyGroup | ( | OP_Group * | group | ) |
| int OP_Network::destroyGroup | ( | const char * | name | ) |
| bool OP_Network::destroyNetworkBox | ( | OP_NetworkBox * | box | ) |
| int OP_Network::destroyNetworkBoxes | ( | UT_PtrArray< OP_NetworkBox * > & | netboxes | ) |
Returns the number of successfully deleted netboxes.
| int OP_Network::destroyNode | ( | OP_Node * | node | ) |
| int OP_Network::destroyNodes | ( | const OP_NodeList & | nodes | ) |
| bool OP_Network::destroyPostItNote | ( | OP_PostIt * | pnote | ) |
| int OP_Network::destroyPostItNotes | ( | UT_PtrArray< OP_PostIt * > & | pnotes | ) |
| virtual void OP_Network::destroySingleNode | ( | OP_Node * | node | ) | [protected, virtual] |
| virtual void OP_Network::dumpDependencies | ( | ) | [virtual] |
Reimplemented from OP_Node.
| OP_Group* OP_Network::findGroup | ( | const char * | name | ) | const |
| virtual OP_NetworkBoxItem* OP_Network::findItem | ( | const char * | const_path, | |
| OP_ItemTypeMask | item_type = OP_ITEMTYPE_ALL | |||
| ) | [virtual] |
Same as findNode or findNetworkBox, but more generalized so you can search through multiple items with just one method. 'item_type_mask' is used to specify what type of items you want to consider in your search. Does not support indirect parent input searches.
Reimplemented from OP_Node.
| virtual OP_NetworkBox* OP_Network::findNetworkBox | ( | const char * | const_path | ) | [virtual] |
| OP_Network* OP_Network::findOrCreateMotionEffectsNetwork | ( | bool | create = true |
) |
Obtains the CHOP network to store motion effects. If create is true, then it will be created if it doesn't exist yet.
| virtual OP_PostIt* OP_Network::findPostItNote | ( | const char * | ) | [virtual] |
Implemented in OP_Network, but put here as a virtual to make working with hscript easier so that it can be called directly on an op node
Reimplemented from OP_Node.
| char* OP_Network::findUniqueGroupName | ( | const char * | basename = 0 |
) |
| char* OP_Network::findUniqueNetworkBoxName | ( | const char * | base = NULL |
) |
| char* OP_Network::findUniquePostItNoteName | ( | const char * | base = NULL |
) |
| virtual void OP_Network::finishedLoadingChildOrder | ( | ) | [protected, virtual] |
| virtual void OP_Network::finishedLoadingNetwork | ( | bool | is_child_call = false |
) | [protected, virtual] |
Reimplemented in VOP_Node, VOPNET_Node, and HDK_Sample::SOP_PrimVOP.
| static void OP_Network::fixName | ( | const char * | name, | |
| const OP_FixNameParms & | fix_name_parms, | |||
| UT_String & | fixed_name | |||
| ) | [static] |
| virtual void OP_Network::getActiveOperatorsDefinedByOTL | ( | UT_HashTable & | active_operators | ) | const [virtual] |
Reimplemented from OP_Node.
| virtual void OP_Network::getAdditionalUndoNodes | ( | const OP_NodeList & | orig_list, | |
| OP_NodeList & | nodes_for_input_undo | |||
| ) | [inline, protected, virtual] |
| int OP_Network::getAllCollections | ( | UT_PtrArray< CH_Collection * > & | list, | |
| int | hide = 0 | |||
| ) |
| void OP_Network::getAllConnectedChildren | ( | int | input_index, | |
| OP_NodeList & | nodes, | |||
| bool | expandSubnets = true | |||
| ) | const |
| void OP_Network::getAllConnectedChildren | ( | const OP_Node * | node, | |
| OP_NodeList & | nodes, | |||
| bool | expandSubnets = true | |||
| ) | const |
| void OP_Network::getAllNetworkBoxes | ( | UT_PtrArray< OP_NetworkBox * > & | netboxes | ) | const |
| void OP_Network::getAllPostItNotes | ( | UT_PtrArray< OP_PostIt * > & | pnotes_list | ) | const |
| OP_Node* OP_Network::getAnyOP | ( | ) | const |
| virtual OP_Node* OP_Network::getChild | ( | int | index | ) | const [virtual] |
| virtual OP_Node* OP_Network::getChild | ( | const char * | name = 0, |
|
| int * | hint = 0 | |||
| ) | const [virtual] |
| virtual int OP_Network::getChildIndex | ( | const OP_Node * | ) | const [virtual] |
| float OP_Network::getChildrenScale | ( | ) | const [inline] |
Definition at line 187 of file OP_Network.h.
| virtual const char* OP_Network::getChildType | ( | ) | const [virtual] |
Reimplemented in CHOP_Node, COP2_Node, DOP_Node, MGR_Node, OBJ_DopNet, OBJ_Node, OBJ_SubNet, OP_Director, POP_Node, POPNET_Node, ROP_Node, SHOP_Node, SOP_Node, VOP_Node, VOPNET_Node, HDK_Sample::SOP_PrimVOP, and HDK_Sample::SOP_CustomVop.
| virtual OP_OpTypeId OP_Network::getChildTypeID | ( | ) | const [pure virtual] |
Implemented in CHOP_Node, COP2_Node, DOP_Node, MGR_Node, OBJ_DopNet, OBJ_Node, OBJ_SubNet, OP_Director, POP_Node, POPNET_Node, ROP_Node, SHOP_Node, SOP_Node, VOP_Node, VOPNET_Node, HDK_Sample::SOP_PrimVOP, and HDK_Sample::SOP_CustomVop.
| const char* OP_Network::getClipboardFile | ( | ) |
| OP_Node* OP_Network::getCurrentNodePtr | ( | ) |
| virtual int OP_Network::getDandROpsEqual | ( | ) | [virtual] |
Reimplemented from OP_Node.
Reimplemented in DOP_Node, OBJ_DopNet, and HDK_Sample::SOP_HDKObject.
| virtual OP_Node* OP_Network::getDisplayNodePtr | ( | ) | [virtual] |
Reimplemented in MGR_Node, and OBJ_SubNet.
| OP_Group* OP_Network::getGroup | ( | int | index | ) | const |
| int OP_Network::getGroups | ( | UT_PtrArray< OP_Group * > & | list, | |
| int | internal = 0 | |||
| ) |
| OP_Node* OP_Network::getImplicitAncestors | ( | OP_NodeList & | implicit_nodes, | |
| OP_NodeList & | border_nodes, | |||
| OP_Node & | node, | |||
| const char * | state = 0, |
|||
| OP_Node * | keep_node = 0, |
|||
| bool | included = true | |||
| ) |
| int OP_Network::getIndirectString | ( | OP_InputIndirect * | , | |
| UT_String & | ||||
| ) |
| bool OP_Network::getIsSubNodeEditable | ( | const OP_Node * | subnode | ) | const |
| OP_NetworkBoxItem* OP_Network::getItem | ( | int | index | ) | const |
| int OP_Network::getItemIndex | ( | const OP_NetworkBoxItem * | item | ) | const |
| int OP_Network::getLoadCollisions | ( | UT_IStream & | is, | |
| OP_NodeList & | node_list, | |||
| UT_PtrArray< OP_NetworkBox * > & | netbox_list, | |||
| UT_PtrArray< OP_PostIt * > & | pnote_list, | |||
| const char * | pattern = "*" | |||
| ) |
Check a stream for collisions for loading... This will add the problem nodes to 'node_list' and the problem network boxes to 'netbox_list', and also return the total number of collisions found... It rewinds the stream to the starting point, thus, it can't be used with stdin! Remember that a node can collide with a network box, since they share the same namespace!
| int OP_Network::getMemberships | ( | const OP_Node * | node, | |
| UT_PtrArray< OP_Group * > & | list, | |||
| int | internal = 0 | |||
| ) |
| bool OP_Network::getMessageSubNodes | ( | OP_NodeList & | list | ) | const |
Builds the list of subnodes that are marked as message nodes. Returns false if there are none (list.entries() == 0 then)
| virtual int OP_Network::getNchildren | ( | ) | const [virtual] |
| OP_NetworkBox* OP_Network::getNetworkBox | ( | const char * | name | ) | const |
| OP_NetworkBox* OP_Network::getNetworkBox | ( | int | index | ) | const |
Unlike 'findNetworkBox()', these 2 methods only return netboxes contained directly in this network itself (and not those in a child)
| int OP_Network::getNgroups | ( | ) | const |
| int OP_Network::getNitems | ( | ) | const |
| int OP_Network::getNnetworkBoxes | ( | ) | const |
| int OP_Network::getNparentInputs | ( | ) | const [inline] |
Definition at line 563 of file OP_Network.h.
| int OP_Network::getNpostItNotes | ( | ) | const |
| int OP_Network::getNumChildManagers | ( | OP_OpTypeId | type | ) | const |
| virtual OP_OperatorFilter* OP_Network::getOperatorFilter | ( | ) | [virtual] |
Reimplemented in VOPNET_Node, HDK_Sample::SOP_PrimVOP, and HDK_Sample::SOP_CustomVop.
| OP_OperatorTable* OP_Network::getOperatorTable | ( | ) | const [inline] |
Definition at line 547 of file OP_Network.h.
| static OP_OperatorTable* OP_Network::getOperatorTable | ( | const char * | op_type, | |
| const char * | script_path = 0 | |||
| ) | [static] |
| int OP_Network::getOpsByName | ( | const char * | op_name, | |
| UT_PtrArray< OP_Node * > & | list | |||
| ) |
| static const char* OP_Network::getOpTypeFromTable | ( | const char * | table | ) | [static] |
| OP_InputIndirect* OP_Network::getParentInput | ( | int | index | ) | const |
| void OP_Network::getPickedItems | ( | OP_ItemTypeMask | item_type_mask, | |
| OP_NetworkBoxItemList & | picked, | |||
| bool | include_hidden = false | |||
| ) |
Return all picked items of types specified by 'item_type_mask'. NOTE: If you want only a single type of item, it's more efficient to use getPickedChildren(), getPickedNetworkBoxes(), etc...
| void OP_Network::getPickedNetworkBoxes | ( | UT_PtrArray< OP_NetworkBox * > & | picked | ) |
Get all picked network boxes.
| void OP_Network::getPickedOrInPickedNetboxChildren | ( | OP_NodeList & | list | ) |
Convenience method, there's often the need to get a list of all children which are either 1) picked or 2) not picked but in a picked netbox
| void OP_Network::getPickedOrInPicketNetboxPostIts | ( | UT_PtrArray< OP_PostIt * > & | list | ) |
| void OP_Network::getPickedParentInputs | ( | UT_PtrArray< OP_InputIndirect * > & | picked | ) | const |
Get all picked Parent Inputs.
| void OP_Network::getPickedPostItNotes | ( | UT_PtrArray< OP_PostIt * > & | picked | ) |
Get all picked post it notes.
| OP_PostIt* OP_Network::getPostItNote | ( | const char * | name | ) | const |
| OP_PostIt* OP_Network::getPostItNote | ( | int | index | ) | const |
| virtual OP_Node* OP_Network::getRenderNodePtr | ( | ) | [virtual] |
| int OP_Network::getRepresentativeNodeId | ( | OP_Node * | changed_child, | |
| int | current_rep_id | |||
| ) |
Returns the unique id of the representative operator that this network may have. The changed_child parameter and the current_rep_id are used in order to minimize the number of findSubNode() calls that are made.
| virtual bool OP_Network::getSaveWithVopnets | ( | ) | [virtual] |
Reimplemented from OP_Node.
| virtual const char* OP_Network::getScriptDirectory | ( | ) | [virtual] |
| static const char* OP_Network::getScriptFromTable | ( | const char * | table | ) | [static] |
| const UT_PtrArray<OP_Node *>* OP_Network::getSortedList | ( | ) |
| OP_Node* OP_Network::getStashedCurrentNodePtr | ( | ) | const |
| int OP_Network::getTemplateOps | ( | UT_PtrArray< OP_Node * > & | list | ) |
| void OP_Network::getTrees | ( | UT_Pointers * | rootlist | ) |
| virtual const char* OP_Network::getViewSetting | ( | ) | const [inline, virtual] |
Definition at line 588 of file OP_Network.h.
| virtual void OP_Network::globNetworkBoxes | ( | const char * | pat, | |
| UT_String * | expand, | |||
| UT_PtrArray< OP_NetworkBox * > * | list = 0, |
|||
| OP_GlobContext * | glob_context = 0, |
|||
| const char * | prefix = " " | |||
| ) | [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 from OP_Node.
| virtual void OP_Network::globPostIts | ( | const char * | pat, | |
| UT_String * | expand, | |||
| UT_PtrArray< OP_PostIt * > * | list = 0, |
|||
| OP_GlobContext * | context = 0, |
|||
| const char * | prefix = " " | |||
| ) | [virtual] |
Reimplemented from OP_Node.
| virtual int OP_Network::hasProxyRefNodes | ( | ) | const [inline, protected, virtual] |
| virtual void OP_Network::inputConnectChanged | ( | int | which | ) | [virtual] |
Reimplemented from OP_Node.
Reimplemented in CHOP_Node, COP2_Generator, OBJ_Muscle, ROP_Node, and SOP_Node.
| virtual int OP_Network::isInvalidName | ( | const char * | name | ) | [virtual] |
| virtual int OP_Network::isNetwork | ( | ) | const [virtual] |
Reimplemented from OP_Node.
| static bool OP_Network::isOpWritten | ( | UT_IStream & | is | ) | [static] |
| bool OP_Network::isSubNode | ( | const OP_Node * | node | ) | const |
Returns true if the given node is a child descendent of the same type with no intervening levels of different type.
| virtual bool OP_Network::load | ( | UT_IStream & | is, | |
| const char * | ext = "", |
|||
| const char * | path = 0 | |||
| ) | [protected, virtual] |
Reimplemented from OP_Node.
Reimplemented in CHOP_Node, CHOP_Realtime, COP2_Node, SOP_BlendShapes, SOP_CaptureEdit, SOP_CaptureLayerPaint, SOP_CaptureOverride, SOP_GDT, SOP_Node, VOP_Node, HDK_Sample::SOP_BlindData, and HDK_Sample::SOP_CustomBrush.
| int OP_Network::loadFromClipboard | ( | float | x = 0, |
|
| float | y = 0, |
|||
| int | turn_off_display = 0 | |||
| ) |
| bool OP_Network::loadNetwork | ( | UT_IStream & | is, | |
| int | merge = 0, |
|||
| const char * | pattern = 0, |
|||
| int | overwrite = 0, |
|||
| const OP_FixNameParms * | fix_name_parms = 0 | |||
| ) |
| bool OP_Network::loadNetworkBox | ( | UT_IStream & | is, | |
| const char * | path = "", |
|||
| int | overwrite = 0, |
|||
| OP_NetworkBox ** | created = NULL | |||
| ) |
Load a network box from 'is'. Can load from both .hip files and the clipboard. 'path' is used as the new netbox's name. If 'overwrite' is specified, the new netbox will overwrite any other netboxes in this network with the same name, rather than modify its name to be unique. 'created' is used to return a ptr to the new network box.
| bool OP_Network::loadPostIt | ( | UT_IStream & | is, | |
| const char * | path = "", |
|||
| int | overwrite = 0, |
|||
| OP_PostIt ** | created = NULL | |||
| ) |
Load a post-it note from 'is'. Can load from both .hip files and the clipboard. 'path' is used as the new post-it's name. If 'overwrite' is specified, the new post-it will overwrite any other post-its in this network with the same name, rather than modify its name to be unique. 'created' is used to return a ptr to the new post-it.
| void OP_Network::modifyAllChildNodeNames | ( | bool | renamepickableobjects, | |
| const char * | prefix, | |||
| int & | id | |||
| ) | [protected] |
| virtual void OP_Network::moveChildIndex | ( | int | srcindex, | |
| int | dstindex | |||
| ) | [virtual] |
| virtual void OP_Network::moveDependencies | ( | OP_Node * | from_node | ) | [protected, virtual] |
Reimplemented from OP_Node.
| virtual bool OP_Network::movePickedNodes | ( | OP_Network * | src_net, | |
| OP_NodeList * | src_nodes_ptr = NULL, |
|||
| OP_NodeList * | dest_nodes_ptr = NULL | |||
| ) | [virtual] |
| virtual void OP_Network::moveProxyRefNodes | ( | OP_Network * | dest | ) | [protected, virtual] |
Reimplemented from OP_Node.
| virtual void OP_Network::nodeUnlocked | ( | ) | [protected, virtual] |
| virtual void OP_Network::notifyRenameDependents | ( | const UT_String & | full_from, | |
| OP_NodeList & | cook_nodes | |||
| ) | [protected, virtual] |
Reimplemented from OP_Node.
| virtual void OP_Network::notifyRenameReferences | ( | const UT_String & | full_from, | |
| OP_NodeList & | cook_nodes | |||
| ) | [protected, virtual] |
Reimplemented from OP_Node.
| unsigned int OP_Network::nPicked | ( | OP_ItemTypeMask | item_type_mask, | |
| bool | include_hidden_nodes | |||
| ) |
Return the number of items picked. 'item_type_mask' is a bit field used to specify which item types you'd liked to include in the count. Use the values in OP_ItemType to set the bits in 'item_type_mask'.
NOTE: Unlike getPickedItems(), this does NOT check if an item is exposed
| virtual bool OP_Network::opShouldHandleChange | ( | OP_EventType | reason | ) | [virtual] |
Reimplemented from OP_Node.
| bool OP_Network::pasteNetworkForMove | ( | UT_IStream & | is | ) |
| OP_Node* OP_Network::peekCurrentNodePtr | ( | ) |
| void OP_Network::pickRequest | ( | int | shift | ) | [inline] |
| void OP_Network::pickRequest | ( | OP_NetworkBoxItem * | item, | |
| int | shift | |||
| ) |
| virtual int OP_Network::propagateModification | ( | OP_Node * | by_whom, | |
| OP_EventType | reason, | |||
| int | parm_index, | |||
| OP_PropagateData & | prop_data | |||
| ) | [protected, virtual] |
| virtual void OP_Network::rebuildOpDependents | ( | bool | proxy_only | ) | [protected, virtual] |
Reimplemented from OP_Node.
| void OP_Network::removeChildManager | ( | OP_OpTypeId | type | ) |
| void OP_Network::removeProxyRefNode | ( | OP_Network * | proxy | ) | [protected] |
| virtual int OP_Network::renameNode | ( | OP_Node * | node, | |
| const char * | name, | |||
| OP_RenameAction | action = OP_RENAME_NORMAL | |||
| ) | [virtual] |
Reimplemented in OP_Director.
| void OP_Network::resetDisplayNodePtr | ( | OP_Node * | skipthisnode = 0 |
) | [protected] |
| void OP_Network::resetRenderNodePtr | ( | OP_Node * | skipthisnode = 0 |
) | [protected] |
| OP_InputIndirect* OP_Network::resolveIndirectString | ( | const char * | ) |
| virtual void OP_Network::runDelScript | ( | ) | [virtual] |
Reimplemented from OP_Node.
| OP_ERROR OP_Network::saveAllItems | ( | ostream & | os, | |
| const OP_SaveFlags & | flags, | |||
| OP_ItemTypeMask | item_type | |||
| ) |
Save all items of the types specified by 'item_type'. Note that saving any nodes or netboxes implicitly always saves indirect inputs if they're picked or part of a picked netbox (legacy behaviour).
| virtual OP_ERROR OP_Network::saveCommand | ( | ostream & | os, | |
| const char * | name, | |||
| int | valuesOnly, | |||
| int | defaultstoo, | |||
| int | docreate, | |||
| int | doparms, | |||
| int | doflags, | |||
| int | dowires, | |||
| int | dowiresout, | |||
| int | frames, | |||
| int | dogeneral, | |||
| int | dochblock, | |||
| float | x, | |||
| float | y, | |||
| const char * | netboxname, | |||
| int | spareparms | |||
| ) | [virtual] |
Reimplemented from OP_Node.
| OP_ERROR OP_Network::saveItemList | ( | ostream & | os, | |
| const OP_NetworkBoxItemList & | item_list, | |||
| const OP_SaveFlags & | save_flags, | |||
| const OP_NetworkBoxSaveType | save_type | |||
| ) |
| OP_ERROR OP_Network::saveItemsInNetworkBox | ( | ostream & | os, | |
| const OP_SaveFlags & | flags, | |||
| OP_NetworkBox & | netbox, | |||
| OP_NetworkBoxSaveType | save_type, | |||
| OP_NodeList * | nodes = NULL, |
|||
| int * | nsaved = NULL | |||
| ) |
Saves certain items in a network box, depending on what 'save_type' specifies. 'nodes' may only be non-null when 'save_type' is OP_NETWORKBOX_SAVE_SPECIFIED_CONTENTS, in which case it must be a valid ptr array of nodes in 'netbox'. Method currently only saves nodes, as indirects can be saved only when their parent subnets get saved.
| OP_ERROR OP_Network::saveNetworkBoxes | ( | ostream & | os, | |
| const OP_SaveFlags & | flags, | |||
| const char * | path_prefix | |||
| ) |
Save out all the netboxes in this network to 'os' in separate packets.
| OP_ERROR OP_Network::saveNetworkBoxList | ( | ostream & | os, | |
| const UT_PtrArray< OP_NetworkBox * > & | netbox_list, | |||
| const OP_SaveFlags & | flags, | |||
| OP_NetworkBoxSaveType | save_type, | |||
| int * | nsaved = NULL | |||
| ) |
Same as saveSingleNetworkBox(), except saves out a list of network boxes. Note that you can't use the OP_NETWORKBOX_SAVE_SPECIFIED_CONTENTS option for 'save_type' though.
| OP_ERROR OP_Network::saveOpList | ( | ostream & | os, | |
| const UT_PtrArray< OP_Node * > & | op_list, | |||
| const OP_SaveFlags & | save_flags, | |||
| bool | skip_nodes_in_marked_netboxes = false, |
|||
| int * | nsaved = NULL | |||
| ) |
In order to avoid duplicately saving nodes in 'op_list' that have already been saved by their netboxes, make sure to mark those netboxes and then pass in 'skip_nodes_in_marked_netboxes' as true.
| static void OP_Network::saveOTLBackupInformation | ( | ostream & | os, | |
| const OP_OperatorList & | fallbackops, | |||
| const OP_OperatorList & | dummyops | |||
| ) | [static] |
| OP_ERROR OP_Network::savePickedItems | ( | ostream & | os, | |
| const OP_SaveFlags & | flags, | |||
| OP_ItemTypeMask | item_type, | |||
| OP_NetworkBoxSaveType | netbox_save_type = OP_NETWORKBOX_SAVE_ALL_CONTENTS | |||
| ) |
Save all picked items of the types specified by 'item_type'. Note that saving any nodes or netboxes implicitly always saves indirect inputs if they're picked (legacy behaviour). If 'item_type' includes netboxes, you can specify the save policy for netboxes regarding how much of their contents they should be saved along with themselves. This is the only way for a node to remember which netbox it was in.
| OP_ERROR OP_Network::savePostIts | ( | ostream & | os, | |
| const OP_SaveFlags & | flags, | |||
| const char * | path_prefix | |||
| ) |
| OP_ERROR OP_Network::saveSingle | ( | ostream & | os, | |
| OP_Node * | op, | |||
| const OP_SaveFlags & | flags, | |||
| const OP_SaveFlags & | childflags | |||
| ) |
| OP_ERROR OP_Network::saveSingle | ( | ostream & | os, | |
| OP_Node * | op, | |||
| const OP_SaveFlags & | flags | |||
| ) |
| OP_ERROR OP_Network::saveSingleNetworkBox | ( | ostream & | os, | |
| OP_NetworkBox & | netbox, | |||
| const OP_SaveFlags & | flags, | |||
| OP_NetworkBoxSaveType | save_type, | |||
| OP_NodeList * | nodes = NULL | |||
| ) |
Saves a single netbox. 'save_type' lets you specify the save policy with regards to how much of its contents the network box saves with it. 'nodes' may only be non-null when 'save_type' is OP_NETWORKBOX_SAVE_SPECIFIED_CONTENTS, in which case it must be a valid ptr array of nodes in 'netbox'.
| OP_ERROR OP_Network::saveSinglePostIt | ( | ostream & | os, | |
| OP_PostIt & | pnote, | |||
| const OP_SaveFlags & | flags | |||
| ) |
Save a single post it note.
| int OP_Network::saveToClipboard | ( | int | all, | |
| OP_TileType | type = OP_TILE_NODE, |
|||
| int | grouplist = 0, |
|||
| OP_ItemTypeMask | item_type = OP_ITEMTYPE_NODE | |||
| ) |
| void OP_Network::setAllPickFlags | ( | OP_ItemTypeMask | item_type, | |
| int | value = 0 | |||
| ) |
Set the pick flags to 'value' for all items of types specified by 'item_type'
| void OP_Network::setChildrenScale | ( | float | scale | ) |
| void OP_Network::setOperatorTable | ( | OP_OperatorTable * | table | ) | [protected] |
| void OP_Network::setPickedGroup | ( | const OP_Group * | group | ) |
Set the picked items in the network to be the entries in 'group'.
| virtual void OP_Network::setViewSetting | ( | const char * | ) | [inline, virtual] |
Definition at line 587 of file OP_Network.h.
| void OP_Network::simulateNameCollisions | ( | UT_StringArray & | names | ) |
Simulates adding items with the names in 'names' to this network, and stores the resulting names after name-collisions have been addressed back into 'names'. This works for anything sharing the node namespace, which currently includes nodes and network boxes.
| void OP_Network::stashCurrentNodePtr | ( | const OP_Node * | child | ) |
| void OP_Network::subPicked | ( | const OP_Group * | group | ) |
| virtual bool OP_Network::syncContents | ( | UT_IStream & | is | ) | [protected, virtual] |
Reimplemented from OP_Node.
| virtual void OP_Network::traverseScope | ( | const char * | pattern, | |
| OP_ScopeOp | scope_op, | |||
| const OP_ScopeOptions & | scope_opts | |||
| ) | [protected, virtual] |
This is a helper method to the setChannelScope method. It traverses the node's parameters and sets the scope on them according to the given pattern. This method is also defined in OP_Parameters, it is overridden here to provide parsing support for network paths.
Reimplemented from OP_Parameters.
| void OP_Network::uniqueNodeName | ( | UT_String & | name, | |
| UT_SymbolTable * | fakeChildren = 0 | |||
| ) |
Build a unique node name or a unique operator name from the one given. We'll pretend we also have children with the names in 'fakeChildren' when we do our name-collision checking if 'fakeChildren' is non-NULL.
| virtual void OP_Network::unscopeChannels | ( | bool | recurse | ) | [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 from OP_Node.
| virtual int OP_Network::updateDandROpsEqual | ( | int | check_inputs = 1 |
) | [virtual] |
| virtual void OP_Network::updateExtraFlagPtrs | ( | ) | [protected, virtual] |
| void OP_Network::validateStatusNodePtrs | ( | const OP_NodeList & | skipnodes | ) | [protected] |
| virtual bool OP_Network::wantsParentInputs | ( | ) | const [virtual] |
friend class OP_Director [friend] |
Definition at line 958 of file OP_Network.h.
OP_Node* OP_Network::myDisplayNodePtr [protected] |
Definition at line 799 of file OP_Network.h.
OP_Node* OP_Network::myRenderNodePtr [protected] |
Definition at line 798 of file OP_Network.h.
1.5.9