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

#include <HOM_NetworkEditor.h>

+ Inheritance diagram for HOM_NetworkEditor:

Public Member Functions

 HOM_NetworkEditor ()
 
 HOM_NetworkEditor (const HOM_NetworkEditor &pane)
 
virtual ~HOM_NetworkEditor ()
 
 SWIGOUT (virtual std::string __repr__()=0)
 
virtual bool isShowingConnectors ()=0
 
virtual bool isPosInside (const HOM_Vector2 &pos)=0
 
virtual void setCursorPosition (const HOM_Vector2 &pos)=0
 
virtual HOM_Vector2 cursorPosition (bool confine_to_view=true)=0
 
virtual HOM_BoundingRect screenBounds ()=0
 
virtual HOM_BoundingRect visibleBounds ()=0
 
virtual void setVisibleBounds (const HOM_BoundingRect &bounds, float transition_time=0.0, float max_scale=0.0, bool set_center_when_scale_rejected=false)=0
 
virtual void setLocatingEnabled (bool enabled)=0
 
virtual bool locatingEnabled ()=0
 
virtual float lengthToScreen (float len)=0
 
virtual float lengthFromScreen (float len)=0
 
virtual HOM_Vector2 sizeToScreen (const HOM_Vector2 &size)=0
 
virtual HOM_Vector2 sizeFromScreen (const HOM_Vector2 &size)=0
 
virtual HOM_Vector2 posToScreen (const HOM_Vector2 &pos)=0
 
virtual HOM_Vector2 posFromScreen (const HOM_Vector2 &pos)=0
 
virtual HOM_Vector2 overviewPosToScreen (const HOM_Vector2 &pos)=0
 
virtual HOM_Vector2 overviewPosFromScreen (const HOM_Vector2 &pos)=0
 
virtual bool overviewVisible ()=0
 
virtual bool overviewVisibleIfAutomatic ()=0
 
virtual std::vector< UT_Tuple
< HOM_ElemPtr< HOM_NetworkItem >
, std::string, int > > 
networkItemsInBox (const HOM_Vector2 &pos1, const HOM_Vector2 &pos2, bool for_drop=false, bool for_select=false)=0
 
virtual void setDropTargetItem (HOM_NetworkItem *item, const char *name, int index)=0
 
virtual UT_Tuple< HOM_ElemPtr
< HOM_NetworkItem >
, std::string, int
dropTargetItem ()=0
 
virtual void setDecoratedItem (HOM_NetworkItem *item, bool interactive)=0
 
virtual HOM_NetworkItemdecoratedItem ()=0
 
virtual bool decorationInteractive ()=0
 
virtual void setPreSelectedItems (const std::vector< HOM_NetworkItem * > &items)=0
 
virtual std::vector
< HOM_ElemPtr< HOM_NetworkItem > > 
preSelectedItems ()=0
 
virtual void setNetworkBoxPendingRemovals (const std::vector< HOM_NetworkMovableItem * > &items)=0
 
virtual std::vector
< HOM_ElemPtr
< HOM_NetworkMovableItem > > 
networkBoxPendingRemovals ()=0
 
virtual void setFootprints (const std::vector< HOM_NetworkFootprint > &footprints)=0
 
virtual std::vector
< HOM_NetworkFootprint
footprints ()=0
 
virtual void setCursorMap (std::map< std::pair< std::string, int >, std::string > cursors)=0
 
virtual std::map< std::pair
< std::string, int >
, std::string
cursorMap ()=0
 
virtual void setDefaultCursor (const char *cursor_name)=0
 
virtual std::string defaultCursor ()=0
 
virtual void setBackgroundImages (const std::vector< HOM_NetworkImage > &images)=0
 
virtual std::vector
< HOM_NetworkImage
backgroundImages ()=0
 
virtual HOM_BoundingRect itemRect (HOM_NetworkMovableItem *item, bool adjusted=true)=0
 
virtual HOM_Vector2 itemInputPos (HOM_NetworkMovableItem *item, int input_index, bool adjusted=true)=0
 
virtual HOM_Vector2 itemInputDir (HOM_NetworkMovableItem *item, int input_index)=0
 
virtual HOM_Vector2 itemOutputPos (HOM_NetworkMovableItem *item, int output_index, bool adjusted=true)=0
 
virtual HOM_Vector2 itemOutputDir (HOM_NetworkMovableItem *item, int output_index)=0
 
