|
enum | { Type = static_cast<int>(UserType) + static_cast<int>(LinkGraphicsType)
} |
|
|
| LinkGraphicsItem (ivec3 color=ivec3(0xbd, 0xcd, 0xd5)) |
|
virtual QPointF | getStartPoint () const =0 |
|
virtual QPointF | getEndPoint () const =0 |
|
virtual QPointF | getStartDir () const =0 |
|
virtual QPointF | getEndDir () const =0 |
|
virtual void | updateShape () |
|
void | paint (QPainter *p, const QStyleOptionGraphicsItem *options, QWidget *widget) |
|
virtual QRectF | boundingRect () const |
|
virtual QPainterPath | shape () const |
|
int | type () const |
|
| EditorGraphicsItem (QGraphicsItem *parent) |
|
| EditorGraphicsItem (const EditorGraphicsItem &)=delete |
|
| EditorGraphicsItem (EditorGraphicsItem &&)=delete |
|
EditorGraphicsItem & | operator= (const EditorGraphicsItem &)=delete |
|
EditorGraphicsItem & | operator= (EditorGraphicsItem &&)=delete |
|
QPoint | mapPosToSceen (QPointF pos) const |
|
virtual void | showToolTip (QGraphicsSceneHelpEvent *event) |
|
void | showPortInfo (QGraphicsSceneHelpEvent *e, Port *port) const |
|
|
virtual QPainterPath | obtainCurvePath () const |
|
void | showToolTipHelper (QGraphicsSceneHelpEvent *event, QString string) const |
|
NetworkEditor * | getNetworkEditor () const |
|
|
QColor | color_ |
|
QPainterPath | path_ |
|
QRectF | rect_ |
|
◆ paint()
void inviwo::LinkGraphicsItem::paint |
( |
QPainter * | p, |
|
|
const QStyleOptionGraphicsItem * | options, |
|
|
QWidget * | widget ) |
Overloaded paint method from QGraphicsItem. Here the actual representation is drawn.
The documentation for this class was generated from the following file: