libigl v2.5.0
Loading...
Searching...
No Matches
igl::opengl::glfw::imgui::ImGuiMenu Class Reference

Widget for a menu bar and a viewer window. More...

#include <ImGuiMenu.h>

Inheritance diagram for igl::opengl::glfw::imgui::ImGuiMenu:
igl::opengl::glfw::imgui::ImGuiWidget

Public Member Functions

virtual void init (Viewer *_viewer, ImGuiPlugin *_plugin) override
 
virtual void shutdown () override
 
virtual void draw () override
 
virtual void draw_viewer_window ()
 
virtual void draw_viewer_menu ()
 
virtual void draw_custom_window ()
 
float menu_scaling ()
 
- Public Member Functions inherited from igl::opengl::glfw::imgui::ImGuiWidget
 ImGuiWidget ()
 
virtual ~ImGuiWidget ()
 
virtual bool mouse_down (int, int)
 
virtual bool mouse_up (int, int)
 
virtual bool mouse_move (int, int)
 
virtual bool key_pressed (unsigned int, int)
 
virtual bool key_down (int, int)
 
virtual bool key_up (int, int)
 

Public Attributes

std::function< void(void)> callback_draw_viewer_window
 
std::function< void(void)> callback_draw_viewer_menu
 
std::function< void(void)> callback_draw_custom_window
 
- Public Attributes inherited from igl::opengl::glfw::imgui::ImGuiWidget
std::string name
 

Additional Inherited Members

- Protected Attributes inherited from igl::opengl::glfw::imgui::ImGuiWidget
Viewerviewer
 
ImGuiPluginplugin
 

Detailed Description

Widget for a menu bar and a viewer window.

Member Function Documentation

◆ init()

virtual void igl::opengl::glfw::imgui::ImGuiMenu::init ( Viewer _viewer,
ImGuiPlugin _plugin 
)
overridevirtual

◆ shutdown()

virtual void igl::opengl::glfw::imgui::ImGuiMenu::shutdown ( )
overridevirtual

◆ draw()

virtual void igl::opengl::glfw::imgui::ImGuiMenu::draw ( )
overridevirtual

◆ draw_viewer_window()

virtual void igl::opengl::glfw::imgui::ImGuiMenu::draw_viewer_window ( )
virtual

◆ draw_viewer_menu()

virtual void igl::opengl::glfw::imgui::ImGuiMenu::draw_viewer_menu ( )
virtual

◆ draw_custom_window()

virtual void igl::opengl::glfw::imgui::ImGuiMenu::draw_custom_window ( )
inlinevirtual

◆ menu_scaling()

float igl::opengl::glfw::imgui::ImGuiMenu::menu_scaling ( )
inline

Member Data Documentation

◆ callback_draw_viewer_window

std::function<void(void)> igl::opengl::glfw::imgui::ImGuiMenu::callback_draw_viewer_window

◆ callback_draw_viewer_menu

std::function<void(void)> igl::opengl::glfw::imgui::ImGuiMenu::callback_draw_viewer_menu

◆ callback_draw_custom_window

std::function<void(void)> igl::opengl::glfw::imgui::ImGuiMenu::callback_draw_custom_window

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