Inviwo  0.9.10.1
Inviwo documentation
inviwo::CanvasProcessorWidget Class Referenceabstract

A processor widget that has a canvas. CanvasProcessorWidget is the base class for all processor widgets with canvases. More...

#include <canvasprocessorwidget.h>

+ Inheritance diagram for inviwo::CanvasProcessorWidget:

Public Member Functions

 CanvasProcessorWidget (Processor *p)
 
virtual CanvasgetCanvas () const =0
 
- Public Member Functions inherited from inviwo::ProcessorWidget
 ProcessorWidget (Processor *p)
 
virtual ProcessorgetProcessor () 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)
 
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 &)
 

Additional Inherited Members

- Public Attributes inherited from inviwo::ProcessorNetworkObserver
friend ProcessorNetworkObservable
 
- Protected Types inherited from inviwo::Observer
using ObservableSet = std::unordered_set< ObservableInterface * >
 
- Protected Member Functions inherited from inviwo::ProcessorWidget
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 inherited from inviwo::ProcessorWidget
Processorprocessor_
 
ProcessorWidgetMetaDatametaData_
 
- Protected Attributes inherited from inviwo::Observer
ObservableSet observables_
 

Detailed Description

A processor widget that has a canvas. CanvasProcessorWidget is the base class for all processor widgets with canvases.

The CanvasProcessorWidget is responsible for sending ResizeEvents up the network whenever there are connections added or removed to the network to make sure that all the image ports in the network above have an up-to-date view on which image sizes to use.

See also
ResizeEvent

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