HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_Node Class Referenceabstract

#include <HOM_Node.h>

+ Inheritance diagram for HOM_Node:

Public Member Functions

 HOM_Node ()
 
 HOM_Node (const HOM_Node &node)
 
 ~HOM_Node () override
 
virtual bool operator== (HOM_PtrOrNull< HOM_Node > node)=0
 
virtual bool operator!= (HOM_PtrOrNull< HOM_Node > node)=0
 
int __hash__ () override=0
 
std::string __repr__ () override=0
 
virtual std::string __str__ ()=0
 
virtual bool isNetwork ()=0
 
virtual bool isEditable ()=0
 
virtual HOM_NodeTypetype ()=0
 
virtual HOM_NodeTypeCategorychildTypeCategory ()=0
 
virtual bool isFlagReadable (HOM_EnumValue &flag)=0
 
virtual bool isFlagWritable (HOM_EnumValue &flag)=0
 
virtual bool isGenericFlagSet (HOM_EnumValue &flag)=0
 
virtual void setGenericFlag (HOM_EnumValue &flag, bool value)=0
 
virtual bool isDisplayDescriptiveNameFlagSet ()=0
 
virtual void setDisplayDescriptiveNameFlag (bool on)=0
 
virtual std::vector< std::stringerrors ()=0
 
virtual std::vector< std::stringwarnings ()=0
 
virtual std::vector< std::stringmessages ()=0
 
virtual HOM_Nodenode (const char *node_path)=0
 
virtual std::vector
< HOM_ElemPtr< HOM_Node > > 
nodes (const std::vector< std::string > &node_paths)=0
 
virtual HOM_NetworkMovableItemitem (const char *item_path)=0
 
virtual std::vector
< HOM_ElemPtr
< HOM_NetworkMovableItem > > 
items (const std::vector< std::string > &item_paths)=0
 
virtual std::vector
< HOM_ElemPtr< HOM_Node > > 
glob (const char *pattern, bool ignore_case=false)=0
 
virtual std::vector
< HOM_ElemPtr< HOM_Node > > 
recursiveGlob (const char *pattern, HOM_EnumValue &filter=HOM_nodeTypeFilter::NoFilter, bool include_subnets=true)=0
 
virtual HOM_NodecreateNode (const char *node_type_name, const char *node_name=NULL, bool run_init_scripts=true, bool load_contents=true, bool exact_type_name=false, bool force_valid_node_name=false)=0
 
virtual int inputIndex (const char *input_name)=0
 
virtual int outputIndex (const char *output_name)=0
 
virtual void setInput (int input_index, HOM_NetworkMovableItem *item_to_become_input, int output_index=0)=0
 
virtual void setNamedInput (const char *input_name, HOM_NetworkMovableItem *item_to_become_input, const char *output_name)=0
 
virtual void setNamedInput (const char *input_name, HOM_NetworkMovableItem *item_to_become_input, int output_index)=0
 
virtual void setFirstInput (HOM_NetworkMovableItem *item_to_become_input, int output_index=0)=0
 
virtual void setNextInput (HOM_NetworkMovableItem *item_to_become_input, int output_index=0, bool unordered_only=false)=0
 
virtual void insertInput (int input_index, HOM_NetworkMovableItem *item_to_become_input, int output_index=0)=0
 
virtual int numOrderedInputs ()=0
 
virtual std::vector
< HOM_ElemPtr< HOM_Node > > 
inputs ()=0
 
virtual HOM_Nodeinput (int input_index)=0
 
virtual HOM_NodeinputFollowingOutputs (int input_index)=0
 
virtual std::vector
< HOM_ElemPtr
< HOM_NodeConnection > > 
inputConnections ()=0
 
virtual HOM_IterableList
< std::vector< HOM_ElemPtr
< HOM_NodeConnection > > > * 
inputConnectors ()=0
 
virtual std::vector
< HOM_ElemPtr< HOM_Node > > 
inputAncestors (bool include_ref_inputs=true, bool follow_subnets=false, bool only_used_inputs=false)=0
 
virtual std::vector< std::stringinputNames ()=0
 
virtual std::vector< std::stringinputLabels ()=0
 
