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

Public Member Functions

 CanvasProcessorWidgetQt (Processor *p)
 
virtual void setVisible (bool visible) override
 
virtual void show () override
 
virtual void hide () override
 
virtual void setPosition (ivec2 pos) override
 
virtual void setDimensions (ivec2 dimensions) override
 
virtual CanvasgetCanvas () const override
 
virtual void onProcessorDisplayNameChanged (Processor *, const std::string &) override
 
- Public Member Functions inherited from inviwo::CanvasProcessorWidget
 CanvasProcessorWidget (Processor *p)
 
- Public Member Functions inherited from inviwo::ProcessorWidget
 ProcessorWidget (Processor *p)
 
virtual ProcessorgetProcessor () const
 
virtual bool isVisible () const
 
virtual glm::ivec2 getDimensions () const
 
virtual glm::ivec2 getPosition () const
 
- Public Member Functions inherited from inviwo::ProcessorWidgetObservable
void notifyObserversAboutShow (ProcessorWidget *p)
 
void notifyObserversAboutHide (ProcessorWidget *p)
 
- Public Member Functions inherited from inviwo::Observable< ProcessorWidgetObserver >
 Observable (const Observable< ProcessorWidgetObserver > &other)
 
 Observable (Observable< ProcessorWidgetObserver > &&other)
 
Observable< ProcessorWidgetObserver > & operator= (const Observable< ProcessorWidgetObserver > &other)
 
Observable< ProcessorWidgetObserver > & operator= (Observable< ProcessorWidgetObserver > &&other)
 
void addObserver (ProcessorWidgetObserver *observer)
 
void removeObserver (ProcessorWidgetObserver *observer)
 
virtual void startBlockingNotifications () override final
 
virtual void stopBlockingNotifications () override final
 
- Public Member Functions inherited from inviwo::Observer
 Observer (const Observer &other)
 
 Observer (Observer &&other)
 
Observeroperator= (Observer &&other)
 
Observeroperator= (const Observer &other)
 
virtual ~Observer ()
 
void removeObservation (ObservableInterface *observable)
 
void removeObservations ()
 
- Public Member Functions inherited from inviwo::ProcessorNetworkObserver
virtual void onProcessorNetworkChange ()
 
virtual void onProcessorNetworkEvaluateRequest ()
 
virtual void onProcessorNetworkUnlocked ()
 
virtual void onProcessorNetworkWillAddProcessor (Processor *)
 
virtual void onProcessorNetworkDidAddProcessor (Processor *)
 
virtual void onProcessorNetworkWillRemoveProcessor (Processor *)
 
virtual void onProcessorNetworkDidRemoveProcessor (Processor *)
 
virtual void onProcessorNetworkWillAddConnection (const PortConnection &)
 
virtual void onProcessorNetworkWillRemoveConnection (const PortConnection &)
 
virtual void onProcessorNetworkWillAddLink (const PropertyLink &)
 
virtual void onProcessorNetworkDidAddLink (const PropertyLink &)
 
virtual void onProcessorNetworkWillRemoveLink (const PropertyLink &)
 
virtual void onProcessorNetworkDidRemoveLink (const PropertyLink &)
 
- Public Member Functions inherited from inviwo::ProcessorObserver
virtual void onAboutPropertyChange (Property *)
 
virtual void onProcessorInvalidationBegin (Processor *)
 
virtual void onProcessorInvalidationEnd (Processor *)
 
virtual void onProcessorIdentifierChanged (Processor *, const std::string &)
 
virtual void onProcessorPortAdded (Processor *, Port *)
 
virtual void onProcessorPortRemoved (Processor *, Port *)
 
virtual void onProcessorAboutToProcess (Processor *)
 
virtual void onProcessorFinishedProcess (Processor *)
 
virtual void onProcessorSourceChanged (Processor *)
 
virtual void onProcessorSinkChanged (Processor *)
 
virtual void onProcessorReadyChanged (Processor *)
 

Protected Member Functions

virtual void updateVisible (bool visible) override
 
virtual void updateDimensions (ivec2) override
 
virtual void updatePosition (ivec2) override
 
virtual void resizeEvent (QResizeEvent *) override
 
virtual void closeEvent (QCloseEvent *) override
 
virtual void showEvent (QShowEvent *) override
 
virtual void hideEvent (QHideEvent *) override
 
virtual void moveEvent (QMoveEvent *) override
 
- Protected Member Functions inherited from inviwo::ProcessorWidget
virtual void onProcessorWidgetPositionChange (ProcessorWidgetMetaData *) override
 
virtual void onProcessorWidgetDimensionChange (ProcessorWidgetMetaData *) override
 
virtual void onProcessorWidgetVisibilityChange (ProcessorWidgetMetaData *) override
 
- Protected Member Functions inherited from inviwo::Observable< ProcessorWidgetObserver >
void forEachObserver (C callback)
 
- Protected Member Functions inherited from inviwo::ObservableInterface
void addObservationHelper (Observer *observer)
 
void removeObservationHelper (Observer *observer)
 
- Protected Member Functions inherited from inviwo::Observer
void addObservation (ObservableInterface *observable)
 

Additional Inherited Members

- Public Attributes inherited from inviwo::ProcessorNetworkObserver
friend ProcessorNetworkObservable
 
- Public Attributes inherited from inviwo::ProcessorObserver
friend ProcessorObservable
 
- Protected Types inherited from inviwo::Observer
using ObservableSet = std::unordered_set< ObservableInterface * >
 
- Protected Attributes inherited from inviwo::ProcessorWidget
Processorprocessor_
 
ProcessorWidgetMetaDatametaData_
 
- Protected Attributes inherited from inviwo::Observer
ObservableSet observables_
 

Member Function Documentation

◆ onProcessorDisplayNameChanged()

void inviwo::CanvasProcessorWidgetQt::onProcessorDisplayNameChanged ( Processor ,
const std::string &   
)
overridevirtual

Called after the displayName has been changed.

Reimplemented from inviwo::ProcessorObserver.

◆ setVisible()

void inviwo::CanvasProcessorWidgetQt::setVisible ( bool  visible)
overridevirtual

Show or hide window. Calls onProcessorWidgetVisibilityChange if state changed. Calls notifyObserversAboutShow if visible = true and then invalidates processor. Calls notifyObserversAboutHide if visible = false.

Reimplemented from inviwo::ProcessorWidget.


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