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

#include <HOM_NetworkBox.h>

+ Inheritance diagram for HOM_NetworkBox:

Public Member Functions

 HOM_NetworkBox ()
 
 HOM_NetworkBox (const HOM_NetworkBox &net_box)
 
 ~HOM_NetworkBox () override
 
virtual bool operator== (HOM_PtrOrNull< HOM_NetworkBox > networkbox)=0
 
virtual bool operator!= (HOM_PtrOrNull< HOM_NetworkBox > networkbox)=0
 
int __hash__ () override=0
 
std::string __repr__ () override=0
 
virtual std::string comment ()=0
 
virtual void setComment (const char *comment)=0
 
virtual bool autoFit ()=0
 
virtual void setAutoFit (bool auto_fit)=0
 
virtual void setBounds (const HOM_BoundingRect &bounds)=0
 
virtual void setSize (const std::vector< double > &size)=0
 
virtual void resize (const std::vector< double > &amount)=0
 
virtual void fitAroundContents ()=0
 
virtual HOM_Vector2 minimizedSize ()=0
 
virtual HOM_Vector2 restoredSize ()=0
 
virtual bool isMinimized ()=0
 
virtual void setMinimized (bool on)=0
 
virtual double alpha ()=0
 
virtual void setAlpha (double alpha)=0
 
virtual std::vector
< HOM_ElemPtr< HOM_Node > > 
nodes (bool recurse=true)=0
 
virtual void addNode (HOM_Node &node)=0
 
virtual void removeNode (HOM_Node &node)=0
 
virtual void removeAllNodes ()=0
 
virtual std::vector
< HOM_ElemPtr< HOM_NetworkBox > > 
networkBoxes (bool recurse=true)=0
 
virtual void addNetworkBox (HOM_NetworkBox &networkbox)=0
 
virtual void removeNetworkBox (HOM_NetworkBox &networkbox)=0
 
virtual std::vector
< HOM_ElemPtr< HOM_StickyNote > > 
stickyNotes (bool recurse=true)=0
 
virtual void addStickyNote (HOM_StickyNote &stickynote)=0
 
virtual void removeStickyNote (HOM_StickyNote &stickynote)=0
 
virtual std::vector
< HOM_ElemPtr
< HOM_SubnetIndirectInput > > 
subnetIndirectInputs (bool recurse=true)=0
 
virtual void addSubnetIndirectInput (HOM_SubnetIndirectInput &indirect)=0
 
virtual void removeSubnetIndirectInput (HOM_SubnetIndirectInput &indirect)=0
 
virtual std::vector
< HOM_ElemPtr
< HOM_NetworkMovableItem > > 
items (bool recurse=true)=0
 
virtual void addItem (HOM_NetworkMovableItem &item)=0
 
virtual void removeItem (HOM_NetworkMovableItem &item)=0
 
virtual void removeAllItems ()=0
 
virtual void destroy (bool destroy_contents=false)=0
 
virtual std::string asCode (bool brief=false, bool recurse=false, bool save_box_contents=false, bool save_channels_only=false, bool save_creation_commands=true, bool save_keys_in_frames=false, bool save_parm_values_only=false, bool save_spare_parms=false, bool save_netbox_membership=true, const char *function_name=NULL)=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 25 of file HOM_NetworkBox.h.

Constructor & Destructor Documentation

HOM_NetworkBox::HOM_NetworkBox ( )
inline

Definition at line 28 of file HOM_NetworkBox.h.

HOM_NetworkBox::HOM_NetworkBox ( const HOM_NetworkBox net_box)
inline

Definition at line 31 of file HOM_NetworkBox.h.

HOM_NetworkBox::~HOM_NetworkBox ( )
inlineoverride

Definition at line 34 of file HOM_NetworkBox.h.

Member Function Documentation

int HOM_NetworkBox::__hash__ ( )
overridepure virtual

Implements HOM_NetworkMovableItem.

Implemented in HOM_OpNetworkBox.

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

Implements HOM_NetworkMovableItem.

Implemented in HOM_OpNetworkBox.