virtual std::map< std::string,
std::string
editableInputStrings (int input_index)=0
 
virtual std::string editableInputString (int input_index, const char *key)=0
 
virtual void setEditableInputString (int input_index, const char *key, const char *value)=0
 
virtual std::vector< std::stringoutputNames ()=0
 
virtual std::vector< std::stringoutputLabels ()=0
 
virtual std::vector
< HOM_ElemPtr< HOM_Node > > 
outputs ()=0
 
virtual std::vector
< HOM_ElemPtr
< HOM_NodeConnection > > 
outputConnections ()=0
 
virtual HOM_IterableList
< std::vector< HOM_ElemPtr
< HOM_NodeConnection > > > * 
outputConnectors ()=0
 
virtual std::vector
< HOM_ElemPtr< HOM_Node > > 
children ()=0
 
virtual std::vector
< HOM_ElemPtr< HOM_Node > > 
allSubChildren (bool top_down=true, bool recurse_in_locked_nodes=true, bool sync_delayed_definition=false)=0
 
virtual std::vector
< HOM_ElemPtr< HOM_Node > > 
selectedChildren (bool include_hidden=false, bool include_hidden_support_nodes=false)=0
 
virtual std::vector
< HOM_ElemPtr
< HOM_NetworkMovableItem > > 
allItems ()=0
 
virtual std::vector
< HOM_ElemPtr
< HOM_NetworkMovableItem > > 
allSubItems (bool top_down=true, bool recurse_in_locked_nodes=true, bool sync_delayed_definition=false)=0
 
virtual std::vector
< HOM_ElemPtr
< HOM_NetworkMovableItem > > 
selectedItems (bool include_hidden=false, bool include_hidden_support_nodes=false)=0
 
virtual int numItems (HOM_EnumValue *item_type=NULL, bool selected_only=false, bool include_hidden=false)=0
 
virtual void deleteItems (const std::vector< HOM_NetworkMovableItem * > &items=std::vector< HOM_NetworkMovableItem * >(), bool disable_safety_checks=false)=0
 
virtual void copyItemsToClipboard (const std::vector< HOM_NetworkMovableItem * > &items=std::vector< HOM_NetworkMovableItem * >())=0
 
virtual void pasteItemsFromClipboard (HOM_Vector2 *position=NULL)=0
 
virtual std::vector
< HOM_ElemPtr
< HOM_NetworkMovableItem > > 
copyItems (const std::vector< HOM_NetworkMovableItem * > &items, bool channel_reference_originals=false, bool relative_references=true, bool connect_outputs_to_multi_inputs=false)=0
 
virtual HOM_Nodecreator ()=0
 
virtual HOM_Vector2moveToGoodPosition (bool relative_to_inputs=true, bool move_inputs=true, bool move_outputs=true, bool move_unconnected=true)=0
 
 SWIGOUT (%kwargs layoutChildren)
 
virtual void layoutChildren (const std::vector< HOM_NetworkMovableItem * > &items=std::vector< HOM_NetworkMovableItem * >(), double horizontal_spacing=-1, double vertical_spacing=-1)=0
 
virtual bool isCurrent ()=0
 
virtual void setCurrent (bool on, bool clear_all_selected=false)=0
 
virtual bool isHidden ()=0
 
virtual void hide (bool on)=0
 
virtual std::string comment ()=0
 
virtual void setComment (const char *comment)=0
 
virtual void appendComment (const char *comment)=0
 
virtual void destroy (bool disable_safety_checks=false)=0
 
virtual std::vector
< HOM_ElemPtr< HOM_NetworkBox > > 
networkBoxes ()=0
 
virtual HOM_IterableList
< HOM_NetworkBox > * 
iterNetworkBoxes ()=0
 
virtual HOM_NetworkBoxcreateNetworkBox (const char *name=NULL)=0
 
virtual HOM_NetworkBoxcopyNetworkBox (HOM_NetworkBox &network_box_to_copy, const char *new_name=NULL, bool channel_reference_original=false)=0
 
virtual HOM_NetworkBoxfindNetworkBox (const char *name)=0
 
virtual std::vector
< HOM_ElemPtr< HOM_NetworkBox > > 
findNetworkBoxes (const char *pattern)=0
 
