imgui-vtk
imgui-vtk copied to clipboard
test on how to integrate vtk into glfw + imgui project
This PR fixes #15, added keyboard interactions, and also fixed the wrong mouse interaction under HiDPI environments such as on macOS retina screen.
as the title say, check the [code](https://github.com/trlsmax/imgui-vtk/blob/7162293a4aa902ebf79e7e4f223bcec4cf8db32c/VtkViewer.cpp#L51) ```c++ ImGuiIO& io = ImGui::GetIO(); (void)io; io.ConfigWindowsMoveFromTitleBarOnly = true; // don't drag window when clicking on image. ImVec2 viewportPos = ImGui::GetCursorStartPos(); double xpos...
Thanks for this excellent example using vtk with imgui+glfw. Unfortunately, I am a novice at both, and I am having problems adapting it to use a ``vtkImageActor`. In the snippet...
As the title says, I suggest changing the line at `CMakeFiles.txt` to: `cmake_minimum_required(VERSION 3.14.0 FATAL_ERROR)` to avoid the OpenGL find_package warning during configuration.
Hi, this piece of code is precious. I really love it exists. But the setup is not that simple, because it links to other repositories when downloaded with git and...
I found that when I tried to minimise the VTK window and then maximise it the contents of the VTK viewer the complete window goes blank and I get an...
Hi, Thanks for the great work. I would like to know how to integrate VTK with [Nuklear](https://github.com/Immediate-Mode-UI/Nuklear). Nuklear is also an IMGUI.