Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::CanvasProcessorWidgetQt Class Reference
+ Inheritance diagram for inviwo::CanvasProcessorWidgetQt:

Public Member Functions

 CanvasProcessorWidgetQt (Processor *p)
 
virtual void setVisible (bool visible) override
 
virtual void setPosition (ivec2 pos) override
 
virtual void setDimensions (ivec2 dimensions) override
 
virtual void setFullScreen (bool fullScreen) override
 
virtual void setOnTop (bool onTop) override
 
virtual CanvasgetCanvas () const 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
 
virtual bool isFullScreen () const
 
virtual bool isOnTop () const
 
- 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 () override
 
bool contextMenu (QMenu &menu)
 
virtual void updateVisible (bool visible) override
 
virtual void updateDimensions (ivec2) override
 
virtual void updatePosition (ivec2) override
 
virtual void updateFullScreen (bool) override
 
virtual void updateOnTop (bool) override
 
virtual void resizeEvent (QResizeEvent *) override
 
virtual void showEvent (QShowEvent *) override
 
virtual void hideEvent (QHideEvent *) override
 
virtual void moveEvent (QMoveEvent *) override
 
- Protected Member Functions inherited from inviwo::CanvasProcessorWidget
- Protected Member Functions inherited from inviwo::ProcessorWidget
- 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_
 

Member Function Documentation

◆ getCanvas()

virtual Canvas * inviwo::CanvasProcessorWidgetQt::getCanvas ( ) const
overridevirtual

◆ propagateResizeEvent()

virtual void inviwo::CanvasProcessorWidgetQt::propagateResizeEvent ( )
overrideprotectedvirtual

Propagated an event with the physical (pixel) dimensions of the canvas Note: QWidget::size() will return logical dimensions

Implements inviwo::CanvasProcessorWidget.

◆ setDimensions()

virtual void inviwo::CanvasProcessorWidgetQt::setDimensions ( ivec2 dimensions)
overridevirtual

Sets the physical (pixel) dimensions of the widget and the contained canvas Note: QWidget::resize() uses logical dimensions. We use the physical dimensions and not the logical ones here since there dimensions traditionally have corresponded to the texture dimensions of the canvas, this way we keep that behavior even also for retina systems.

Reimplemented from inviwo::ProcessorWidget.

◆ setFullScreen()

virtual void inviwo::CanvasProcessorWidgetQt::setFullScreen ( bool fullScreen)
overridevirtual

Reimplemented from inviwo::ProcessorWidget.

◆ setOnTop()

virtual void inviwo::CanvasProcessorWidgetQt::setOnTop ( bool onTop)
overridevirtual

Reimplemented from inviwo::ProcessorWidget.

◆ setPosition()

virtual void inviwo::CanvasProcessorWidgetQt::setPosition ( ivec2 pos)
overridevirtual

Reimplemented from inviwo::ProcessorWidget.

◆ setVisible()

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

Reimplemented from inviwo::ProcessorWidget.

◆ updateDimensions()

virtual void inviwo::CanvasProcessorWidgetQt::updateDimensions ( ivec2 )
overrideprotectedvirtual

◆ updateFullScreen()

virtual void inviwo::CanvasProcessorWidgetQt::updateFullScreen ( bool )
overrideprotectedvirtual

◆ updateOnTop()

virtual void inviwo::CanvasProcessorWidgetQt::updateOnTop ( bool )
overrideprotectedvirtual

◆ updatePosition()

virtual void inviwo::CanvasProcessorWidgetQt::updatePosition ( ivec2 )
overrideprotectedvirtual

◆ updateVisible()

virtual void inviwo::CanvasProcessorWidgetQt::updateVisible ( bool visible)
overrideprotectedvirtual

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