virtual std::vector
< HOM_ElemPtr< HOM_NetworkDot > > 
networkDots ()=0
 
virtual HOM_NetworkDotcreateNetworkDot ()=0
 
virtual bool canCreateDigitalAsset ()=0
 
virtual HOM_NodecollapseIntoSubnet (const std::vector< HOM_NetworkMovableItem * > &child_items, const char *subnet_name=NULL, const char *subnet_type=NULL)=0
 
virtual std::vector
< HOM_ElemPtr
< HOM_NetworkMovableItem > > 
extractAndDelete ()=0
 
virtual std::vector
< HOM_ElemPtr
< HOM_SubnetIndirectInput > > 
indirectInputs ()=0
 
virtual std::vector
< HOM_ElemPtr< HOM_Node > > 
subnetOutputs ()=0
 
virtual bool isSubNetwork ()=0
 
virtual void setUserData (const char *name, const std::string &value)=0
 
virtual hboost::any boostAnyUserData (const char *name)=0
 
virtual void destroyUserData (const char *name, bool must_exist=true)=0
 
virtual void clearUserDataDict ()=0
 
virtual std::map< std::string,
std::string
userDataDict ()=0
 
virtual HOM_StickyNotecreateStickyNote (const char *name=NULL)=0
 
virtual std::vector
< HOM_ElemPtr< HOM_StickyNote > > 
stickyNotes ()=0
 
virtual HOM_IterableList
< HOM_StickyNote > * 
iterStickyNotes ()=0
 
virtual HOM_StickyNotecopyStickyNote (HOM_StickyNote &sticky_note_to_copy, const char *new_name=NULL)=0
 
virtual HOM_StickyNotefindStickyNote (const char *name)=0
 
virtual std::vector
< HOM_ElemPtr< HOM_StickyNote > > 
findStickyNotes (const char *pattern)=0
 
- Public Member Functions inherited from HOM_NetworkMovableItem
 HOM_NetworkMovableItem (HOM_EnumValue &network_item_type)
 
 HOM_NetworkMovableItem (const HOM_NetworkMovableItem &src)
 
 ~HOM_NetworkMovableItem () override
 
virtual std::string name ()=0
 
virtual void setName (const char *name, bool unique_name=false)=0
 
virtual int digitsInName ()=0
 
virtual std::string path ()=0
 
virtual std::string relativePathTo (HOM_NetworkMovableItem &base_item)=0
 
virtual bool isSelected ()=0
 
virtual void setSelected (bool on, bool clear_all_selected=false, bool show_asset_if_selected=false)=0
 
virtual HOM_Color color ()=0
 
virtual void setColor (HOM_Color &color)=0
 
virtual HOM_Vector2 size ()=0
 
virtual HOM_Vector2 position ()=0
 
virtual void setPosition (const std::vector< double > &position)=0
 
virtual void move (const std::vector< double > &amount)=0
 
virtual HOM_Nodeparent ()=0
 
virtual HOM_NetworkBoxparentNetworkBox ()=0
 
virtual int64 sessionId ()=0
 
- Public Member Functions inherited from HOM_NetworkItem
 HOM_NetworkItem (HOM_EnumValue &network_item_type)
 
 HOM_NetworkItem (const HOM_NetworkItem &src)
 
virtual ~HOM_NetworkItem ()
 
HOM_EnumValuenetworkItemType ()
 

Detailed Description

Definition at line 43 of file HOM_Node.h.

Constructor & Destructor Documentation

HOM_Node::HOM_Node ( )
inline

Definition at line 46 of file HOM_Node.h.

HOM_Node::HOM_Node ( const HOM_Node node)
inline

Definition at line 49 of file HOM_Node.h.

HOM_Node::~HOM_Node ( )
inlineoverride

Definition at line 52 of file HOM_Node.h.

Member Function Documentation

int HOM_Node::__hash__ ( )
overridepure virtual

Implements HOM_NetworkMovableItem.

Implemented in HOM_OpNode.

std::string HOM_Node::__repr__ ( )
overridepure virtual

Implements HOM_NetworkMovableItem.

Implemented in HOM_OpNode, and HOM_ApexNode.

