13 #ifndef __OP_NetworkBoxItem__ 
   14 #define __OP_NetworkBoxItem__ 
   26 #define OP_NO_OWNER_NETWORK_BOX         "__NO_OWNER_NETWORK_BOX__" 
   27 #define OP_PATH_HAS_NETPATH             (true) 
   28 #define OP_PATH_HAS_NO_NETPATH          (false) 
   29 #define OP_PATH_HAS_PACKETEXT           (true) 
   30 #define OP_PATH_HAS_NO_PACKETEXT        (false) 
   49     virtual fpreal       getX() 
const = 0;
 
   50     virtual fpreal       getY() 
const = 0;
 
   51     virtual fpreal       getW() 
const = 0;
 
   52     virtual fpreal       getH() 
const = 0;
 
   74     void                 moveToGoodPosition(
bool relativetoinputs = 
true,
 
   75                                 bool moveinputs = 
true,
 
   76                                 bool moveoutputs = 
true,
 
   77                                 bool moveunconnected = 
true);
 
   91     virtual bool         setPicked(
bool on_off, 
 
   92                                 bool propagate_parent_event = 
true) = 0;
 
   93     virtual bool         getPicked() 
const = 0;
 
   96     virtual OP_Network  *getParentNetwork() 
const = 0;
 
  104                              getPathFromParent(tmp, parent);
 
  127     virtual int64                getItemUniqueId() 
const = 0;
 
  152     void                         getConnectedItems(
 
  154                                         bool inputs, 
bool recursive,
 
  155                                         bool include_this_item) 
const;
 
  161         int64 mem = inclusive ? 
sizeof(*this) : 0;
 
  180     void                 getConnectedItemsForMove(
 
  182                                 bool inputs, 
bool recursive) 
const;
 
  188                                 bool inputs, 
bool recursive,
 
  193                                 bool inputs, 
bool recursive,
 
int64 getMemoryUsage(bool inclusive) const 
 
void copyIntoString(UT_String &str) const 
 
**But if you need a result
 
UT_Set< const OP_NetworkBoxItem * > OP_EnclosedItems
 
void getPathFromParent(UT_String &str, const OP_Node *parent) const 
 
GLint GLint GLsizei GLint GLenum GLenum type
 
static fpreal getMaxSafeY()
 
static fpreal getMaxSafeX()
The following methods return the safe extents of the position of items. 
 
GLuint const GLchar * name
 
virtual void setItemExpose(bool expose)
 
virtual bool getItemExpose() const 
 
GLfloat GLfloat GLfloat GLfloat h
 
static fpreal getMinSafeY()
 
virtual UT_Color getColor() const 
Accessors for color used in the network view. 
 
GLubyte GLubyte GLubyte GLubyte w
 
static fpreal getMinSafeX()