Inviwo  0.9.10.1
Inviwo documentation
inviwo::LinkConnectionDragGraphicsItem Class Reference
+ Inheritance diagram for inviwo::LinkConnectionDragGraphicsItem:

Public Types

enum  { Type = UserType + LinkConnectionDragGraphicsType }
 
- Public Types inherited from inviwo::LinkGraphicsItem
enum  { Type = UserType + LinkGraphicsType }
 

Public Member Functions

 LinkConnectionDragGraphicsItem (ProcessorLinkGraphicsItem *outLink, QPointF endPos)
 
virtual QPointF getStartPoint () const override
 
virtual QPointF getEndPoint () const override
 
virtual QPointF getStartDir () const override
 
virtual QPointF getEndDir () const override
 
virtual void setEndPoint (QPointF endPoint)
 
virtual void setEndPoint (QPointF endPointLeft, QPointF endPointRight)
 
void reactToProcessorHover (ProcessorGraphicsItem *processor)
 
virtual ProcessorLinkGraphicsItemgetSrcProcessorLinkGraphicsItem () const
 
virtual ProcessorGraphicsItemgetSrcProcessorGraphicsItem () const
 
virtual int type () const override
 
- 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
 
virtual void showToolTip (QGraphicsSceneHelpEvent *event)
 
void showPortInfo (QGraphicsSceneHelpEvent *e, Port *port) const
 

Static Protected Member Functions

static QPointF compare (const QPointF startLeft, const QPointF &startRight, const QPointF &endLeft, const QPointF &endRight, const QPointF &left, const QPointF &center, const QPointF &right)
 

Protected Attributes

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
 

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