cvedia::rt::iface::Renderer¶
Public Functions¶
| Name | |
|---|---|
| Renderer() =default | |
| virtual | ~Renderer() =default |
| virtual void | setCurrentContext(ImGuiContext * ctx) =0 |
| virtual ImGuiContext * | getCurrentContext() =0 |
| virtual void | setAllocatorFunctions(ImGuiMemAllocFunc allocFunc, ImGuiMemFreeFunc freeFunc, void * userData =nullptr) =0 |
| virtual void * | matToTexture(cv::Mat img) =0 |
| virtual void * | matToTexture(std::string const & name, cv::Mat img, bool update) =0 |
| virtual void | createWindow(std::string const & windowTitle, int windowWidth, int windowHeight) =0 |
| virtual bool | messageLoop() =0 |
| virtual bool | startFrame() =0 |
| virtual void | endFrame() =0 |
| virtual void | cleanup() =0 |
Public Functions Documentation¶
function Renderer¶
Renderer() =default
function ~Renderer¶
virtual ~Renderer() =default
function setCurrentContext¶
virtual void setCurrentContext(
ImGuiContext * ctx
) =0
function getCurrentContext¶
virtual ImGuiContext * getCurrentContext() =0
function setAllocatorFunctions¶
virtual void setAllocatorFunctions(
ImGuiMemAllocFunc allocFunc,
ImGuiMemFreeFunc freeFunc,
void * userData =nullptr
) =0
function matToTexture¶
virtual void * matToTexture(
cv::Mat img
) =0
function matToTexture¶
virtual void * matToTexture(
std::string const & name,
cv::Mat img,
bool update
) =0
function createWindow¶
virtual void createWindow(
std::string const & windowTitle,
int windowWidth,
int windowHeight
) =0
function messageLoop¶
virtual bool messageLoop() =0
function startFrame¶
virtual bool startFrame() =0
function endFrame¶
virtual void endFrame() =0
function cleanup¶
virtual void cleanup() =0