JeVois
1.20
JeVois Smart Embedded Machine Vision Toolkit
|
|
#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.
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... | |
![]() | |
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 | |
![]() | |
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... | |
![]() | |
const std::string | itsName |
EGLDisplay | itsDisplay = EGL_NO_DISPLAY |
EGLConfig | itsConfig = 0 |
EGLContext | itsContext = EGL_NO_CONTEXT |
EGLSurface | itsSurface = 0 |
jevois::ImGuiBackend::ImGuiBackend | ( | ) |
Constructor.
Definition at line 23 of file ImGuiBackend.C.
|
virtual |
Virtual destructor for safe inheritance, free resources.
Definition at line 27 of file ImGuiBackend.C.
|
pure virtual |
Initialize the underlying engine that will process events, create windows, etc.
The init starts with the given initial window/framebuffer size.