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

Public Types

enum  { Type = static_cast<int>(UserType) + static_cast<int>(ProcessorInportGraphicsType) }
 

Public Member Functions

 ProcessorInportGraphicsItem (ProcessorGraphicsItem *parent, const QPointF &pos, Inport *port)
 
InportgetPort ()
 
virtual int type () const override
 
virtual void showToolTip (QGraphicsSceneHelpEvent *e) override
 
- Public Member Functions inherited from inviwo::ProcessorPortGraphicsItem
 ProcessorPortGraphicsItem (ProcessorGraphicsItem *parent, const QPointF &pos, bool up, Port *port)
 
void addConnection (ConnectionGraphicsItem *connection)
 
void removeConnection (ConnectionGraphicsItem *connection)
 
std::vector< ConnectionGraphicsItem * > & getConnections ()
 
ProcessorGraphicsItemgetProcessor ()
 
- 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
 
void showPortInfo (QGraphicsSceneHelpEvent *e, Port *port) const
 

Protected Member Functions

virtual void paint (QPainter *p, const QStyleOptionGraphicsItem *options, QWidget *widget) override
 
virtual void mousePressEvent (QGraphicsSceneMouseEvent *e) override
 
virtual void updateConnectionPositions () override
 
- Protected Member Functions inherited from inviwo::ProcessorPortGraphicsItem
virtual QVariant itemChange (GraphicsItemChange change, const QVariant &value) override
 
- Protected Member Functions inherited from inviwo::EditorGraphicsItem
void showToolTipHelper (QGraphicsSceneHelpEvent *event, QString string) const
 
NetworkEditorgetNetworkEditor () const
 

Protected Attributes

Inportinport_
 
- Protected Attributes inherited from inviwo::ProcessorPortGraphicsItem
std::vector< ConnectionGraphicsItem * > connections_
 
ProcessorGraphicsItemprocessor_
 
ProcessorPortConnectionIndicatorconnectionIndicator_
 
float size_
 
float lineWidth_
 

Member Function Documentation

◆ showToolTip()

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

◆ updateConnectionPositions()

virtual void inviwo::ProcessorInportGraphicsItem::updateConnectionPositions ( )
overrideprotectedvirtual

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