virtual std::vector< std::pair
< HOM_ElemPtr
< HOM_NetworkMovableItem >
, HOM_BoundingRect > > 
allVisibleRects (const std::vector< HOM_NetworkMovableItem * > &ignore_items, bool adjusted=true)=0
 
virtual void setAdjustments (const std::vector< HOM_NetworkItem * > &items, const std::vector< HOM_NetworkAnimValue > &adjustments, bool auto_remove=false)=0
 
virtual void setShapes (const std::vector< HOM_NetworkShape * > &shapes)=0
 
virtual void setOverlayShapes (const std::vector< HOM_NetworkShape * > &shapes)=0
 
virtual void setTooltip (const char *tooltip)=0
 
virtual std::string tooltip ()=0
 
virtual void setPrompt (const char *prompt)=0
 
virtual std::string prompt ()=0
 
virtual void flashMessage (const char *image, const char *message, float duration)=0
 
virtual void openTabMenu (const char *key=NULL, bool auto_place=false, bool branch=false, HOM_NetworkMovableItem *src_item=NULL, int src_connector_index=-1, HOM_NetworkMovableItem *dest_item=NULL, int dest_connector_index=-1, HOM_Vector2 *node_position=NULL, const std::vector< HOM_NetworkMovableItem * > &src_items=std::vector< HOM_NetworkMovableItem * >(), const std::vector< int > &src_connector_indexes=std::vector< int >(), const std::vector< HOM_NetworkMovableItem * > &dest_items=std::vector< HOM_NetworkMovableItem * >(), const std::vector< int > &dest_connector_indexes=std::vector< int >())=0
 
virtual void openNodeMenu (HOM_Node *node=NULL, const std::vector< HOM_NetworkMovableItem * > &items=std::vector< HOM_NetworkMovableItem * >())=0
 
virtual void openVopEffectsMenu (HOM_VopNode *node, int input_index)=0
 
virtual void openVopOutputInfoMenu (HOM_VopNode *node, int output_index)=0
 
virtual int openNameEditor (HOM_NetworkMovableItem *item, bool select_all=false)=0
 
virtual int openCommentEditor (HOM_NetworkMovableItem *item, bool select_all=false)=0
 
virtual int openNoteEditor (HOM_StickyNote *stickynote, bool select_all=false)=0
 
virtual void closeTextEditor (int id, bool apply_changes=true)=0
 
virtual int scheduleTimerEvent (float seconds)=0
 
virtual void handleCurrentKeyboardEvent (bool resend=false)=0
 
virtual void setVolatileKeys (const std::vector< std::string > &keys)=0
 
virtual bool isVolatileKeyDown (const char *key)=0
 
virtual void setPref (const char *pref, const char *value)=0
 
virtual std::string getPref (const char *pref)=0
 
virtual void setPrefs (const std::map< std::string, std::string > &prefs)=0
 
virtual std::map< std::string,
std::string
getPrefs ()=0
 
virtual void registerPref (const char *pref, const char *value, bool global)=0
 
virtual std::vector
< std::vector< std::string > > 
badges ()=0
 
virtual std::vector
< std::vector< std::string > > 
textBadges ()=0
 
virtual std::vector< std::stringnodeShapes ()=0
 
virtual std::vector< std::stringreloadNodeShapes ()=0
 
virtual void redraw ()=0
 
virtual void setDragSourceData (const std::vector< HOM_NetworkMovableItem * > &items)=0
 
 SWIGOUT (%ignore pushOpaqueEventContext)
 
virtual void pushOpaqueEventContext (const char *module, void *data)=0
 
virtual void popEventContext ()=0
 
 SWIGOUT (%ignore opaqueEventContextData)
 
virtual voidopaqueEventContextData ()=0
 
- Public Member Functions inherited from HOM_PathBasedPaneTab
 HOM_PathBasedPaneTab ()
 
 HOM_PathBasedPaneTab (const HOM_PathBasedPaneTab &pane)
 
virtual ~HOM_PathBasedPaneTab ()
 
virtual HOM_Nodepwd ()=0
 
virtual void setPwd (HOM_Node &node)=0
 
virtual void cd (const char *path)=0
 
virtual HOM_NodecurrentNode ()=0
 
virtual void setCurrentNode (HOM_Node &node, bool pick_node=true)=0
 
- Public Member Functions inherited from HOM_PaneTab
 HOM_PaneTab ()
 
 HOM_PaneTab (const HOM_PaneTab &)
 
virtual ~HOM_PaneTab ()
 
virtual bool operator== (HOM_PtrOrNull< HOM_PaneTab > pane_tab)=0
 
virtual bool operator!= (HOM_PtrOrNull< HOM_PaneTab > pane_tab)=0
 
virtual int __hash__ ()=0
 
virtual std::string __repr__ ()=0
 
virtual HOM_Panepane ()=0
 
virtual HOM_FloatingPanelfloatingPanel ()=0
 
virtual std::string name ()=0
 
virtual void setName (const char *name)=0
 
virtual bool isCurrentTab ()=0
 
virtual void setIsCurrentTab ()=0
 
virtual bool isFloating ()=0
 
virtual HOM_PaneTabclone ()=0
 
virtual void close ()=0
 
virtual HOM_EnumValuetype ()=0
 
virtual HOM_PaneTabsetType (HOM_EnumValue &type)=0
 
virtual HOM_EnumValuelinkGroup ()=0
 
virtual void setLinkGroup (HOM_EnumValue &group)=0
 
virtual bool isPin ()=0
 
virtual void setPin (bool pin)=0
 
virtual std::vector< std::string_getValueNames ()=0
 
virtual std::string _getValue (const char *name)=0
 
virtual bool _setValue (const char *name, const char *value)=0
 
virtual bool _pressButton (const char *name)=0
 
virtual std::vector< intsize ()=0
 
virtual std::vector< intcontentSize ()=0
 

Detailed Description

Definition at line 31 of file HOM_NetworkEditor.h.

Constructor & Destructor Documentation

HOM_NetworkEditor::HOM_NetworkEditor ( )
inline

Definition at line 34 of file HOM_NetworkEditor.h.

HOM_NetworkEditor::HOM_NetworkEditor ( const HOM_NetworkEditor pane)
inline

Definition at line 39 of file HOM_NetworkEditor.h.

virtual HOM_NetworkEditor::~HOM_NetworkEditor ( )
inlinevirtual

Definition at line 43 of file HOM_NetworkEditor.h.

Member Function Documentation

