ImFusion SDK 4.3
DisplayBase Class Referenceabstract

#include <ImFusion/GUI/Display.h>

Common base class interface of GUI::Display and DisplayWidget enabling other parts of the framework to access the most basic functionality in a general fashion. More...

+ Inheritance diagram for DisplayBase:

Detailed Description

Common base class interface of GUI::Display and DisplayWidget enabling other parts of the framework to access the most basic functionality in a general fashion.

Public Member Functions

virtual std::vector< View * > views () const =0
 Returns all views hosted by this display.
 
virtual DisplayLayoutlayout ()=0
 Returns the DisplayLayout determining how views are distributed within the viewport.
 
virtual GL::Viewport viewport () const =0
 Returns the viewport of this display surface in OpenGL coordinates (origin in lower-left corner).
 
virtual void requestUpdate ()=0
 Request an update of the rendered display content.
 

Member Function Documentation

◆ views()

virtual std::vector< View * > views ( ) const
pure virtual

Returns all views hosted by this display.

Implemented in Display.

◆ layout()

virtual DisplayLayout & layout ( )
pure virtual

Returns the DisplayLayout determining how views are distributed within the viewport.

Implemented in Display.

◆ viewport()

virtual GL::Viewport viewport ( ) const
pure virtual

Returns the viewport of this display surface in OpenGL coordinates (origin in lower-left corner).

Implemented in Display.

◆ requestUpdate()

virtual void requestUpdate ( )
pure virtual

Request an update of the rendered display content.

Subclasses are not required to perform the update immediately but may postpone it to a later point in time (e.g. by using the application's event loop) in order to collect and combine multiple update requests into one.

Implemented in Display.


The documentation for this class was generated from the following file:
Search Tab / S to search, Esc to close