JeVois  1.20
JeVois Smart Embedded Machine Vision Toolkit
Share this page:
jevois::ImGuiBackend Class Referenceabstract

#include <jevois/GPU/ImGuiBackend.H>

Backend for ImGui on JeVois-Pro.

This abstract base class provides an interface used by VideoDisplayGUI. Derived implementations are available for SDL2 (to be used on JeVois-Pro host) and Mali framebuffer + evdev (to be used on JeVois-Pro platform).

Definition at line 33 of file ImGuiBackend.H.

Inheritance diagram for jevois::ImGuiBackend:
Collaboration diagram for jevois::ImGuiBackend:

Public Member Functions

 ImGuiBackend ()
 Constructor. More...
 
virtual ~ImGuiBackend ()
 Virtual destructor for safe inheritance, free resources. More...
 
virtual void init (unsigned short w, unsigned short h, bool fullscreen=false, float scale=1.0f, bool conslock=false)=0
 Initialize the underlying engine that will process events, create windows, etc. More...
 
- Public Member Functions inherited from jevois::VideoDisplayBackend
 VideoDisplayBackend ()
 Constructor. More...
 
virtual ~VideoDisplayBackend ()
 Virtual destructor for safe inheritance, free resources. More...
 
virtual void init (unsigned short w, unsigned short h, bool fullscreen=false)=0
 Initialize the underlying engine that will process events, create windows, etc. More...
 
virtual bool pollEvents (bool &shouldclose)=0
 Poll events such as mouse movements, buttons, keyboard, joystick, and pass to VideoDisplay. More...
 
virtual void newFrame ()
 Start a new frame and clear the window/framebuffer. More...
 
virtual void render ()
 Render the VideoDisplay graphics. More...
 
virtual void getWindowSize (unsigned short &w, unsigned short &h) const
 
EGLDisplay getDisplay () const
 Access our display. More...
 

Additional Inherited Members

- Protected Member Functions inherited from jevois::VideoDisplayBackend
virtual void init (unsigned short w, unsigned short h, EGLNativeWindowType win)
 Initialize the underlying engine that will process events, create windows, etc. More...
 
virtual void uninit ()
 Un-initialize the underlying engine, close windows, etc. More...
 
- Protected Attributes inherited from jevois::VideoDisplayBackend
const std::string itsName
 
EGLDisplay itsDisplay = EGL_NO_DISPLAY
 
EGLConfig itsConfig = 0
 
EGLContext itsContext = EGL_NO_CONTEXT
 
EGLSurface itsSurface = 0
 

Constructor & Destructor Documentation

◆ ImGuiBackend()

jevois::ImGuiBackend::ImGuiBackend ( )

Constructor.

Definition at line 23 of file ImGuiBackend.C.

◆ ~ImGuiBackend()

jevois::ImGuiBackend::~ImGuiBackend ( )
virtual

Virtual destructor for safe inheritance, free resources.

Definition at line 27 of file ImGuiBackend.C.

Member Function Documentation

◆ init()

virtual void jevois::ImGuiBackend::init ( unsigned short  w,
unsigned short  h,
bool  fullscreen = false,
float  scale = 1.0f,
bool  conslock = false 
)
pure virtual

Initialize the underlying engine that will process events, create windows, etc.

The init starts with the given initial window/framebuffer size.


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