virtual std::vector<std::pair<HOM_ElemPtr<HOM_NetworkMovableItem>, HOM_BoundingRect> > HOM_NetworkEditor::allVisibleRects ( const std::vector< HOM_NetworkMovableItem * > &  ignore_items,
bool  adjusted = true 
)
pure virtual
virtual std::vector<HOM_NetworkImage> HOM_NetworkEditor::backgroundImages ( )
pure virtual
virtual std::vector<std::vector<std::string> > HOM_NetworkEditor::badges ( )
pure virtual
virtual void HOM_NetworkEditor::closeTextEditor ( int  id,
bool  apply_changes = true 
)
pure virtual
virtual std::map<std::pair<std::string, int>, std::string> HOM_NetworkEditor::cursorMap ( )
pure virtual
virtual HOM_Vector2 HOM_NetworkEditor::cursorPosition ( bool  confine_to_view = true)
pure virtual
virtual HOM_NetworkItem* HOM_NetworkEditor::decoratedItem ( )
pure virtual
virtual bool HOM_NetworkEditor::decorationInteractive ( )
pure virtual
virtual std::string HOM_NetworkEditor::defaultCursor ( )
pure virtual
virtual UT_Tuple<HOM_ElemPtr<HOM_NetworkItem>, std::string, int> HOM_NetworkEditor::dropTargetItem ( )
pure virtual
virtual void HOM_NetworkEditor::flashMessage ( const char *  image,
const char *  message,
float  duration 
)
pure virtual
virtual std::vector<HOM_NetworkFootprint> HOM_NetworkEditor::footprints ( )
pure virtual
virtual std::string HOM_NetworkEditor::getPref ( const char *  pref)
pure virtual
virtual std::map<std::string, std::string> HOM_NetworkEditor::getPrefs ( )
pure virtual
virtual void HOM_NetworkEditor::handleCurrentKeyboardEvent ( bool  resend = false)
pure virtual
virtual bool HOM_NetworkEditor::isPosInside ( const HOM_Vector2 pos)
pure virtual
virtual bool HOM_NetworkEditor::isShowingConnectors ( )
pure virtual
virtual bool HOM_NetworkEditor::isVolatileKeyDown ( const char *  key)
pure virtual
virtual HOM_Vector2 HOM_NetworkEditor::itemInputDir ( HOM_NetworkMovableItem item,
int  input_index 
)
pure virtual
virtual HOM_Vector2 HOM_NetworkEditor::itemInputPos ( HOM_NetworkMovableItem item,
int  input_index,
bool  adjusted = true 
)
pure virtual
virtual HOM_Vector2 HOM_NetworkEditor::itemOutputDir ( HOM_NetworkMovableItem item,
int  output_index 
)
pure virtual
virtual HOM_Vector2 HOM_NetworkEditor::itemOutputPos ( HOM_NetworkMovableItem item,
int  output_index,
bool  adjusted = true 
)
pure virtual
virtual HOM_BoundingRect HOM_NetworkEditor::itemRect ( HOM_NetworkMovableItem item,
bool  adjusted = true 
)
pure virtual
virtual float HOM_NetworkEditor::lengthFromScreen ( float  len)
pure virtual
virtual float HOM_NetworkEditor::lengthToScreen ( float  len)
pure virtual
virtual bool HOM_NetworkEditor::locatingEnabled ( )
pure virtual
virtual std::vector<HOM_ElemPtr<HOM_NetworkMovableItem> > HOM_NetworkEditor::networkBoxPendingRemovals ( )
pure virtual
virtual std::vector<UT_Tuple<HOM_ElemPtr<HOM_NetworkItem>, std::string, int> > HOM_NetworkEditor::networkItemsInBox ( const HOM_Vector2 pos1,
const HOM_Vector2 pos2,
bool  for_drop = false,
bool  for_select = false 
)
pure virtual
virtual std::vector<std::string> HOM_NetworkEditor::nodeShapes ( )
pure virtual
virtual void* HOM_NetworkEditor::opaqueEventContextData ( )
pure virtual
virtual int HOM_NetworkEditor::openCommentEditor ( HOM_NetworkMovableItem item,
bool  select_all = false 
)
pure virtual
virtual int HOM_NetworkEditor::openNameEditor ( HOM_NetworkMovableItem item,
bool  select_all = false 
)
pure virtual
virtual void HOM_NetworkEditor::openNodeMenu ( HOM_Node node = NULL,
const std::vector< HOM_NetworkMovableItem * > &  items = std::vector< HOM_NetworkMovableItem * >() 
)
pure virtual
virtual int HOM_NetworkEditor::openNoteEditor ( HOM_StickyNote stickynote,
bool  select_all = false 
)
pure virtual
virtual void HOM_NetworkEditor::openTabMenu ( const char *  key = NULL,
bool  auto_place = false,
bool  branch = false,
HOM_NetworkMovableItem src_item = NULL,
int  src_connector_index = -1,
HOM_NetworkMovableItem dest_item = NULL,
int  dest_connector_index = -1,
HOM_Vector2 node_position = NULL,
const std::vector< HOM_NetworkMovableItem * > &  src_items = std::vector< HOM_NetworkMovableItem * >(),
const std::vector< int > &  src_connector_indexes = std::vector< int >(),
const std::vector< HOM_NetworkMovableItem * > &  dest_items = std::vector< HOM_NetworkMovableItem * >(),
const std::vector< int > &  dest_connector_indexes = std::vector< int >() 
)
pure virtual
virtual void HOM_NetworkEditor::openVopEffectsMenu ( HOM_VopNode node,
int  input_index 
)
pure virtual
virtual void HOM_NetworkEditor::openVopOutputInfoMenu ( HOM_VopNode node,
int  output_index 
)
pure virtual
virtual HOM_Vector2 HOM_NetworkEditor::overviewPosFromScreen ( const HOM_Vector2 pos)
pure virtual
virtual HOM_Vector2 HOM_NetworkEditor::overviewPosToScreen ( const HOM_Vector2 pos)
pure virtual
virtual bool HOM_NetworkEditor::overviewVisible ( )
pure virtual
virtual bool HOM_NetworkEditor::overviewVisibleIfAutomatic ( )
pure virtual
virtual void HOM_NetworkEditor::popEventContext ( )
pure virtual
virtual HOM_Vector2 HOM_NetworkEditor::posFromScreen ( const HOM_Vector2 pos)
pure virtual
virtual HOM_Vector2 HOM_NetworkEditor::posToScreen ( const HOM_Vector2 pos)
pure virtual
virtual std::vector<HOM_ElemPtr<HOM_NetworkItem> > HOM_NetworkEditor::preSelectedItems ( )
pure virtual
virtual std::string HOM_NetworkEditor::prompt ( )
pure virtual
virtual void HOM_NetworkEditor::pushOpaqueEventContext ( const char *  module,
void data 
)
pure virtual
virtual void HOM_NetworkEditor::redraw ( )
pure virtual
virtual void HOM_NetworkEditor::registerPref ( const char *  pref,
const char *  value,
bool  global 
)
pure virtual
virtual std::vector<std::string> HOM_NetworkEditor::reloadNodeShapes ( )
pure virtual
virtual int HOM_NetworkEditor::scheduleTimerEvent ( float  seconds)
pure virtual
virtual HOM_BoundingRect HOM_NetworkEditor::screenBounds ( )
pure virtual
virtual void HOM_NetworkEditor::setAdjustments ( const std::vector< HOM_NetworkItem * > &  items,
const std::vector< HOM_NetworkAnimValue > &  adjustments,
bool  auto_remove = false 
)
pure virtual
virtual void HOM_NetworkEditor::setBackgroundImages ( const std::vector< HOM_NetworkImage > &  images)
pure virtual
virtual void HOM_NetworkEditor::setCursorMap ( std::map< std::pair< std::string, int >, std::string cursors)
pure virtual
virtual void HOM_NetworkEditor::setCursorPosition ( const HOM_Vector2 pos)
pure virtual
virtual void HOM_NetworkEditor::setDecoratedItem ( HOM_NetworkItem item,
bool  interactive 
)
pure virtual
virtual void HOM_NetworkEditor::setDefaultCursor ( const char *  cursor_name)
pure virtual
virtual void HOM_NetworkEditor::setDragSourceData ( const std::vector< HOM_NetworkMovableItem * > &  items)
pure virtual
virtual void HOM_NetworkEditor::setDropTargetItem ( HOM_NetworkItem item,
const char *  name,
int  index 
)
pure virtual
virtual void HOM_NetworkEditor::setFootprints ( const std::vector< HOM_NetworkFootprint > &  footprints)
pure virtual
virtual void HOM_NetworkEditor::setLocatingEnabled ( bool  enabled)
pure virtual
virtual void HOM_NetworkEditor::setNetworkBoxPendingRemovals ( const std::vector< HOM_NetworkMovableItem * > &  items)
pure virtual
virtual void HOM_NetworkEditor::setOverlayShapes ( const std::vector< HOM_NetworkShape * > &  shapes)
pure virtual
virtual void HOM_NetworkEditor::setPref ( const char *  pref,
const char *  value 
)
pure virtual
virtual void HOM_NetworkEditor::setPrefs ( const std::map< std::string, std::string > &  prefs)
pure virtual
virtual void HOM_NetworkEditor::setPreSelectedItems ( const std::vector< HOM_NetworkItem * > &  items)
pure virtual
virtual void HOM_NetworkEditor::setPrompt ( const char *  prompt)
pure virtual
virtual void HOM_NetworkEditor::setShapes ( const std::vector< HOM_NetworkShape * > &  shapes)
pure virtual
virtual void HOM_NetworkEditor::setTooltip ( const char *  tooltip)
pure virtual
virtual void HOM_NetworkEditor::setVisibleBounds ( const HOM_BoundingRect bounds,
float  transition_time = 0.0,
float  max_scale = 0.0,
bool  set_center_when_scale_rejected = false 
)
pure virtual
virtual void HOM_NetworkEditor::setVolatileKeys ( const std::vector< std::string > &  keys)
pure virtual
virtual HOM_Vector2 HOM_NetworkEditor::sizeFromScreen ( const HOM_Vector2 size)
pure virtual
virtual HOM_Vector2 HOM_NetworkEditor::sizeToScreen ( const HOM_Vector2 size)
pure virtual
HOM_NetworkEditor::SWIGOUT ( virtual std::string   __repr__() = 0)
HOM_NetworkEditor::SWIGOUT ( %ignore  pushOpaqueEventContext)
HOM_NetworkEditor::SWIGOUT ( %ignore  opaqueEventContextData)
virtual std::vector<std::vector<std::string> > HOM_NetworkEditor::textBadges ( )
pure virtual
virtual std::string HOM_NetworkEditor::tooltip ( )
pure virtual
virtual HOM_BoundingRect HOM_NetworkEditor::visibleBounds ( )
pure virtual

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