Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
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 glm::ivec2 getDimensions () const
 
virtual void setDimensions (ivec2)
 
virtual glm::ivec2 getPosition () const
 
virtual void setPosition (ivec2)
 
virtual bool isFullScreen () const
 
virtual void setFullScreen (bool fullscreen)
 
virtual bool isOnTop () const
 
virtual void setOnTop (bool onTop)
 
- 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 &)
 
virtual void onProcessorBackgroundJobsChanged (Processor *, int, int)
 

Protected Member Functions

virtual void propagateResizeEvent ()=0
 
- 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 updateFullScreen (bool)=0
 
virtual void updateOnTop (bool)=0
 
- Protected Member Functions inherited from inviwo::ProcessorWidgetMetaDataObserver
- Protected Member Functions inherited from inviwo::Observer
void addObservation (ObservableInterface *observable)
 

Additional Inherited Members

- Public Attributes inherited from inviwo::ProcessorNetworkObserver
friend ProcessorNetworkObservable
 
- Protected Attributes inherited from inviwo::Observer
std::unordered_set< ObservableInterface * > 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

Member Function Documentation

◆ propagateResizeEvent()

virtual void inviwo::CanvasProcessorWidget::propagateResizeEvent ( )
protectedpure virtual

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