Vuo
0.4.1
|
A published input or output port.
Public Member Functions | |
VuoRendererPublishedPort (VuoPublishedPort *basePublishedPort) | |
Creates a published input or output port. | |
QRectF | boundingRect (void) const |
Returns a rectangle containing the rendered published port. | |
void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) |
Draws the published port on painter . | |
bool | canAccommodateInternalPort (VuoRendererPort *internalPort) |
Returns a boolean indicating whether a new internalPort may be attached to/from this externally visible published port without displacing any currently connected internal data ports. | |
bool | isCompatibleAliasForInternalPort (VuoRendererPort *port) |
Returns a boolean indicating whether there may be a cable attached directly between this externally visible published port and the input internalPort , taking into account the respective port types (input vs. | |
bool | canBeMergedWith (VuoPublishedPort *otherExternalPort) |
Returns a boolean indicating whether the otherExternalPort may be merged with this one, taking into account the respective port types (input vs. | |
QPointF | getGlobalPos (void) const |
Returns the location of the published port within the published port sidebar, in global coordinates. | |
void | setGlobalPos (QPointF pos) |
Sets the location of the published port within the published port sidebar, in global coordinates. | |
![]() | |
VuoBaseDetail (string description, VuoPublishedPort *base) | |
Creates a VuoPublishedPort detail class. | |
VuoPublishedPort * | getBase (void) const |
Returns the VuoPublishedPort detail class instance's base class instance. | |
void | setBase (VuoPublishedPort *base) |
Sets the VuoPublishedPort detail class instance's base class instance. | |
Additional Inherited Members | |
![]() | |
static void | setDrawBoundingRects (bool drawBoundingRects) |
Specifies whether bounding rects will be shown the next time the QGraphicsScene is rendered. | |
static void | drawRect (QPainter *painter, QRectF rect) |
Draws a rect, for debugging. | |
![]() | |
void | drawBoundingRect (QPainter *painter) |
Draws this item's bounding rect, for debugging. | |
VuoRendererPublishedPort::VuoRendererPublishedPort | ( | VuoPublishedPort * | basePublishedPort | ) |
Creates a published input or output port.
basePublishedPort | The base for which this renderer detail is to be created. |
bool VuoRendererPublishedPort::canBeMergedWith | ( | VuoPublishedPort * | otherExternalPort | ) |
Returns a boolean indicating whether the otherExternalPort
may be merged with this one, taking into account the respective port types (input vs.
output; event-only vs. event+data; respective data types), without displacing any currently connected internal data ports.
bool VuoRendererPublishedPort::isCompatibleAliasForInternalPort | ( | VuoRendererPort * | internalPort | ) |
Returns a boolean indicating whether there may be a cable attached directly between this externally visible published port and the input internalPort
, taking into account the respective port types (input vs.
output; event-only vs. event+data; respective data types).