JeVois
1.22
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. | |
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 |
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.
|
virtual |
Avoid warning about overloaded virtual.
Implements jevois::VideoDisplayBackend.
|
pure virtual |
Initialize the underlying engine that will process events, create windows, etc.
The init starts with the given initial window/framebuffer size.
|
virtual |
Avoid warning about overloaded virtual.
Reimplemented from jevois::VideoDisplayBackend.
Definition at line 66 of file VideoDisplayBackend.C.