Skip to content

Commit 7073c68

Browse files
committed
immapp: add with_implot3d
1 parent d5e3e71 commit 7073c68

5 files changed

Lines changed: 52 additions & 20 deletions

File tree

bindings/imgui_bundle/demos_cpp/_auto_main/_auto_main.cpp.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ int main(int, char **)
2222
addons.withMarkdown = true;
2323
addons.withNodeEditor = true;
2424
addons.withImplot = true;
25+
addons.withImplot3d = true;
2526
addons.withTexInspect = true;
2627

2728
ImmApp::Run(runnerParams, addons);

bindings/imgui_bundle/immapp/immapp_cpp.pyi

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,10 @@ class AddOnsParams:
106106
/////////////////////////////////////////////////////////////////////////////////////
107107
"""
108108

109-
# Set withImplot=True if you need to plot graphs
109+
# Set withImplot=True if you need to plot graphs with implot
110110
with_implot: bool = False
111+
# Set withImplot3=True if you need to plot 3 graphs with implot3
112+
with_implot3d: bool = False
111113

112114
# Set withMarkdown=True if you need to render Markdown
113115
# (alternatively, you can set withMarkdownOptions)
@@ -139,6 +141,7 @@ class AddOnsParams:
139141
def __init__(
140142
self,
141143
with_implot: bool = False,
144+
with_implot3d: bool = False,
142145
with_markdown: bool = False,
143146
with_node_editor: bool = False,
144147
with_tex_inspect: bool = False,
@@ -186,6 +189,7 @@ def run(
186189
window_size: Optional[ScreenSize] = None,
187190
fps_idle: float = 10.0,
188191
with_implot: bool = False,
192+
with_implot3d: bool = False,
189193
with_markdown: bool = False,
190194
with_node_editor: bool = False,
191195
with_tex_inspect: bool = False,
@@ -227,6 +231,7 @@ def run_with_markdown(
227231
window_size: Optional[ScreenSize] = None,
228232
fps_idle: float = 10.0,
229233
with_implot: bool = False,
234+
with_implot3d: bool = False,
230235
with_node_editor: bool = False,
231236
with_tex_inspect: bool = False,
232237
with_node_editor_config: Optional[NodeEditorConfig] = None,
@@ -356,6 +361,7 @@ class manual_render: # Proxy class that introduces typings for the *submodule*
356361
window_size: Optional[ScreenSize] = None,
357362
fps_idle: float = 10.0,
358363
with_implot: bool = False,
364+
with_implot3d: bool = False,
359365
with_markdown: bool = False,
360366
with_node_editor: bool = False,
361367
with_tex_inspect: bool = False,

0 commit comments

Comments
 (0)