Inviwo
0.9.10.1
Inviwo documentation
|
#include <processorwidget.h>
Public Member Functions | |
ProcessorWidget (Processor *p) | |
virtual Processor * | getProcessor () const |
virtual bool | isVisible () const |
virtual void | setVisible (bool visible) |
virtual void | show () |
virtual void | hide () |
virtual glm::ivec2 | getDimensions () const |
virtual void | setDimensions (ivec2) |
virtual glm::ivec2 | getPosition () const |
virtual void | setPosition (ivec2) |
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) | |
Observer & | operator= (Observer &&other) |
Observer & | operator= (const Observer &other) |
virtual | ~Observer () |
void | removeObservation (ObservableInterface *observable) |
void | removeObservations () |
Protected Member Functions | |
virtual void | updateVisible (bool visible)=0 |
virtual void | updateDimensions (ivec2)=0 |
virtual void | updatePosition (ivec2)=0 |
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) |
Protected Attributes | |
Processor * | processor_ |
ProcessorWidgetMetaData * | metaData_ |
Protected Attributes inherited from inviwo::Observer | |
ObservableSet | observables_ |
Additional Inherited Members | |
Protected Types inherited from inviwo::Observer | |
using | ObservableSet = std::unordered_set< ObservableInterface * > |
Base class for widgets connected to a Processor
|
virtual |
Show or hide window. Calls onProcessorWidgetVisibilityChange if state changed. Calls notifyObserversAboutShow if visible = true and then invalidates processor. Calls notifyObserversAboutHide if visible = false.
Reimplemented in inviwo::ProcessorDockWidgetQt, inviwo::CanvasProcessorWidgetQt, inviwo::ProcessorWidgetQt, and inviwo::CanvasProcessorWidgetGLFW.