#include <OP_InputIndirect.h>

Public Member Functions | |
| OP_InputIndirect (OP_Network *net, int input_index, float x=0.0F, float y=0.0F) | |
| virtual | ~OP_InputIndirect () |
| virtual int | save (ostream &os, int bin) const |
| virtual bool | load (UT_IStream &is) |
| virtual int | setPicked (int on_off, bool propagate_parent_event=true) |
| virtual int | getPicked () const |
| virtual OP_Node * | getNode () |
| virtual void | setOwner (OP_Network *net, int input_index) |
| OP_Network * | getOwner () const |
| int | getInputIndex () const |
| virtual OP_Network * | getParentNetwork () const |
| Returns the network that is our parent. | |
| unsigned | getNOutputs () const |
| OP_Node * | getOutput (unsigned idx) const |
| void | disconnect () |
| virtual void | setXY (fpreal x, fpreal y) |
| virtual fpreal | getX () const |
| virtual fpreal | getY () const |
| virtual fpreal | getW () const |
| virtual fpreal | getH () const |
| OP_InputIndirect & | operator= (const OP_InputIndirect &from) |
| virtual OP_ItemType | getItemType () const |
| Our children should implement this and return what type of item they are. | |
| virtual const UT_String & | getItemName () const |
Protected Member Functions | |
| void | addOutput (OP_Node *) |
| void | delOutput (OP_Node *) |
| void | propagateChange (OP_EventType type, void *data=0) |
| void | propagateModification (OP_Node *by_whom, OP_EventType reason, int parm_index, OP_PropagateData &prop_data) |
| unsigned int | getUniqueId () |
| unsigned int | getUniqueId () const |
Protected Attributes | |
| OP_Network * | myOwner |
| UT_PtrArray< OP_Node * > | myOutputs |
| float | myPosX |
| float | myPosY |
| short | myInputIndex |
| short | myFlags |
Friends | |
| class | OP_Input |
| class | OP_Network |
| ostream & | operator<< (ostream &os, const OP_InputIndirect &d) |
Definition at line 43 of file OP_InputIndirect.h.
| OP_InputIndirect::OP_InputIndirect | ( | OP_Network * | net, | |
| int | input_index, | |||
| float | x = 0.0F, |
|||
| float | y = 0.0F | |||
| ) |
| virtual OP_InputIndirect::~OP_InputIndirect | ( | ) | [virtual] |
| void OP_InputIndirect::addOutput | ( | OP_Node * | ) | [protected] |
| void OP_InputIndirect::delOutput | ( | OP_Node * | ) | [protected] |
| void OP_InputIndirect::disconnect | ( | ) |
| virtual fpreal OP_InputIndirect::getH | ( | ) | const [virtual] |
Implements OP_NetworkBoxItem.
| int OP_InputIndirect::getInputIndex | ( | ) | const [inline] |
Definition at line 66 of file OP_InputIndirect.h.
| virtual const UT_String& OP_InputIndirect::getItemName | ( | ) | const [virtual] |
Note that indirect inputs don't support names at this point, so this always returns an empty string.
Implements OP_NetworkBoxItem.
| virtual OP_ItemType OP_InputIndirect::getItemType | ( | ) | const [virtual] |
Our children should implement this and return what type of item they are.
Implements OP_NetworkBoxItem.
| virtual OP_Node* OP_InputIndirect::getNode | ( | ) | [virtual] |
| unsigned OP_InputIndirect::getNOutputs | ( | ) | const [inline] |
Definition at line 75 of file OP_InputIndirect.h.
| OP_Node* OP_InputIndirect::getOutput | ( | unsigned | idx | ) | const [inline] |
Definition at line 76 of file OP_InputIndirect.h.
| OP_Network* OP_InputIndirect::getOwner | ( | ) | const [inline] |
Definition at line 65 of file OP_InputIndirect.h.
| virtual OP_Network* OP_InputIndirect::getParentNetwork | ( | ) | const [virtual] |
| virtual int OP_InputIndirect::getPicked | ( | ) | const [virtual] |
Implements OP_NetworkBoxItem.
| unsigned int OP_InputIndirect::getUniqueId | ( | ) | const [inline, protected] |
Definition at line 114 of file OP_InputIndirect.h.
| unsigned int OP_InputIndirect::getUniqueId | ( | ) | [protected] |
| virtual fpreal OP_InputIndirect::getW | ( | ) | const [virtual] |
Implements OP_NetworkBoxItem.
| virtual fpreal OP_InputIndirect::getX | ( | ) | const [inline, virtual] |
| virtual fpreal OP_InputIndirect::getY | ( | ) | const [inline, virtual] |
| virtual bool OP_InputIndirect::load | ( | UT_IStream & | is | ) | [virtual] |
| OP_InputIndirect& OP_InputIndirect::operator= | ( | const OP_InputIndirect & | from | ) |
| void OP_InputIndirect::propagateChange | ( | OP_EventType | type, | |
| void * | data = 0 | |||
| ) | [protected] |
| void OP_InputIndirect::propagateModification | ( | OP_Node * | by_whom, | |
| OP_EventType | reason, | |||
| int | parm_index, | |||
| OP_PropagateData & | prop_data | |||
| ) | [protected] |
| virtual int OP_InputIndirect::save | ( | ostream & | os, | |
| int | bin | |||
| ) | const [virtual] |
| virtual void OP_InputIndirect::setOwner | ( | OP_Network * | net, | |
| int | input_index | |||
| ) | [virtual] |
| virtual int OP_InputIndirect::setPicked | ( | int | on_off, | |
| bool | propagate_parent_event = true | |||
| ) | [virtual] |
Implements OP_NetworkBoxItem.
Get and set the position of this item. Units are absolute, as opposed to relative units found in OPUI.
Implements OP_NetworkBoxItem.
friend class OP_Input [friend] |
Definition at line 137 of file OP_InputIndirect.h.
friend class OP_Network [friend] |
Definition at line 138 of file OP_InputIndirect.h.
| ostream& operator<< | ( | ostream & | os, | |
| const OP_InputIndirect & | d | |||
| ) | [friend] |
Definition at line 132 of file OP_InputIndirect.h.
short OP_InputIndirect::myFlags [protected] |
short OP_InputIndirect::myInputIndex [protected] |
Definition at line 120 of file OP_InputIndirect.h.
UT_PtrArray<OP_Node *> OP_InputIndirect::myOutputs [protected] |
Definition at line 117 of file OP_InputIndirect.h.
OP_Network* OP_InputIndirect::myOwner [protected] |
Definition at line 116 of file OP_InputIndirect.h.
float OP_InputIndirect::myPosX [protected] |
Definition at line 118 of file OP_InputIndirect.h.
float OP_InputIndirect::myPosY [protected] |
Definition at line 119 of file OP_InputIndirect.h.
1.5.9