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

Public Types

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

 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)
 
 EditorGraphicsItem (const EditorGraphicsItem &)=delete
 
 EditorGraphicsItem (EditorGraphicsItem &&)=delete
 
EditorGraphicsItemoperator= (const EditorGraphicsItem &)=delete
 
EditorGraphicsItemoperator= (EditorGraphicsItem &&)=delete
 
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
 

Member Function Documentation

◆ getEndDir()

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

◆ getEndPoint()

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

◆ getStartDir()

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

◆ getStartPoint()

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

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