Skip to content

Replaced static InputParameters with TopoFixerSettings; modern opengl viewer WIP

Christian HAFNER requested to merge modern-opengl into master

Removed all references to the InputParameters class, and replaced it with schemes/TopoFixerSettings. The TopoFixerSettingsParser reads an input file and stores all settings in an instance of TopoFixerSettings, which is then passed to the constructor of SDTopoFixer, which stores a (const) copy of the settings. It then passes it on to all other classes that previously referenced InputParameters. Similar changes have been made in the projects TopoFixerRender, mesh_reconstruction, and mesh_reconstruction_no_visual.

There is a new project TopoViewer, which implements a UI with OpenGL 4.6 and imgui. It is work in progress; currently displays a cube with per-face colors (front-sided and back-sided) and edges drawn, and supports camera navigation with the middle mouse button: Orbit (MMB), Drag (Shift+MMB), Zoom (Mouse Wheel), Dolly (Shift+Ctrl+MMB). For Orbit and Drag, the target point is set to scene point below the mouse cursor. If the user presses MMB on empty space, the last target point is used.

Merge request reports

Loading