Go to the source code of this file.
Functions | |
| void | mouseCallback (GLFWwindow *window, int button, int action, int mods) |
| Callback function for mouse button presses. | |
| void | cursorCallback (GLFWwindow *window, double xpos, double ypos) |
| Callback function for mouse cursor movements. | |
| void | scrollCallback (GLFWwindow *window, double xoffset, double yoffset) |
| Callback function for mouse scroll. | |
| std::string | errorString (GLenum err) |
| int | checkerrors () |
| void | check_opengl_errors_safe (const std::string &context) |
| Safe error checking that throws exceptions instead of using assert. | |
Variables | |
| float | dphi = 0.0 |
| float | dtheta = 0.0 |
| float | dx = 0.0 |
| float | dy = 0.0 |
| float | dz = 0.0 |
| float | dx_m = 0.0 |
| float | dy_m = 0.0 |
| float | dscroll = 0.0 |
| bool | lbutton_down = false |
| bool | rbutton_down = false |
| bool | mbutton_down = false |
| double | startX |
| double | startY |
| double | scrollX |
| double | scrollY |
| bool | scroll = false |
| double | click_startX = 0.0 |
| double | click_startY = 0.0 |
| bool | potential_click = false |
| const double | click_threshold = 5.0 |
Visualizer rendering and display functions.
Copyright (C) 2016-2026 Brian Bailey
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Definition in file VisualizerRendering.cpp.
| void check_opengl_errors_safe | ( | const std::string & | context | ) |
Safe error checking that throws exceptions instead of using assert.
Definition at line 2388 of file VisualizerRendering.cpp.
| int checkerrors | ( | ) |
Definition at line 2373 of file VisualizerRendering.cpp.
| void cursorCallback | ( | GLFWwindow * | window, |
| double | xpos, | ||
| double | ypos | ||
| ) |
Callback function for mouse cursor movements.
Definition at line 2022 of file VisualizerRendering.cpp.
| std::string errorString | ( | GLenum | err | ) |
Definition at line 2350 of file VisualizerRendering.cpp.
| void mouseCallback | ( | GLFWwindow * | window, |
| int | button, | ||
| int | action, | ||
| int | mods | ||
| ) |
Callback function for mouse button presses.
Definition at line 1976 of file VisualizerRendering.cpp.
| void scrollCallback | ( | GLFWwindow * | window, |
| double | xoffset, | ||
| double | yoffset | ||
| ) |
Callback function for mouse scroll.
Definition at line 2053 of file VisualizerRendering.cpp.
| double click_startX = 0.0 |
Definition at line 1971 of file VisualizerRendering.cpp.
| double click_startY = 0.0 |
Definition at line 1971 of file VisualizerRendering.cpp.
| const double click_threshold = 5.0 |
Definition at line 1973 of file VisualizerRendering.cpp.
| float dphi = 0.0 |
Definition at line 26 of file VisualizerRendering.cpp.
| float dscroll = 0.0 |
Definition at line 33 of file VisualizerRendering.cpp.
| float dtheta = 0.0 |
Definition at line 27 of file VisualizerRendering.cpp.
| float dx = 0.0 |
Definition at line 28 of file VisualizerRendering.cpp.
| float dx_m = 0.0 |
Definition at line 31 of file VisualizerRendering.cpp.
| float dy = 0.0 |
Definition at line 29 of file VisualizerRendering.cpp.
| float dy_m = 0.0 |
Definition at line 32 of file VisualizerRendering.cpp.
| float dz = 0.0 |
Definition at line 30 of file VisualizerRendering.cpp.
| bool lbutton_down = false |
Definition at line 1963 of file VisualizerRendering.cpp.
| bool mbutton_down = false |
Definition at line 1965 of file VisualizerRendering.cpp.
| bool potential_click = false |
Definition at line 1972 of file VisualizerRendering.cpp.
| bool rbutton_down = false |
Definition at line 1964 of file VisualizerRendering.cpp.
| bool scroll = false |
Definition at line 1968 of file VisualizerRendering.cpp.
| double scrollX |
Definition at line 1967 of file VisualizerRendering.cpp.
| double scrollY |
Definition at line 1967 of file VisualizerRendering.cpp.
| double startX |
Definition at line 1966 of file VisualizerRendering.cpp.
| double startY |
Definition at line 1966 of file VisualizerRendering.cpp.