Represents and provides the methods for a node's in port.
The InPort is a port at the top of a node that accepts incoming connections from another node's OutPort. These are used in order to define a node-graph path between nodes and is the basis of rigging within the application.
Identify all In Ports on a Node
Connect Some Nodes
Public Member Functions | |
virtual OMC::Cable * | link (const OMC::OutPort *outPort) |
Connects this in port, to the outport of another node. More... | |
virtual void | unlink () |
Disconnects this port from another other port. More... | |
Public Attributes | |
bool | linked |
True if the port is a dynamic port. | |
bool | matte_port |
Identifies if the port is a matte port. | |
OMC::Cable * | cable |
Provide the cable connected to a port. | |
OMC::Cable * | cable_flat |
Provide the flattened, read-only cable connected to a port. Ignoring all mutli-port modules and groups. | |
OMC::Port * | source |
Get and set the source port that is connected to this port. | |
OMC::Node * | source_node |
Get and set the source node that is connected to this port. | |
OMC::Port * | source_flat |
Get the flat source port that is connected to this port. | |
OMC::Node * | source_node_flat |
Get the flat source node that is connected to this port. | |
uint | id |
The internal ID of the port. | |
QString | type |
The type of the port. | |
uint | index |
The index of the port on the node. | |
OMC::Obj | node |
The node that owns this port. | |
OMC::Obj | node_related |
The node that this port leads to for multiport nodes and groups - the owner node for most node-types, but the the multi-port node for a group, or vice versa. | |
bool | inport |
Whether the port is an inport. | |
bool | outport |
Whether the port is an outport. | |
OMC::Obj | port_related |
The port that this port relates to – itself for most node-types, but the corresponding port on the multi-port node for groups, or vice versa. | |
|
virtual |
Connects this in port, to the outport of another node.
|
virtual |
Disconnects this port from another other port.