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 |
Visualizer rendering and display functions.
Copyright (C) 2016-2025 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 1839 of file VisualizerRendering.cpp.
int checkerrors | ( | ) |
Definition at line 1824 of file VisualizerRendering.cpp.
void cursorCallback | ( | GLFWwindow * | window, |
double | xpos, | ||
double | ypos | ||
) |
Callback function for mouse cursor movements.
Definition at line 1489 of file VisualizerRendering.cpp.
std::string errorString | ( | GLenum | err | ) |
Definition at line 1801 of file VisualizerRendering.cpp.
void mouseCallback | ( | GLFWwindow * | window, |
int | button, | ||
int | action, | ||
int | mods | ||
) |
Callback function for mouse button presses.
Definition at line 1463 of file VisualizerRendering.cpp.
void scrollCallback | ( | GLFWwindow * | window, |
double | xoffset, | ||
double | yoffset | ||
) |
Callback function for mouse scroll.
Definition at line 1504 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 1455 of file VisualizerRendering.cpp.
bool mbutton_down = false |
Definition at line 1457 of file VisualizerRendering.cpp.
bool rbutton_down = false |
Definition at line 1456 of file VisualizerRendering.cpp.
bool scroll = false |
Definition at line 1460 of file VisualizerRendering.cpp.
double scrollX |
Definition at line 1459 of file VisualizerRendering.cpp.
double scrollY |
Definition at line 1459 of file VisualizerRendering.cpp.
double startX |
Definition at line 1458 of file VisualizerRendering.cpp.
double startY |
Definition at line 1458 of file VisualizerRendering.cpp.