virtual void HOM_NetworkBox::addItem ( HOM_NetworkMovableItem item)
pure virtual
virtual void HOM_NetworkBox::addNetworkBox ( HOM_NetworkBox networkbox)
pure virtual
virtual void HOM_NetworkBox::addNode ( HOM_Node node)
pure virtual
virtual void HOM_NetworkBox::addStickyNote ( HOM_StickyNote stickynote)
pure virtual
virtual void HOM_NetworkBox::addSubnetIndirectInput ( HOM_SubnetIndirectInput indirect)
pure virtual
virtual double HOM_NetworkBox::alpha ( )
pure virtual
virtual std::string HOM_NetworkBox::asCode ( bool  brief = false,
bool  recurse = false,
bool  save_box_contents = false,
bool  save_channels_only = false,
bool  save_creation_commands = true,
bool  save_keys_in_frames = false,
bool  save_parm_values_only = false,
bool  save_spare_parms = false,
bool  save_netbox_membership = true,
const char *  function_name = NULL 
)
pure virtual
virtual bool HOM_NetworkBox::autoFit ( )
pure virtual
virtual std::string HOM_NetworkBox::comment ( )
pure virtual
virtual void HOM_NetworkBox::destroy ( bool  destroy_contents = false)
pure virtual
virtual void HOM_NetworkBox::fitAroundContents ( )
pure virtual
virtual bool HOM_NetworkBox::isMinimized ( )
pure virtual
virtual std::vector<HOM_ElemPtr<HOM_NetworkMovableItem> > HOM_NetworkBox::items ( bool  recurse = true)
pure virtual
virtual HOM_Vector2 HOM_NetworkBox::minimizedSize ( )
pure virtual
virtual std::vector<HOM_ElemPtr<HOM_NetworkBox> > HOM_NetworkBox::networkBoxes ( bool  recurse = true)
pure virtual
virtual std::vector<HOM_ElemPtr<HOM_Node> > HOM_NetworkBox::nodes ( bool  recurse = true)
pure virtual
virtual bool HOM_NetworkBox::operator!= ( HOM_PtrOrNull< HOM_NetworkBox networkbox)
pure virtual
virtual bool HOM_NetworkBox::operator== ( HOM_PtrOrNull< HOM_NetworkBox networkbox)
pure virtual
virtual void HOM_NetworkBox::removeAllItems ( )
pure virtual
virtual void HOM_NetworkBox::removeAllNodes ( )
pure virtual
virtual void HOM_NetworkBox::removeItem ( HOM_NetworkMovableItem item)
pure virtual
virtual void HOM_NetworkBox::removeNetworkBox ( HOM_NetworkBox networkbox)
pure virtual
virtual void HOM_NetworkBox::removeNode ( HOM_Node node)
pure virtual
virtual void HOM_NetworkBox::removeStickyNote ( HOM_StickyNote stickynote)
pure virtual
virtual void HOM_NetworkBox::removeSubnetIndirectInput ( HOM_SubnetIndirectInput indirect)
pure virtual
virtual void HOM_NetworkBox::resize ( const std::vector< double > &  amount)
pure virtual
virtual HOM_Vector2 HOM_NetworkBox::restoredSize ( )
pure virtual
virtual void HOM_NetworkBox::setAlpha ( double  alpha)
pure virtual
virtual void HOM_NetworkBox::setAutoFit ( bool  auto_fit)
pure virtual
virtual void HOM_NetworkBox::setBounds ( const HOM_BoundingRect bounds)
pure virtual
virtual void HOM_NetworkBox::setComment ( const char *  comment)
pure virtual
virtual void HOM_NetworkBox::setMinimized ( bool  on)
pure virtual
virtual void HOM_NetworkBox::setSize ( const std::vector< double > &  size)
pure virtual
virtual std::vector<HOM_ElemPtr<HOM_StickyNote> > HOM_NetworkBox::stickyNotes ( bool  recurse = true)
pure virtual
virtual std::vector<HOM_ElemPtr<HOM_SubnetIndirectInput> > HOM_NetworkBox::subnetIndirectInputs ( bool  recurse = true)
pure virtual

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