virtual std::string HOM_Node::__str__ ( )
pure virtual

Implemented in HOM_ApexNode.

virtual std::vector<HOM_ElemPtr<HOM_NetworkMovableItem> > HOM_Node::allItems ( )
pure virtual
virtual std::vector<HOM_ElemPtr<HOM_Node> > HOM_Node::allSubChildren ( bool  top_down = true,
bool  recurse_in_locked_nodes = true,
bool  sync_delayed_definition = false 
)
pure virtual
virtual std::vector<HOM_ElemPtr<HOM_NetworkMovableItem> > HOM_Node::allSubItems ( bool  top_down = true,
bool  recurse_in_locked_nodes = true,
bool  sync_delayed_definition = false 
)
pure virtual
virtual void HOM_Node::appendComment ( const char *  comment)
pure virtual
virtual hboost::any HOM_Node::boostAnyUserData ( const char *  name)
pure virtual
virtual bool HOM_Node::canCreateDigitalAsset ( )
pure virtual
virtual std::vector<HOM_ElemPtr<HOM_Node> > HOM_Node::children ( )
pure virtual
virtual HOM_NodeTypeCategory* HOM_Node::childTypeCategory ( )
pure virtual
virtual void HOM_Node::clearUserDataDict ( )
pure virtual
virtual HOM_Node* HOM_Node::collapseIntoSubnet ( const std::vector< HOM_NetworkMovableItem * > &  child_items,
const char *  subnet_name = NULL,
const char *  subnet_type = NULL 
)
pure virtual
virtual std::string HOM_Node::comment ( )
pure virtual
virtual std::vector<HOM_ElemPtr<HOM_NetworkMovableItem> > HOM_Node::copyItems ( const std::vector< HOM_NetworkMovableItem * > &  items,
bool  channel_reference_originals = false,
bool  relative_references = true,
bool  connect_outputs_to_multi_inputs = false 
)
pure virtual
virtual void HOM_Node::copyItemsToClipboard ( const std::vector< HOM_NetworkMovableItem * > &  items = std::vector< HOM_NetworkMovableItem * >())
pure virtual
virtual HOM_NetworkBox* HOM_Node::copyNetworkBox ( HOM_NetworkBox network_box_to_copy,
const char *  new_name = NULL,
bool  channel_reference_original = false 
)
pure virtual
virtual HOM_StickyNote* HOM_Node::copyStickyNote ( HOM_StickyNote sticky_note_to_copy,
const char *  new_name = NULL 
)
pure virtual
virtual HOM_NetworkBox* HOM_Node::createNetworkBox ( const char *  name = NULL)
pure virtual
virtual HOM_NetworkDot* HOM_Node::createNetworkDot ( )
pure virtual
virtual HOM_Node* HOM_Node::createNode ( const char *  node_type_name,
const char *  node_name = NULL,
bool  run_init_scripts = true,
bool  load_contents = true,
bool  exact_type_name = false,
bool  force_valid_node_name = false 
)
pure virtual
virtual HOM_StickyNote* HOM_Node::createStickyNote ( const char *  name = NULL)
pure virtual
virtual HOM_Node* HOM_Node::creator ( )
pure virtual
virtual void HOM_Node::deleteItems ( const std::vector< HOM_NetworkMovableItem * > &  items = std::vector< HOM_NetworkMovableItem * >(),
bool  disable_safety_checks = false 
)
pure virtual
virtual void HOM_Node::destroy ( bool  disable_safety_checks = false)
pure virtual
virtual void HOM_Node::destroyUserData ( const char *  name,
bool  must_exist = true 
)
pure virtual
virtual std::string HOM_Node::editableInputString ( int  input_index,
const char *  key 
)
pure virtual
virtual std::map<std::string, std::string> HOM_Node::editableInputStrings ( int  input_index)
pure virtual
virtual std::vector<std::string> HOM_Node::errors ( )
pure virtual
virtual std::vector<HOM_ElemPtr<HOM_NetworkMovableItem> > HOM_Node::extractAndDelete ( )
pure virtual
virtual HOM_NetworkBox* HOM_Node::findNetworkBox ( const char *  name)
pure virtual
virtual std::vector<HOM_ElemPtr<HOM_NetworkBox> > HOM_Node::findNetworkBoxes ( const char *  pattern)
pure virtual
virtual HOM_StickyNote* HOM_Node::findStickyNote ( const char *  name)
pure virtual
virtual std::vector<HOM_ElemPtr<HOM_StickyNote> > HOM_Node::findStickyNotes ( const char *  pattern)
pure virtual
virtual std::vector<HOM_ElemPtr<HOM_Node> > HOM_Node::glob ( const char *  pattern,
bool  ignore_case = false 
)
pure virtual
virtual void HOM_Node::hide ( bool  on)
pure virtual
virtual std::vector<HOM_ElemPtr<HOM_SubnetIndirectInput> > HOM_Node::indirectInputs ( )
pure virtual
virtual HOM_Node* HOM_Node::input ( int  input_index)
pure virtual
virtual std::vector<HOM_ElemPtr<HOM_Node> > HOM_Node::inputAncestors ( bool  include_ref_inputs = true,
bool  follow_subnets = false,
bool  only_used_inputs = false 
)
pure virtual
virtual std::vector<HOM_ElemPtr<HOM_NodeConnection> > HOM_Node::inputConnections ( )
pure virtual
virtual HOM_IterableList<std::vector<HOM_ElemPtr<HOM_NodeConnection> > >* HOM_Node::inputConnectors ( )
pure virtual
virtual HOM_Node* HOM_Node::inputFollowingOutputs ( int  input_index)
pure virtual
virtual int HOM_Node::inputIndex ( const char *  input_name)
pure virtual
virtual std::vector<std::string> HOM_Node::inputLabels ( )
pure virtual
virtual std::vector<std::string> HOM_Node::inputNames ( )
pure virtual
virtual std::vector<HOM_ElemPtr<HOM_Node> > HOM_Node::inputs ( )
pure virtual
virtual void HOM_Node::insertInput ( int  input_index,
HOM_NetworkMovableItem item_to_become_input,
int  output_index = 0 
)
pure virtual
virtual bool HOM_Node::isCurrent ( )
pure virtual
virtual bool HOM_Node::isDisplayDescriptiveNameFlagSet ( )
pure virtual
virtual bool HOM_Node::isEditable ( )
pure virtual
virtual bool HOM_Node::isFlagReadable ( HOM_EnumValue flag)
pure virtual
virtual bool HOM_Node::isFlagWritable ( HOM_EnumValue flag)
pure virtual
virtual bool HOM_Node::isGenericFlagSet ( HOM_EnumValue flag)
pure virtual
virtual bool HOM_Node::isHidden ( )
pure virtual
virtual bool HOM_Node::isNetwork ( )
pure virtual
virtual bool HOM_Node::isSubNetwork ( )
pure virtual
virtual HOM_NetworkMovableItem* HOM_Node::item ( const char *  item_path)
pure virtual
virtual std::vector<HOM_ElemPtr<HOM_NetworkMovableItem> > HOM_Node::items ( const std::vector< std::string > &  item_paths)
pure virtual
virtual HOM_IterableList<HOM_NetworkBox>* HOM_Node::iterNetworkBoxes ( )
pure virtual
virtual HOM_IterableList<HOM_StickyNote>* HOM_Node::iterStickyNotes ( )
pure virtual
virtual void HOM_Node::layoutChildren ( const std::vector< HOM_NetworkMovableItem * > &  items = std::vector< HOM_NetworkMovableItem * >(),
double  horizontal_spacing = -1,
double  vertical_spacing = -1 
)
pure virtual
virtual std::vector<std::string> HOM_Node::messages ( )
pure virtual
virtual HOM_Vector2* HOM_Node::moveToGoodPosition ( bool  relative_to_inputs = true,
bool  move_inputs = true,
bool  move_outputs = true,
bool  move_unconnected = true 
)
pure virtual
virtual std::vector<HOM_ElemPtr<HOM_NetworkBox> > HOM_Node::networkBoxes ( )
pure virtual
virtual std::vector<HOM_ElemPtr<HOM_NetworkDot> > HOM_Node::networkDots ( )
pure virtual
virtual HOM_Node* HOM_Node::node ( const char *  node_path)
pure virtual
virtual std::vector<HOM_ElemPtr<HOM_Node> > HOM_Node::nodes ( const std::vector< std::string > &  node_paths)
pure virtual
virtual int HOM_Node::numItems ( HOM_EnumValue item_type = NULL,
bool  selected_only = false,
bool  include_hidden = false 
)
pure virtual
virtual int HOM_Node::numOrderedInputs ( )
pure virtual
virtual bool HOM_Node::operator!= ( HOM_PtrOrNull< HOM_Node node)
pure virtual
virtual bool HOM_Node::operator== ( HOM_PtrOrNull< HOM_Node node)
pure virtual
virtual std::vector<HOM_ElemPtr<HOM_NodeConnection> > HOM_Node::outputConnections ( )
pure virtual
virtual HOM_IterableList<std::vector<HOM_ElemPtr<HOM_NodeConnection> > >* HOM_Node::outputConnectors ( )
pure virtual
virtual int HOM_Node::outputIndex ( const char *  output_name)
pure virtual
virtual std::vector<std::string> HOM_Node::outputLabels ( )
pure virtual
virtual std::vector<std::string> HOM_Node::outputNames ( )
pure virtual
virtual std::vector<HOM_ElemPtr<HOM_Node> > HOM_Node::outputs ( )
pure virtual
virtual void HOM_Node::pasteItemsFromClipboard ( HOM_Vector2 position = NULL)
pure virtual
virtual std::vector<HOM_ElemPtr<HOM_Node> > HOM_Node::recursiveGlob ( const char *  pattern,
HOM_EnumValue filter = HOM_nodeTypeFilter::NoFilter,
bool  include_subnets = true 
)
pure virtual
virtual std::vector<HOM_ElemPtr<HOM_Node> > HOM_Node::selectedChildren ( bool  include_hidden = false,
bool  include_hidden_support_nodes = false 
)
pure virtual
virtual std::vector<HOM_ElemPtr<HOM_NetworkMovableItem> > HOM_Node::selectedItems ( bool  include_hidden = false,
bool  include_hidden_support_nodes = false 
)
pure virtual
virtual void HOM_Node::setComment ( const char *  comment)
pure virtual
virtual void HOM_Node::setCurrent ( bool  on,
bool  clear_all_selected = false 
)
pure virtual
virtual void HOM_Node::setDisplayDescriptiveNameFlag ( bool  on)
pure virtual
virtual void HOM_Node::setEditableInputString ( int  input_index,
const char *  key,
const char *  value 
)
pure virtual
virtual void HOM_Node::setFirstInput ( HOM_NetworkMovableItem item_to_become_input,
int  output_index = 0 
)
pure virtual
virtual void HOM_Node::setGenericFlag ( HOM_EnumValue flag,
bool  value 
)
pure virtual
virtual void HOM_Node::setInput ( int  input_index,
HOM_NetworkMovableItem item_to_become_input,
int  output_index = 0 
)
pure virtual
virtual void HOM_Node::setNamedInput ( const char *  input_name,
HOM_NetworkMovableItem item_to_become_input,
const char *  output_name 
)
pure virtual
virtual void HOM_Node::setNamedInput ( const char *  input_name,
HOM_NetworkMovableItem item_to_become_input,
int  output_index 
)
pure virtual
virtual void HOM_Node::setNextInput ( HOM_NetworkMovableItem item_to_become_input,
int  output_index = 0,
bool  unordered_only = false 
)
pure virtual
virtual void HOM_Node::setUserData ( const char *  name,
const std::string value 
)
pure virtual
virtual std::vector<HOM_ElemPtr<HOM_StickyNote> > HOM_Node::stickyNotes ( )
pure virtual
virtual std::vector<HOM_ElemPtr<HOM_Node> > HOM_Node::subnetOutputs ( )
pure virtual
HOM_Node::SWIGOUT ( %kwargs  layoutChildren)
virtual HOM_NodeType* HOM_Node::type ( )
pure virtual
virtual std::map<std::string, std::string> HOM_Node::userDataDict ( )
pure virtual
virtual std::vector<std::string> HOM_Node::warnings ( )
pure virtual

The documentation for this class was generated from the following file: