JeVois  1.21
JeVois Smart Embedded Machine Vision Toolkit
Share this page:
Loading...
Searching...
No Matches
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.
 
virtual ~ImGuiBackend ()
 Virtual destructor for safe inheritance, free resources.
 
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.
 
virtual void init (unsigned short w, unsigned short h, bool fullscreen=false)=0
 Avoid warning about overloaded virtual.
 
virtual void init (unsigned short w, unsigned short h, EGLNativeWindowType win)
 Avoid warning about overloaded virtual.
 
- Public Member Functions inherited from jevois::VideoDisplayBackend
 VideoDisplayBackend ()
 Constructor.
 
virtual ~VideoDisplayBackend ()
 Virtual destructor for safe inheritance, free resources.
 
virtual bool pollEvents (bool &shouldclose)=0
 Poll events such as mouse movements, buttons, keyboard, joystick, and pass to VideoDisplay.
 
virtual void newFrame ()
 Start a new frame and clear the window/framebuffer.
 
virtual void render ()
 Render the VideoDisplay graphics.
 
virtual void getWindowSize (unsigned short &w, unsigned short &h) const
 
EGLDisplay getDisplay () const
 Access our display.
 

Additional Inherited Members

- Protected Member Functions inherited from jevois::VideoDisplayBackend
virtual void uninit ()
 Un-initialize the underlying engine, close windows, etc.
 
- Protected Attributes inherited from jevois::VideoDisplayBackend
std::string const 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() [1/3]

virtual void jevois::VideoDisplayBackend::init ( unsigned short  w,
unsigned short  h,
bool  fullscreen = false 
)
virtual

Avoid warning about overloaded virtual.

Implements jevois::VideoDisplayBackend.

◆ init() [2/3]

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.

◆ init() [3/3]

void jevois::VideoDisplayBackend::init ( unsigned short  w,
unsigned short  h,
EGLNativeWindowType  win 
)
virtual

Avoid warning about overloaded virtual.

Reimplemented from jevois::VideoDisplayBackend.

Definition at line 66 of file VideoDisplayBackend.C.


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