Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::LinkConnectionGraphicsItem Class Reference
+ Inheritance diagram for inviwo::LinkConnectionGraphicsItem:

Public Types

enum  { Type = static_cast<int>(UserType) + static_cast<int>(LinkConnectionGraphicsType) }
 
- Public Types inherited from inviwo::LinkConnectionDragGraphicsItem
enum  { Type = static_cast<int>(UserType) + static_cast<int>(LinkConnectionDragGraphicsType) }
 
- Public Types inherited from inviwo::LinkGraphicsItem
enum  { Type = static_cast<int>(UserType) + static_cast<int>(LinkGraphicsType) }
 

Public Member Functions

 LinkConnectionGraphicsItem (ProcessorLinkGraphicsItem *outLink, ProcessorLinkGraphicsItem *inLink)
 
virtual QPointF getStartPoint () const override
 
virtual QPointF getEndPoint () const override
 
virtual QPointF getStartDir () const override
 
virtual QPointF getEndDir () const override
 
virtual ProcessorLinkGraphicsItemgetDestProcessorLinkGraphicsItem () const
 
virtual ProcessorGraphicsItemgetDestProcessorGraphicsItem () const
 
virtual int type () const override
 
virtual void showToolTip (QGraphicsSceneHelpEvent *e) override
 
- Public Member Functions inherited from inviwo::LinkConnectionDragGraphicsItem
 LinkConnectionDragGraphicsItem (ProcessorLinkGraphicsItem *outLink, QPointF endPos)
 
virtual void setEndPoint (QPointF endPoint)
 
virtual void setEndPoint (QPointF endPointLeft, QPointF endPointRight)
 
void reactToProcessorHover (ProcessorGraphicsItem *processor)
 
virtual ProcessorLinkGraphicsItemgetSrcProcessorLinkGraphicsItem () const
 
virtual ProcessorGraphicsItemgetSrcProcessorGraphicsItem () const
 
- Public Member Functions inherited from inviwo::LinkGraphicsItem
 LinkGraphicsItem (ivec3 color=ivec3(0xbd, 0xcd, 0xd5))
 
virtual void updateShape ()
 
void paint (QPainter *p, const QStyleOptionGraphicsItem *options, QWidget *widget)
 
virtual QRectF boundingRect () const
 
virtual QPainterPath shape () const
 
int type () const
 
- Public Member Functions inherited from inviwo::EditorGraphicsItem
 EditorGraphicsItem (QGraphicsItem *parent)
 
QPoint mapPosToSceen (QPointF pos) const
 
void showPortInfo (QGraphicsSceneHelpEvent *e, Port *port) const
 

Protected Attributes

ProcessorLinkGraphicsIteminLink_
 
- Protected Attributes inherited from inviwo::LinkConnectionDragGraphicsItem
QPointF inLeft_
 
QPointF inRight_
 
ProcessorLinkGraphicsItemoutLink_
 
- Protected Attributes inherited from inviwo::LinkGraphicsItem
QColor color_
 
QPainterPath path_
 
QRectF rect_
 

Additional Inherited Members

- Protected Member Functions inherited from inviwo::LinkGraphicsItem
virtual QPainterPath obtainCurvePath () const
 
- Protected Member Functions inherited from inviwo::EditorGraphicsItem
void showToolTipHelper (QGraphicsSceneHelpEvent *event, QString string) const
 
NetworkEditorgetNetworkEditor () const
 
- Static Protected Member Functions inherited from inviwo::LinkConnectionDragGraphicsItem
static QPointF compare (const QPointF startLeft, const QPointF &startRight, const QPointF &endLeft, const QPointF &endRight, const QPointF &left, const QPointF &center, const QPointF &right)
 

Member Function Documentation

◆ getEndDir()

virtual QPointF inviwo::LinkConnectionGraphicsItem::getEndDir ( ) const
overridevirtual

◆ getEndPoint()

virtual QPointF inviwo::LinkConnectionGraphicsItem::getEndPoint ( ) const
overridevirtual

◆ getStartDir()

virtual QPointF inviwo::LinkConnectionGraphicsItem::getStartDir ( ) const
overridevirtual

◆ getStartPoint()

virtual QPointF inviwo::LinkConnectionGraphicsItem::getStartPoint ( ) const
overridevirtual

◆ showToolTip()

virtual void inviwo::LinkConnectionGraphicsItem::showToolTip ( QGraphicsSceneHelpEvent * e)
overridevirtual

Reimplemented from inviwo::EditorGraphicsItem.

◆ type()

virtual int inviwo::LinkConnectionGraphicsItem::type ( ) const
inlineoverridevirtual

The documentation for this class was generated from the following file: