ImFusion C++ SDK 4.4.0
ImFusion::GUI::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 ImFusion::GUI::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 * > ImFusion::GUI::DisplayBase::views ( ) const
pure virtual

Returns all views hosted by this display.

Implemented in ImFusion::GUI::Display.

◆ layout()

virtual DisplayLayout & ImFusion::GUI::DisplayBase::layout ( )
pure virtual

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

Implemented in ImFusion::GUI::Display.

◆ viewport()

virtual GL::Viewport ImFusion::GUI::DisplayBase::viewport ( ) const
pure virtual

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

Implemented in ImFusion::GUI::Display.

◆ requestUpdate()

virtual void ImFusion::GUI::DisplayBase::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 ImFusion::GUI::Display.


The documentation for this class was generated from the following file:
  • ImFusion/GUI/Display.h
Search Tab / S to search, Esc to close