![]() |
Inviwo 0.9.12-pre
Inviwo documentation
|
Public Member Functions | |
| ProcessorGraphicsItem (Processor *processor) | |
| ProcessorGraphicsItem (const ProcessorGraphicsItem &)=delete | |
| ProcessorGraphicsItem (ProcessorGraphicsItem &&)=delete | |
| ProcessorGraphicsItem & | operator= (const ProcessorGraphicsItem &)=delete |
| ProcessorGraphicsItem & | operator= (ProcessorGraphicsItem &&)=delete |
| Processor * | getProcessor () const |
| ProcessorInportGraphicsItem * | getInportGraphicsItem (Inport *port) const |
| ProcessorOutportGraphicsItem * | getOutportGraphicsItem (Outport *port) const |
| ProcessorLinkGraphicsItem * | getLinkGraphicsItem () const |
| void | snapToGrid () |
| virtual int | type () const override |
| virtual void | showToolTip (QGraphicsSceneHelpEvent *event) override |
| void | setHighlight (bool val) |
| QPointF | portPosition (PortType type, size_t index) |
| void | adoptWidget (std::unique_ptr< QWidget > widget) |
| void | processorException (std::string_view message) |
| Public Member Functions inherited from inviwo::EditorGraphicsItem | |
| EditorGraphicsItem (QGraphicsItem *parent) | |
| EditorGraphicsItem (const EditorGraphicsItem &)=delete | |
| EditorGraphicsItem (EditorGraphicsItem &&)=delete | |
| EditorGraphicsItem & | operator= (const EditorGraphicsItem &)=delete |
| EditorGraphicsItem & | operator= (EditorGraphicsItem &&)=delete |
| QPoint | mapPosToSceen (QPointF pos) const |
| void | showPortInfo (QGraphicsSceneHelpEvent *e, Port *port) const |
| Public Member Functions inherited from inviwo::ProcessorObserver | |
| virtual void | onAboutPropertyChange (Property *) |
| virtual void | onProcessorInvalidationBegin (Processor *) |
| virtual void | onProcessorInvalidationEnd (Processor *) |
| virtual void | onProcessorSourceChanged (Processor *) |
| virtual void | onProcessorSinkChanged (Processor *) |
| virtual void | onProcessorActiveConnectionsChanged (Processor *) |
| Public Member Functions inherited from inviwo::Observer | |
| Observer (const Observer &other) | |
| Observer (Observer &&other) | |
| Observer & | operator= (Observer &&other) |
| Observer & | operator= (const Observer &other) |
| virtual | ~Observer () |
| void | removeObservation (ObservableInterface *observable) |
| void | removeObservations () |
Static Public Member Functions | |
| static QPointF | portOffset (PortType type, size_t index) |
Static Public Attributes | |
| static constexpr QSizeF | size {150.0, 50.0} |
Protected Member Functions | |
| void | setErrorText (std::string_view) |
| void | paint (QPainter *p, const QStyleOptionGraphicsItem *options, QWidget *widget) override |
| virtual QVariant | itemChange (GraphicsItemChange change, const QVariant &value) override |
| virtual void | mousePressEvent (QGraphicsSceneMouseEvent *e) override |
| virtual void | mouseReleaseEvent (QGraphicsSceneMouseEvent *e) override |
| void | updateWidgets () |
| void | addInport (Inport *port) |
| void | addOutport (Outport *port) |
| void | removeInport (Inport *port) |
| void | removeOutport (Outport *port) |
| virtual void | onProcessorReadyChanged (Processor *) override |
| virtual void | onProcessorPortAdded (Processor *, Port *) override |
| virtual void | onProcessorPortRemoved (Processor *, Port *) override |
| virtual void | onProcessorAboutToProcess (Processor *) override |
| virtual void | onProcessorFinishedProcess (Processor *) override |
| virtual void | onProcessorStartBackgroundWork (Processor *, size_t jobs) override |
| Called when a processor initiates a background computation. | |
| virtual void | onProcessorFinishBackgroundWork (Processor *, size_t jobs) override |
| Called when a processor finishes a background computation. | |
| virtual void | onProcessorMetaDataPositionChange () override |
| virtual void | onProcessorMetaDataVisibilityChange () override |
| virtual void | onProcessorMetaDataSelectionChange () override |
| virtual void | activityIndicatorChanged (bool active) override |
| virtual void | progressChanged (float) override |
| virtual void | progressBarVisibilityChanged (bool visible) override |
| virtual bool | event (QEvent *e) override |
| Protected Member Functions inherited from inviwo::EditorGraphicsItem | |
| void | showToolTipHelper (QGraphicsSceneHelpEvent *event, QString string) const |
| NetworkEditor * | getNetworkEditor () const |
| Protected Member Functions inherited from inviwo::Observer | |
| void | addObservation (ObservableInterface *observable) |
Properties | |
| QPointF | pos |
Additional Inherited Members | |
| Public Attributes inherited from inviwo::ProcessorObserver | |
| friend | ProcessorObservable |
| Protected Attributes inherited from inviwo::Observer | |
| std::unordered_set< ObservableInterface * > | observables_ |
|
overrideprotectedvirtual |
Reimplemented from inviwo::ActivityIndicatorObserver.
|
overrideprotectedvirtual |
Reimplemented from inviwo::ProcessorObserver.
|
inlineoverrideprotectedvirtual |
Called when a processor finishes a background computation.
Reimplemented from inviwo::ProcessorObserver.
|
overrideprotectedvirtual |
Reimplemented from inviwo::ProcessorObserver.
|
overrideprotectedvirtual |
Reimplemented from inviwo::ProcessorMetaDataObserver.
|
overrideprotectedvirtual |
Reimplemented from inviwo::ProcessorMetaDataObserver.
|
overrideprotectedvirtual |
Reimplemented from inviwo::ProcessorMetaDataObserver.
|
overrideprotectedvirtual |
Reimplemented from inviwo::ProcessorObserver.
|
overrideprotectedvirtual |
Reimplemented from inviwo::ProcessorObserver.
|
overrideprotectedvirtual |
Called after the processor has changed its ready state.
Reimplemented from inviwo::ProcessorObserver.
|
inlineoverrideprotectedvirtual |
Called when a processor initiates a background computation.
Reimplemented from inviwo::ProcessorObserver.
|
overrideprotectedvirtual |
This method will be called when observed object changes. Override it to add behavior.
| visibility | state that ProgressBar changed into |
Reimplemented from inviwo::ProgressBarObserver.
|
overrideprotectedvirtual |
This method will be called when observed object changes. Override it to add behavior.
| progress | New progress between [0 1] |
Reimplemented from inviwo::ProgressBarObserver.
|
overridevirtual |
Reimplemented from inviwo::EditorGraphicsItem.