![]() |
Enzo
|
Directional edges to connect nodes. More...
#include <GeometryConnection.h>
Public Member Functions | |
GeometryConnection (enzo::nt::OpId inputOpId, unsigned int inputOpIndex, enzo::nt::OpId outputOpId, unsigned int outputOpIndex) | |
Constructs a connection between two nodes. | |
enzo::nt::OpId | getInputOpId () const |
Returns the Operator ID of the connection input (where data flows from). | |
enzo::nt::OpId | getOutputOpId () const |
Returns the Operator ID of the connection output (where data flows to). | |
unsigned int | getInputIndex () const |
Returns the socket number of getInputOpId in which data flows from. | |
unsigned int | getOutputIndex () const |
Returns the socket number of getOutputOpId in which data flows to. | |
void | remove () |
Removes the connection from it's associated nodes. Does not delete the object. | |
Public Attributes | |
boost::signals2::signal< void()> | removed |
A signal emitted when the connection is removed. | |
Friends | |
std::ostream & | operator<< (std::ostream &os, const GeometryConnection &p) |
Provides an ostream representation of the connection, useful for debugging. | |
Directional edges to connect nodes.
Input and output are in relation to data flow.
enzo::nt::GeometryConnection::GeometryConnection | ( | enzo::nt::OpId | inputOpId, |
unsigned int | inputOpIndex, | ||
enzo::nt::OpId | outputOpId, | ||
unsigned int | outputOpIndex ) |
Constructs a connection between two nodes.
Input and output are in relation to data flow.
inputOpId | The Operator ID in which data flows from. |
outputOpId | The Operator ID in which data flows to. |
inputOpIndex | The output socket number of inputOpId in which data flows from. |
outputOpIndex | The input socket number of outputOpId in which data flows to. |